diff options
Diffstat (limited to 'devel/apache-ant/Makefile')
-rw-r--r-- | devel/apache-ant/Makefile | 4 |
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}; \ |