former jakarta-ant is now apache-ant
from new maintainer Kurt Miller <truk at apache dot org> no response from reinhard@ in a long time
This commit is contained in:
parent
23d6af4761
commit
4c8408aa67
47
devel/apache-ant/Makefile
Normal file
47
devel/apache-ant/Makefile
Normal file
@ -0,0 +1,47 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2004/01/03 13:40:03 sturm Exp $
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
|
||||
COMMENT= "java equivalent to make"
|
||||
|
||||
DISTNAME= apache-ant-1.6.0
|
||||
CATEGORIES= devel
|
||||
|
||||
HOMEPAGE= http://ant.apache.org/
|
||||
|
||||
MAINTAINER= Kurt Miller <truk@apache.org>
|
||||
|
||||
# Apache Software License
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_APACHE:=ant/binaries/} \
|
||||
http://archive.apache.org/dist/ant/binaries/
|
||||
|
||||
EXTRACT_SUFX= -bin.tar.gz
|
||||
|
||||
BUILD_DEPENDS= ::archivers/gtar
|
||||
RUN_DEPENDS= :jdk*->=1.2:devel/jdk/1.3-linux
|
||||
|
||||
NO_BUILD= Yes
|
||||
NO_REGRESS= Yes
|
||||
|
||||
TAR= ${LOCALBASE}/bin/gtar
|
||||
|
||||
ANTDOCS= ${PREFIX}/share/doc/java/ant
|
||||
TXT= README WHATSNEW LICENSE
|
||||
|
||||
do-install:
|
||||
@cd ${WRKDIST}/bin; \
|
||||
perl -pi -e 's|_anthome_|${TRUEPREFIX}/bin|;' \
|
||||
-e 's|_antlibs_|${TRUEPREFIX}/lib/java/ant|;' ant runant.pl; \
|
||||
${INSTALL_SCRIPT} ant antRun runant.pl ${PREFIX}/bin
|
||||
@${INSTALL_DATA_DIR} ${ANTDOCS}
|
||||
@cp -Rp ${WRKDIST}/docs/* ${ANTDOCS}
|
||||
@cd ${WRKDIST} && ${INSTALL_DATA} ${TXT} ${ANTDOCS}
|
||||
@${INSTALL_DATA_DIR} ${PREFIX}/lib/java/ant
|
||||
@cd ${WRKDIST}/lib && ${INSTALL_DATA} *.jar ${PREFIX}/lib/java/ant
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/apache-ant/distinfo
Normal file
3
devel/apache-ant/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (apache-ant-1.6.0-bin.tar.gz) = a7a142e5e9d38ebc299e60f6df3a0986
|
||||
RMD160 (apache-ant-1.6.0-bin.tar.gz) = c5426dc981c6387454e0641cdbee86b7888cd10c
|
||||
SHA1 (apache-ant-1.6.0-bin.tar.gz) = e51f65b8b4e564043b4ec3b3af33c5b490219a80
|
28
devel/apache-ant/patches/patch-bin_ant
Normal file
28
devel/apache-ant/patches/patch-bin_ant
Normal file
@ -0,0 +1,28 @@
|
||||
$OpenBSD: patch-bin_ant,v 1.1.1.1 2004/01/03 13:40:03 sturm Exp $
|
||||
--- bin/ant.orig 2003-12-18 15:12:18.000000000 -0500
|
||||
+++ bin/ant 2003-12-23 04:25:08.000000000 -0500
|
||||
@@ -35,14 +35,7 @@ case "`uname`" in
|
||||
esac
|
||||
|
||||
if [ -z "$ANT_HOME" -o ! -d "$ANT_HOME" ] ; then
|
||||
- # try to find ANT
|
||||
- if [ -d /opt/ant ] ; then
|
||||
- ANT_HOME=/opt/ant
|
||||
- fi
|
||||
-
|
||||
- if [ -d "${HOME}/opt/ant" ] ; then
|
||||
- ANT_HOME="${HOME}/opt/ant"
|
||||
- fi
|
||||
+ ANT_HOME=_anthome_
|
||||
|
||||
## resolve links - $0 may be a link to ant's home
|
||||
PRG="$0"
|
||||
@@ -74,7 +67,7 @@ if $cygwin ; then
|
||||
fi
|
||||
|
||||
# set ANT_LIB location
|
||||
-ANT_LIB="${ANT_HOME}/lib"
|
||||
+ANT_LIB="_antlibs_"
|
||||
|
||||
if [ -z "$JAVACMD" ] ; then
|
||||
if [ -n "$JAVA_HOME" ] ; then
|
12
devel/apache-ant/patches/patch-bin_runant_pl
Normal file
12
devel/apache-ant/patches/patch-bin_runant_pl
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-bin_runant_pl,v 1.1.1.1 2004/01/03 13:40:03 sturm Exp $
|
||||
--- bin/runant.pl.orig 2003-12-18 15:12:18.000000000 -0500
|
||||
+++ bin/runant.pl 2003-12-23 04:25:08.000000000 -0500
|
||||
@@ -73,7 +73,7 @@ if(($^O eq "MSWin32") || ($^O eq "dos")
|
||||
}
|
||||
|
||||
#build up standard classpath
|
||||
-my $localpath = "$HOME/lib/ant-launcher.jar";
|
||||
+my $localpath = "_antlibs_/ant-launcher.jar";
|
||||
#set JVM options and Ant arguments, if any
|
||||
my @ANT_OPTS=split(" ", $ENV{ANT_OPTS});
|
||||
my @ANT_ARGS=split(" ", $ENV{ANT_ARGS});
|
2
devel/apache-ant/pkg/DESCR
Normal file
2
devel/apache-ant/pkg/DESCR
Normal file
@ -0,0 +1,2 @@
|
||||
Ant is a Java based build tool. In theory it is kind of like make
|
||||
without make's wrinkles.
|
1413
devel/apache-ant/pkg/PLIST
Normal file
1413
devel/apache-ant/pkg/PLIST
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user