summaryrefslogtreecommitdiffstats
path: root/java/jakarta-oro
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2004-05-18 01:28:19 +0000
committerlinimon <linimon@FreeBSD.org>2004-05-18 01:28:19 +0000
commit9f751c30cb2992b7f6962233b240d66d8c3f660d (patch)
treedba7e8154e7003d551ba0974f3a9ac023b9cc63c /java/jakarta-oro
parent4496d8e0833c9b03c586eff216e1baa5a229dd24 (diff)
downloadFreeBSD-ports-9f751c30cb2992b7f6962233b240d66d8c3f660d.zip
FreeBSD-ports-9f751c30cb2992b7f6962233b240d66d8c3f660d.tar.gz
Update to 2.0.8, remove pkg-plist, update to latest bsd.java.mk.
PR: ports/66060 Submitted by: Dave Glowacki <dglo at glowacki.dyndns.org> (maintainer)
Diffstat (limited to 'java/jakarta-oro')
-rw-r--r--java/jakarta-oro/Makefile35
-rw-r--r--java/jakarta-oro/distinfo4
-rw-r--r--java/jakarta-oro/pkg-plist1
3 files changed, 19 insertions, 21 deletions
diff --git a/java/jakarta-oro/Makefile b/java/jakarta-oro/Makefile
index 319235a..e20b69d 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 0860b18..fc3e57d 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 43462bf..0000000
--- a/java/jakarta-oro/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-share/java/classes/jakarta-oro.jar
OpenPOWER on IntegriCloud