summaryrefslogtreecommitdiff
path: root/devel/jakarta-ant
diff options
context:
space:
mode:
authorErnst de Haan <znerd@FreeBSD.org>2002-05-07 12:10:18 +0000
committerErnst de Haan <znerd@FreeBSD.org>2002-05-07 12:10:18 +0000
commitb4ae4d5f76d4fbb6014362f345e5d781747ff39f (patch)
tree695fe065231e06850079f583c16a39fbe8a79104 /devel/jakarta-ant
parentUpdate to 3.1.2. (diff)
Installing relative symlinks instead of absolute ones.
Bumped PORTREVISION. Submitted by: Christopher Elkins <chrise@scardini.com> PR: 32546
Diffstat (limited to 'devel/jakarta-ant')
-rw-r--r--devel/jakarta-ant/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/devel/jakarta-ant/Makefile b/devel/jakarta-ant/Makefile
index 1982506fa236..d52dc54d030c 100644
--- a/devel/jakarta-ant/Makefile
+++ b/devel/jakarta-ant/Makefile
@@ -7,7 +7,7 @@
PORTNAME= jakarta-ant
PORTVERSION= 1.4.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel java
MASTER_SITES= http://jakarta.apache.org/builds/${PORTNAME}/release/v${PORTVERSION}/bin/ \
http://www.metaverse.nl/~ernst/
@@ -23,8 +23,7 @@ RUN_DEPENDS= ${LOCALBASE}/share/java/classes/crimson.jar:${PORTSDIR}/textproc/cr
USE_JAVA= 1.2+
NO_BUILD= YES
-ANT_SUBDIR= ${DISTNAME}
-PORTDESTDIR= ${PREFIX}/share/java/${ANT_SUBDIR}
+PORTDESTDIR= ${PREFIX}/share/java/${DISTNAME}
PLIST_SUB+= T=${PORTDESTDIR:S/^${PREFIX}\///}
READMES= LICENSE README WHATSNEW
@@ -76,8 +75,8 @@ do-install:
@${ECHO_CMD} -n ">> Installing additional JAR files..."
@${INSTALL_DATA} ${_DISTDIR}/${DISTNAME}-optional.jar ${PORTDESTDIR}/lib/optional.jar
- @${LN} -sf ${LOCALBASE}/share/java/classes/jaxp.jar ${PORTDESTDIR}/lib
- @${LN} -sf ${LOCALBASE}/share/java/classes/crimson.jar ${PORTDESTDIR}/lib
+ @${LN} -sf ../../classes/jaxp.jar ${PORTDESTDIR}/lib
+ @${LN} -sf ../../classes/crimson.jar ${PORTDESTDIR}/lib
@${ECHO_CMD} " [ DONE ]"
.include <bsd.port.mk>