diff options
Diffstat (limited to 'java/jakarta-bcel/Makefile')
-rw-r--r-- | java/jakarta-bcel/Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/java/jakarta-bcel/Makefile b/java/jakarta-bcel/Makefile index 025719162323..1ac2a15e5d0f 100644 --- a/java/jakarta-bcel/Makefile +++ b/java/jakarta-bcel/Makefile @@ -4,11 +4,13 @@ # $FreeBSD$ # -PORTNAME= jakarta-bcel -PORTVERSION= 5.0 +PORTNAME= bcel +PKGNAMEPREFIX= jakarta- +PORTVERSION= 5.1 CATEGORIES= java devel -MASTER_SITES= http://jakarta.apache.org/builds/${PORTNAME}/release/v${PORTVERSION}/ -DISTNAME= bcel-${PORTVERSION} +MASTER_SITES= http://www.apache.org/dist/jakarta/${PORTNAME}/binaries/ \ + http://nagoya.apache.org/mirror/jakarta/${PORTNAME}/binaries/ \ + http://www.powertech.no/apache/dist/jakarta/${PORTNAME}/binaries/ \ MAINTAINER= des@FreeBSD.org COMMENT= A library for generating Java bytecode @@ -17,10 +19,12 @@ NO_BUILD= yes USE_JAVA= 1.2+ do-install: - ${INSTALL_DATA} ${WRKSRC}/bcel.jar ${PREFIX}/share/java/classes + ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar \ + ${JAVAJARDIR}/${PORTNAME}.jar .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} - (cd ${WRKSRC}/docs && ${TAR} -cf - . | ${TAR} -xf - -C ${DOCSDIR}) + (cd ${WRKSRC}/docs && ${FIND} . -print | \ + ${CPIO} -pdmu -R${DOCOWN}:${DOCGRP} ${DOCSDIR}) .endif .include <bsd.port.mk> |