summaryrefslogtreecommitdiff
path: root/devel/jakarta-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/jakarta-ant
parentUpdate to version 1.029 (diff)
- make the ant program actually work if no JAVA_HOME is set (make the default
java command the javavm wrapper). - bump portrevision PR: 27073 Submitted by: maintainer
Diffstat (limited to 'devel/jakarta-ant')
-rw-r--r--devel/jakarta-ant/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/jakarta-ant/Makefile b/devel/jakarta-ant/Makefile
index a3b28c80f69d..489c23853a8d 100644
--- a/devel/jakarta-ant/Makefile
+++ b/devel/jakarta-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}; \