summaryrefslogtreecommitdiff
path: root/java/apache-bcel/Makefile
blob: cdc61db7e0ac22df1dbc57f0e8185de98efb3267 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

PORTNAME=	bcel
PORTVERSION=	6.4.1
CATEGORIES=	java devel
MASTER_SITES=	APACHE_COMMONS_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>