Update of /cvsroot/fink/dists/10.2/stable/main/finkinfo/devel
In directory sc8-pr-cvs1:/tmp/cvs-serv4620/devel
Added Files:
ant-1.5.1-1.info
Log Message:
moving to stable thanks to positive feedback
--- NEW FILE: ant-1.5.1-1.info ---
Package: ant
Version: 1.5.1
Revision: 1
Maintainer: Sylvain Cuaz <[EMAIL PROTECTED]>
#
Depends: fink (>= 0.10.0)
Source:
http://jakarta.apache.org/builds/jakarta-ant/release/v%v/src/jakarta-%n-%v-src.tar.bz2
Source-MD5: bb0f17da406f6a0e6e08a6cf1d2f509f
SourceDirectory: jakarta-%n-%v
CompileScript: env JAVA_HOME=/Library/Java/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://jakarta.apache.org/ant/index.html
-------------------------------------------------------
This SF.NET email is sponsored by: The Best Geek Holiday Gifts!
Time is running out! Thinkgeek.com has the coolest gifts for
your favorite geek. Let your fingers do the typing. Visit Now.
T H I N K G E E K . C O M http://www.thinkgeek.com/sf/
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits