aboutsummaryrefslogtreecommitdiffstats
path: root/java/jakarta-bcel/Makefile
blob: 1959b05d358a0540d838be8fb15b672214964bf2 (plain) (blame)
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
# $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>