diff options
author | Ernst de Haan <znerd@FreeBSD.org> | 2004-04-20 19:48:50 +0000 |
---|---|---|
committer | Ernst de Haan <znerd@FreeBSD.org> | 2004-04-20 19:48:50 +0000 |
commit | 0a85d28a37f4c252d5eb0a2273bd02462ee2de9d (patch) | |
tree | 87fb1c3dd143ab0d6b41c000380e154da78c8a4e /java | |
parent | 52897b80cbfe7f69fa2c82057d51c01daad3edef (diff) |
- Fix PORTDOCS [1]
- bsd.java.mk 2.0 compliant
- Removed pkg-plist
- Done some cleanning (PLIST_SUB statement)
PR: 61357
Submitted by: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
Reported by: Oliver Eikemeier <eikemeier@fillmore-labs.com> [1]
Notes
Notes:
svn path=/head/; revision=107747
Diffstat (limited to 'java')
-rw-r--r-- | java/jakarta-commons-cli/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/java/jakarta-commons-cli/Makefile b/java/jakarta-commons-cli/Makefile index 9cea3572ca1a..9f4350c8d49b 100644 --- a/java/jakarta-commons-cli/Makefile +++ b/java/jakarta-commons-cli/Makefile @@ -20,10 +20,10 @@ COMMENT= Java library for command line arguments and options BUILD_DEPENDS= ${ANT}:${PORTSDIR}/devel/apache-ant \ ${LOCALBASE}/share/java/classes/commons-lang.jar:${PORTSDIR}/java/jakarta-commons-lang -USE_JAVA= 1.2+ +USE_JAVA= yes +JAVA_VERSION= 1.2+ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///} ANT?= ${LOCALBASE}/bin/ant .if defined(NOPORTDOCS) ANT_TARGET= jar -Dnoget @@ -34,9 +34,10 @@ JAVASHAREDIR= ${PREFIX}/share/java JARDIR= ${JAVASHAREDIR}/classes JARFILE= ${PORTNAME}-${PORTVERSION}-beta-2-dev.jar DESTJARFILE= ${PORTNAME}.jar +PLIST_FILES+= ${JAVAJARDIR:S,^${PREFIX}/,,}/${DESTJARFILE} .if !defined(NOPORTDOCS) -PORTDOCS= ${WRKSRC}/target/docs/apidocs +PORTDOCS= apidocs LICENSE.txt .endif do-build: @@ -51,7 +52,8 @@ do-install: .if !defined(NOPORTDOCS) @${ECHO} -n ">> Installing documentation in ${DOCSDIR}..." @${MKDIR} ${DOCSDIR} - @${CP} -r ${WRKSRC}/target/docs/apidocs/* ${DOCSDIR} + @${CP} -r ${WRKSRC}/target/docs/apidocs ${DOCSDIR}/ + @${CP} -r ${WRKSRC}/LICENSE.txt ${DOCSDIR}/ @${ECHO} " [ DONE ]" .endif |