Update of /cvsroot/fink/dists/10.2-gcc3.3/unstable/main/finkinfo/devel
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3460/10.2-gcc3.3/unstable/main/finkinfo/devel

Added Files:
        ant.info 
Removed Files:
        ant-1.5.3-1.info 
Log Message:
whups, missed ant

--- ant-1.5.3-1.info DELETED ---

--- NEW FILE: ant.info ---
Package: ant
Version: 1.6.1
Revision: 1
Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
#
BuildDepends: junit, system-java13-dev
Depends: fink (>= 0.10.0), system-java13 | system-java14 | system-java15
Suggests: junit
Source: mirror:custom:ant/source/apache-ant-%v-src.tar.bz2
CustomMirror: <<
 nam-US: http://apache.i-connexion.net/dist/
 nam-US: http://mir2.ovh.net/ftp.apache.org/dist/
 nam-US: ftp://mir1.ovh.net/ftp.apache.org/dist/
 nam-US: http://nagoya.apache.org/mirror/
 nam-US: http://www.apache.org/dist/
 eur-FR: http://apache.crihan.fr/dist/
<<
Source-MD5: 3e1f06aae6b691543299ccb1a5cb038f
SourceDirectory: apache-%n-%v
CompileScript: <<
#!/bin/sh

  JAVAVER=`find /System/Library/Frameworks/JavaVM.framework/Versions -name include 
2>/dev/null | perl -p -e 's,.*Versions/(.*?)/.*,$1,g' | grep -E '^1.3' | tail -1`
  export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/$JAVAVER/Home
  ./build.sh -Ddist.name=%n -Dchmod.fail=false dist
<<
InstallScript: <<
 #!/bin/sh
 mkdir -p %i/lib
 cp -R ant %i/lib
 # make up for failing build.xml
 chmod -R ugo+r %i/lib/%n
 # binaries
 rm %i/lib/%n/bin/*.bat
 mkdir -p %i/bin
 cd %i/bin ; ln -s ../lib/%n/bin/* .
 # docs
 mkdir -p %i/share/doc/%n
 cd %i/share/doc/%n ; ln -s ../../../lib/%n/docs html
<<
DocFiles: KEYS LICENSE README WHATSNEW lib/README:README.lib
RuntimeVars: <<
 JAVA_HOME: /Library/Java/Home
 ANT_HOME: %p/lib/ant
<<
#
Description: Java based build tool
DescDetail: <<
Ant is different. Instead of a model where it is extended with shell
based commands, it is extended using Java classes. Instead of writing
shell commands, the configuration files are XML based calling out a
target tree where various tasks get executed. Each task is run by an
object which implements a particular Task interface.

Granted, this removes some of the expressive power that is inherent by
being able to construct a shell command such as `find . -name foo
-exec rm {}` but it gives you the ability to be cross platform. To
work anywhere and everywhere. And hey, if you really need to execute a
shell command, Ant has an exec rule that allows different commands to
be executed based on the OS that it is executing on.
<<
DescPackaging: <<
 I copy all the files to lib because there need to be a ANT_HOME env var.
 Linked the binaries in ... bin :-)
 Linked the docs to share/doc/%n
<<
DescPort: <<
 the chmod task of ant would fail with 
    Java: UNIXProcess:forkAndExec: exec failed: Argument list too long
  because apprently it tries to chmod thousands of files in a single
line of command,
  another solution is to set parallel to false, which cause chmod to
process one file after
  the other but then we get a java.io.IOException: Too many open
files. Conclusion
  use unix chmod in InstallScript ;-)
 Removed *.bat in bin
<<
License: BSD
Homepage: http://ant.apache.org/



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to