aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhq <hq@FreeBSD.org>2004-12-29 06:17:38 +0800
committerhq <hq@FreeBSD.org>2004-12-29 06:17:38 +0800
commitb7184aab1bb78de56e3f1072083a613a6227abc0 (patch)
tree65f2a05722c8d180326ac1ca9fa03f277b689865
parentbc7a91c9b8a87cf811e9b54b2ef5530ef7400aee (diff)
downloadfreebsd-ports-gnome-b7184aab1bb78de56e3f1072083a613a6227abc0.tar.gz
freebsd-ports-gnome-b7184aab1bb78de56e3f1072083a613a6227abc0.tar.zst
freebsd-ports-gnome-b7184aab1bb78de56e3f1072083a613a6227abc0.zip
- Update to bsd.java.mk 2.0
- Fix installation target: do not install *.bat and *.bak scripts [1] Reported by: kris via pointyhat [1]
-rw-r--r--textproc/javacc/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/textproc/javacc/Makefile b/textproc/javacc/Makefile
index 994a6e8746d7..4062db62b810 100644
--- a/textproc/javacc/Makefile
+++ b/textproc/javacc/Makefile
@@ -16,7 +16,7 @@ COMMENT= Compiler compiler for Java; includes tools for building syntax trees
FETCH_DEPENDS= ${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget
-USE_JAVA= 1.1+
+USE_JAVA= yes
USE_REINPLACE= yes
FETCH_CMD= ${LOCALBASE}/bin/wget
NO_BUILD= yes
@@ -31,9 +31,7 @@ do-configure:
do-install:
${MKDIR} ${JAVAJARDIR}
${INSTALL_DATA} ${WRKSRC}/bin/lib/javacc.jar ${JAVAJARDIR}
- for f in "${WRKSRC}/bin/j*"; do \
- ${INSTALL_SCRIPT} $$f ${PREFIX}/bin; \
- done
+ cd ${WRKSRC}/bin/ && ${INSTALL_SCRIPT} javacc jjdoc jjtree ${PREFIX}/bin/
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}