aboutsummaryrefslogtreecommitdiff
path: root/devel/apache-ant
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2001-08-26 05:37:03 +0000
committerPete Fritchman <petef@FreeBSD.org>2001-08-26 05:37:03 +0000
commit2024ab97900d0c42588040e7e810f9afa7c2b2f5 (patch)
treedf8a27889ecc4d7a9094fa51a562278dbcf926c0 /devel/apache-ant
parent524fe61714fba5762266b310bd86c674ea1521bb (diff)
downloadports-2024ab97900d0c42588040e7e810f9afa7c2b2f5.tar.gz
ports-2024ab97900d0c42588040e7e810f9afa7c2b2f5.zip
Notes
Diffstat (limited to 'devel/apache-ant')
-rw-r--r--devel/apache-ant/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/apache-ant/Makefile b/devel/apache-ant/Makefile
index a3b28c80f69d..489c23853a8d 100644
--- a/devel/apache-ant/Makefile
+++ b/devel/apache-ant/Makefile
@@ -7,6 +7,7 @@
PORTNAME= jakarta-ant
PORTVERSION= 1.3
+PORTREVISION= 1
CATEGORIES= devel java
MASTER_SITES= http://jakarta.apache.org/builds/${PORTNAME}/release/v${PORTVERSION}/bin/
DISTFILES= ${DISTNAME}-bin${EXTRACT_SUFX} \
@@ -35,6 +36,9 @@ DATADIRS= lib
DATADIRS+= docs
.endif
+post-patch:
+ @${PERL} -pi -e 's,JAVACMD=java,JAVACMD=javavm,g' ${WRKSRC}/bin/ant
+
do-install:
${MKDIR} ${PORTDESTDIR}/bin ${PORTDESTDIR}/lib
cd ${INSTALL_WRKSRC}; \