1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

- Update to bsd.java.mk 2.0

- Fix installation target: do not install *.bat and *.bak scripts [1]

Reported by:	kris via pointyhat [1]
This commit is contained in:
Herve Quiroz 2004-12-28 22:17:38 +00:00
parent 867845eb37
commit 6053d14007
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=125384

View File

@ -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}