mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 17:46:38 -04:00
The following features have been added or changed: - Instead of USE_JAVA use USES=java. This defaults to USES=java:build,run if NO_BUILD is undefined. Else it defaults to USES=java:run - Instead of USE_ANT=yes use USES=java:ant which also implies USES=java:build - Instead of JAVA_BUILD=yes use USES=java:build. Does not imply run or extract - Instead of JAVA_EXTRACT=yes use USES=java:extract does not imply build or run - Instead of JAVA_RUN=yes use USES=java:run does not imply extract or build - Instead of USE_JAVA=<version> use USES=java and JAVA_VERSION=<version> Approved by: mat (portmgr), glewis Differential Revision: https://reviews.freebsd.org/D48201
33 lines
773 B
Makefile
33 lines
773 B
Makefile
PORTNAME= bcel
|
|
PORTVERSION= 6.4.1
|
|
CATEGORIES= java devel
|
|
MASTER_SITES= https://archive.apache.org/dist/commons/${PORTNAME}/binaries/
|
|
PKGNAMEPREFIX= apache-
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-bin
|
|
|
|
MAINTAINER= java@FreeBSD.org
|
|
COMMENT= Apache Commons Byte Code Engineering Library
|
|
WWW= https://commons.apache.org/proper/commons-bcel/
|
|
|
|
LICENSE= APACHE20
|
|
|
|
USES= java
|
|
|
|
NO_BUILD= yes
|
|
|
|
NO_ARCH= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
PLIST_FILES= %%JAVAJARDIR%%/bcel.jar
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
PORTDOCS= *
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar \
|
|
${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC}/apidocs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "-not -empty")
|
|
|
|
.include <bsd.port.mk>
|