mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
610cd07419
- Switch to COPYTREE_SHARE and don't install empty dirs Approved by: portmgr blanket
31 lines
608 B
Makefile
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>
|