- Add NO_ARCH

- Switch to COPYTREE_SHARE and don't install empty dirs

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2015-09-11 18:45:07 +00:00
parent 41c9805051
commit 610cd07419
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=396698

View file

@ -13,6 +13,7 @@ COMMENT= Library for generating Java bytecode
NO_BUILD= yes
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_ARCH= yes
PLIST_FILES= %%JAVAJARDIR%%/bcel.jar
@ -24,7 +25,6 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar \
${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/docs && ${FIND} . -print | \
${CPIO} -pdmu -R${DOCOWN}:${DOCGRP} ${STAGEDIR}${DOCSDIR})
(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "-not -empty")
.include <bsd.port.mk>