mirror of
https://git.freebsd.org/ports.git
synced 2025-05-24 23:16:33 -04:00
Use a direct URL to Apache's release archive site as it's not mirrored by upstream mirror sites Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D32386
31 lines
720 B
Makefile
31 lines
720 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
|
|
|
|
LICENSE= APACHE20
|
|
|
|
NO_BUILD= yes
|
|
USE_JAVA= 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>
|