aboutsummaryrefslogtreecommitdiffstats
path: root/java/jakarta-bcel/Makefile
blob: a50da4eca8cf5b9cc3771733bbea5a94e930a48b (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
31
32
33
34
35
36
37
# Ports collection makefile for:    jakarta-bcel
# Date created:             6 May 2002
# Whom:                 des
# $FreeBSD$
#

PORTNAME=   bcel
PORTVERSION=    5.2
PORTREVISION=   2
CATEGORIES= java devel
MASTER_SITES=   ${MASTER_SITE_APACHE_JAKARTA}
MASTER_SITE_SUBDIR= ${PORTNAME}/binaries
PKGNAMEPREFIX=  jakarta-

MAINTAINER= des@FreeBSD.org
COMMENT=    A library for generating Java bytecode

NO_BUILD=   yes
USE_JAVA=   yes
JAVA_VERSION=   1.2+

PLIST_FILES=    %%JAVAJARDIR%%/bcel.jar

.if !defined(NOPORTDOCS)
PORTDOCS=   *
.endif

do-install:
    ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar \
        ${JAVAJARDIR}/${PORTNAME}.jar
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    (cd ${WRKSRC}/docs && ${FIND} . -print | \
        ${CPIO} -pdmu -R${DOCOWN}:${DOCGRP} ${DOCSDIR})
.endif

.include <bsd.port.mk>