diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2004-05-18 01:28:19 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2004-05-18 01:28:19 +0000 |
commit | 6b8521edc3d8b984dfafd9e275752ad51cf370be (patch) | |
tree | 7f46febcea4629160bb8604be3d3f2de827ec209 /java/jakarta-oro | |
parent | 2b0fb5857216e64c53647f0490f68ac630ff7863 (diff) | |
download | ports-6b8521edc3d8b984dfafd9e275752ad51cf370be.tar.gz ports-6b8521edc3d8b984dfafd9e275752ad51cf370be.zip |
Notes
Diffstat (limited to 'java/jakarta-oro')
-rw-r--r-- | java/jakarta-oro/Makefile | 35 | ||||
-rw-r--r-- | java/jakarta-oro/distinfo | 4 | ||||
-rw-r--r-- | java/jakarta-oro/pkg-plist | 1 |
3 files changed, 19 insertions, 21 deletions
diff --git a/java/jakarta-oro/Makefile b/java/jakarta-oro/Makefile index 319235ad97c2..e20b69dedcee 100644 --- a/java/jakarta-oro/Makefile +++ b/java/jakarta-oro/Makefile @@ -6,7 +6,7 @@ # PORTNAME= jakarta-oro -PORTVERSION= 2.0.7 +PORTVERSION= 2.0.8 CATEGORIES= java MASTER_SITES= http://jakarta.apache.org/builds/${PORTNAME}/release/v${PORTVERSION}/ \ http://ftp.epix.net/apache/jakarta/oro/binaries/ @@ -16,41 +16,40 @@ COMMENT= Perl/awk/sh regular expressions for Java BUILD_DEPENDS= ${LOCALBASE}/bin/ant:${PORTSDIR}/devel/apache-ant -USE_JAVA= 1.2+ -NEED_JAVAC= YES +USE_JAVA= yes +JAVA_VERSION= 1.2+ PLIST= ${WRKDIR}/PLIST JAVALIBNAME= ${PORTNAME}-${PORTVERSION} -APIDOCSDIR= ${DOCSDIR}/${JAVALIBNAME} -pre-install: - @${RM} -f ${PLIST} - @${TOUCH} ${PLIST} +.if !defined(NOPORTDOCS) +PORTDOCS= * +.endif do-build: @cd ${WRKSRC} && \ ${SETENV} JAVA_HOME=${JAVA_HOME} ant jar javadocs +pre-install: + @${RM} -f ${PLIST} + @${TOUCH} ${PLIST} + @${ECHO} ${JAVAJARDIR}/${PORTNAME}.jar | \ + ${SED} "s,${PREFIX}/*,," >> ${PLIST} + @${ECHO} "@unexec ${RMDIR} ${JAVAJARDIR} 2>/dev/null || true" | \ + ${SED} "s,${PREFIX}/*,," >> ${PLIST} + do-install: do-install-jar do-install-apidocs do-install-jar: @${MKDIR} ${JAVAJARDIR} @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar - @${ECHO} ${JAVAJARDIR}/${PORTNAME}.jar | \ - ${SED} "s,${PREFIX}/*,," >> ${PLIST} - @${ECHO} "@unexec ${RMDIR} ${JAVAJARDIR} 2>/dev/null || true" | \ - ${SED} "s,${PREFIX}/*,," >> ${PLIST} do-install-apidocs: .if !defined(NOPORTDOCS) - @${MKDIR} ${APIDOCSDIR} - @${CP} -r ${WRKSRC}/docs/api/* ${APIDOCSDIR} - @${CHOWN} -h -R ${SHAREOWN}:${SHAREGRP} ${APIDOCSDIR} - @${FIND} ${APIDOCSDIR} -type f -print | \ - ${SED} "s,${PREFIX}/*,," >> ${PLIST} - @${FIND} ${APIDOCSDIR} -type d -print | ${SORT} -r | \ - ${SED} -e "s,${PREFIX}/*,," -e "s,^,@dirrm ,g" >> ${PLIST} + @${MKDIR} ${DOCSDIR} + @${CP} -r ${WRKSRC}/docs/api/* ${DOCSDIR} + @${CHOWN} -h -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/java/jakarta-oro/distinfo b/java/jakarta-oro/distinfo index 0860b180dbf6..fc3e57de2616 100644 --- a/java/jakarta-oro/distinfo +++ b/java/jakarta-oro/distinfo @@ -1,2 +1,2 @@ -MD5 (jakarta-oro-2.0.7.tar.gz) = 5fdeff2f0386131027ad9ff282061dbf -SIZE (jakarta-oro-2.0.7.tar.gz) = 342625 +MD5 (jakarta-oro-2.0.8.tar.gz) = 6f7690c6ba9750e3cbb8ebd10078a79a +SIZE (jakarta-oro-2.0.8.tar.gz) = 345304 diff --git a/java/jakarta-oro/pkg-plist b/java/jakarta-oro/pkg-plist deleted file mode 100644 index 43462bf57ca3..000000000000 --- a/java/jakarta-oro/pkg-plist +++ /dev/null @@ -1 +0,0 @@ -share/java/classes/jakarta-oro.jar |