aboutsummaryrefslogtreecommitdiff
path: root/devel/apache-ant/Makefile
diff options
context:
space:
mode:
authorErnst de Haan <znerd@FreeBSD.org>2002-05-21 16:43:54 +0000
committerErnst de Haan <znerd@FreeBSD.org>2002-05-21 16:43:54 +0000
commit29a33fa120830753f9f50fd5d8d595aae6516a1d (patch)
treee580cb6d6579e34cce742940baf9091e9b6f88c0 /devel/apache-ant/Makefile
parentae0026bb9c75f1718c65145c30e4d39a5be3a2cd (diff)
downloadports-29a33fa120830753f9f50fd5d8d595aae6516a1d.tar.gz
ports-29a33fa120830753f9f50fd5d8d595aae6516a1d.zip
Notes
Diffstat (limited to 'devel/apache-ant/Makefile')
-rw-r--r--devel/apache-ant/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/devel/apache-ant/Makefile b/devel/apache-ant/Makefile
index d52dc54d030c..ee1b892d97d1 100644
--- a/devel/apache-ant/Makefile
+++ b/devel/apache-ant/Makefile
@@ -6,15 +6,12 @@
#
PORTNAME= jakarta-ant
-PORTVERSION= 1.4.1
-PORTREVISION= 2
+PORTVERSION= 1.5.0.b1
CATEGORIES= devel java
-MASTER_SITES= http://jakarta.apache.org/builds/${PORTNAME}/release/v${PORTVERSION}/bin/ \
+MASTER_SITES= http://jakarta.apache.org/builds/${PORTNAME}/release/v${ANT_VERSION}/bin/ \
http://www.metaverse.nl/~ernst/
-DISTFILES= ${DISTNAME}-bin${EXTRACT_SUFX} \
- ${DISTNAME}-optional.jar
+DISTNAME= ${PORTNAME}-${ANT_VERSION}-bin
DIST_SUBDIR= jakarta
-EXTRACT_ONLY= ${DISTNAME}-bin${EXTRACT_SUFX}
MAINTAINER= znerd@FreeBSD.org
@@ -23,16 +20,18 @@ RUN_DEPENDS= ${LOCALBASE}/share/java/classes/crimson.jar:${PORTSDIR}/textproc/cr
USE_JAVA= 1.2+
NO_BUILD= YES
-PORTDESTDIR= ${PREFIX}/share/java/${DISTNAME}
+PORTDESTDIR= ${PREFIX}/${DISTNAME}
PLIST_SUB+= T=${PORTDESTDIR:S/^${PREFIX}\///}
READMES= LICENSE README WHATSNEW
SCRIPTS= bin/ant bin/antRun bin/runant.pl
+ANT_VERSION= 1.5Beta1
DATADIRS= lib
.if !defined(NOPORTDOCS)
DATADIRS+= docs
.endif
+WRKSRC= ${WRKDIR}/${PORTNAME}-${ANT_VERSION}
post-patch:
@${ECHO_CMD} -n ">> Customizing ant shell script..."
@@ -74,7 +73,6 @@ do-install:
.endif
@${ECHO_CMD} -n ">> Installing additional JAR files..."
- @${INSTALL_DATA} ${_DISTDIR}/${DISTNAME}-optional.jar ${PORTDESTDIR}/lib/optional.jar
@${LN} -sf ../../classes/jaxp.jar ${PORTDESTDIR}/lib
@${LN} -sf ../../classes/crimson.jar ${PORTDESTDIR}/lib
@${ECHO_CMD} " [ DONE ]"