From 4d97e9db11ef269a76f6d6b5ed1de2378520dcd8 Mon Sep 17 00:00:00 2001 From: znerd Date: Tue, 7 May 2002 12:10:18 +0000 Subject: Installing relative symlinks instead of absolute ones. Bumped PORTREVISION. Submitted by: Christopher Elkins PR: 32546 --- devel/jakarta-ant/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'devel/jakarta-ant') 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 -- cgit v1.1