summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortonio <tonio>2005-09-08 17:48:26 +0000
committertonio <tonio>2005-09-08 17:48:26 +0000
commit691c3da499c9d968eb1e38180e9d7ecdbf3e7299 (patch)
tree3f66389c4b442b249ef5dc34b9b50afb12447d78 /devel
parent9d326aed8e827d562c174df70411b031c07f3215 (diff)
downloadpkgsrc-691c3da499c9d968eb1e38180e9d7ecdbf3e7299.tar.gz
Removing useless file, the ant package now patches the original script
Diffstat (limited to 'devel')
-rw-r--r--devel/apache-ant/files/ant62
1 files changed, 0 insertions, 62 deletions
diff --git a/devel/apache-ant/files/ant b/devel/apache-ant/files/ant
deleted file mode 100644
index 905508e7297..00000000000
--- a/devel/apache-ant/files/ant
+++ /dev/null
@@ -1,62 +0,0 @@
-#! /bin/sh
-
-if [ -f $HOME/.antrc ] ; then
- . $HOME/.antrc
-fi
-
-if [ "$ANT_HOME" = "" ] ; then
- # try to find ANT
- ANT_HOME=@PREFIX@
-fi
-
-if [ "$JAVA_HOME" != "" ] ; then
- if [ "$JAVACMD" = "" ] ; then
- JAVACMD=$JAVA_HOME/bin/java
- fi
-else
- JAVA_HOME=@JAVA_HOME@
- if [ "$JAVACMD" = "" ] ; then
- JAVACMD=$JAVA_HOME/bin/java
- fi
-fi
-
-# add in the dependency .jar files
-DIRLIBS="${ANT_HOME}/lib/java/ant/ant.jar ${ANT_HOME}/lib/java/ant/ant-nodeps.jar ${ANT_HOME}/lib/java/crimson.jar"
-for i in ${DIRLIBS}
-do
- # if the directory is empty, then it will return the input string
- # this is stupid, so case for it
- if [ "$i" != "${DIRLIBS}" ] ; then
- LOCALCLASSPATH=$LOCALCLASSPATH:"$i"
- fi
-done
-
-if [ "$CLASSPATH" != "" ] ; then
- LOCALCLASSPATH=$LOCALCLASSPATH:$CLASSPATH
-fi
-
-if [ "$JAVA_HOME" != "" ] ; then
- if test -f $JAVA_HOME/lib/tools.jar ; then
- LOCALCLASSPATH=$LOCALCLASSPATH:$JAVA_HOME/lib/tools.jar
- fi
-
- if test -f $JAVA_HOME/lib/classes.zip ; then
- LOCALCLASSPATH=$LOCALCLASSPATH:$JAVA_HOME/lib/classes.zip
- fi
-else
- echo "Warning: JAVA_HOME environment variable is not set."
- echo " If build fails because sun.* classes could not be found"
- echo " you will need to set the JAVA_HOME environment variable"
- echo " to the installation directory of java."
-fi
-
-# supply JIKESPATH to Ant as jikes.class.path
-if [ "$JIKESPATH" != "" ] ; then
- if [ "$ANT_OPTS" != "" ] ; then
- ANT_OPTS="$ANT_OPTS -Djikes.class.path=$JIKESPATH"
- else
- ANT_OPTS=-Djikes.class.path=$JIKESPATH
- fi
-fi
-
-exec $JAVACMD -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" $ANT_OPTS org.apache.tools.ant.Main "$@"