freebsd-ports/java/jakarta-bcel/Makefile
Dmitry Marakasov 610cd07419 - Add NO_ARCH
- Switch to COPYTREE_SHARE and don't install empty dirs

Approved by:	portmgr blanket
2015-09-11 18:45:07 +00:00

31 lines
608 B
Makefile

# $FreeBSD$
PORTNAME= bcel
PORTVERSION= 5.2
PORTREVISION= 2
CATEGORIES= java devel
MASTER_SITES= APACHE_JAKARTA/${PORTNAME}/binaries
PKGNAMEPREFIX= jakarta-
MAINTAINER= java@FreeBSD.org
COMMENT= Library for generating Java bytecode
NO_BUILD= yes
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_ARCH= yes
PLIST_FILES= %%JAVAJARDIR%%/bcel.jar
OPTIONS_DEFINE= DOCS
PORTDOCS= *
do-install:
${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar \
${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "-not -empty")
.include <bsd.port.mk>