summaryrefslogtreecommitdiffstats
path: root/devel/jakarta-ant
diff options
context:
space:
mode:
authorznerd <znerd@FreeBSD.org>2002-05-07 12:10:18 +0000
committerznerd <znerd@FreeBSD.org>2002-05-07 12:10:18 +0000
commit4d97e9db11ef269a76f6d6b5ed1de2378520dcd8 (patch)
treeb116eb9f1e0c9bec2901c4ed9c9413b030f087e1 /devel/jakarta-ant
parente437695ae2b5e249f68afc50e5e4b6963b096989 (diff)
downloadFreeBSD-ports-4d97e9db11ef269a76f6d6b5ed1de2378520dcd8.zip
FreeBSD-ports-4d97e9db11ef269a76f6d6b5ed1de2378520dcd8.tar.gz
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 1982506..d52dc54 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>
OpenPOWER on IntegriCloud