aboutsummaryrefslogtreecommitdiffstats
path: root/java/jakarta-regexp
diff options
context:
space:
mode:
authorpatrick <patrick@FreeBSD.org>2001-09-12 21:10:54 +0800
committerpatrick <patrick@FreeBSD.org>2001-09-12 21:10:54 +0800
commit1b9fb45d146ef8655a6728e42d3cb1ca6d97d8f7 (patch)
treefe79a75e98a213e5b29b0cf238c87e1c3047cdd7 /java/jakarta-regexp
parent4bf69512b57ebec2afdf5e15d45a633cc335b649 (diff)
downloadfreebsd-ports-gnome-1b9fb45d146ef8655a6728e42d3cb1ca6d97d8f7.tar.gz
freebsd-ports-gnome-1b9fb45d146ef8655a6728e42d3cb1ca6d97d8f7.tar.zst
freebsd-ports-gnome-1b9fb45d146ef8655a6728e42d3cb1ca6d97d8f7.zip
Add jakarta-regexp 1.2, regular expressions for Java.
PR: 23357 Submitted by: Dave Glowacki <dglo@ssec.wisc.edu> #
Diffstat (limited to 'java/jakarta-regexp')
-rw-r--r--java/jakarta-regexp/Makefile36
-rw-r--r--java/jakarta-regexp/distinfo1
-rw-r--r--java/jakarta-regexp/pkg-comment1
-rw-r--r--java/jakarta-regexp/pkg-descr3
-rw-r--r--java/jakarta-regexp/pkg-plist1
5 files changed, 42 insertions, 0 deletions
diff --git a/java/jakarta-regexp/Makefile b/java/jakarta-regexp/Makefile
new file mode 100644
index 000000000000..9b510e638eab
--- /dev/null
+++ b/java/jakarta-regexp/Makefile
@@ -0,0 +1,36 @@
+# Ports collection makefile for: Jakarta Regexp
+# Date created: 2000/12/01
+# Whom: Dave Glowacki <dglo@ssec.wisc.edu> #
+# $FreeBSD$
+#
+
+PORTNAME= jakarta-regexp
+PORTVERSION= 1.2
+CATEGORIES= java
+MASTER_SITES= http://jakarta.apache.org/builds/jakarta-regexp/release/v${PORTVERSION}/
+DISTNAME= ${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= dglo@ssec.wisc.edu
+
+BUILD_DEPENDS= ${JAVA_HOME}/bin/javac:${PORTSDIR}/java/jdk12-beta
+RUN_DEPENDS= ${JAVA_HOME}/bin/java:${PORTSDIR}/java/jdk12-beta
+
+JAVA_HOME?= ${LOCALBASE}/jdk1.2.2
+
+do-build:
+ @cd ${WRKSRC}/build && PATH=$$PATH:${JAVA_HOME}/bin JAVA_HOME=${JAVA_HOME} ${SH} build-regexp.sh package
+
+do-install:
+ @${MKDIR} ${PREFIX}/share/java/classes
+ @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${LOCALBASE}/share/java/classes/${PORTNAME}.jar
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
+ @(cd ${WRKSRC}/docs/api && ${TAR} -c -f - .) \
+ | (cd ${PREFIX}/share/doc/${PORTNAME} && ${TAR} --unlink -x -f -)
+ @(cd ${PREFIX} \
+ && find share/doc/${PORTNAME} -type f -print >> ${TMPPLIST})
+.endif
+
+.include <bsd.port.mk> END-of-jakarta-regexp/Makefile
diff --git a/java/jakarta-regexp/distinfo b/java/jakarta-regexp/distinfo
new file mode 100644
index 000000000000..f22253f6b41e
--- /dev/null
+++ b/java/jakarta-regexp/distinfo
@@ -0,0 +1 @@
+MD5 (jakarta-regexp-1.2.tar.gz) = 73aa60b63da140b4a461b46c33082eec
diff --git a/java/jakarta-regexp/pkg-comment b/java/jakarta-regexp/pkg-comment
new file mode 100644
index 000000000000..72d13932a845
--- /dev/null
+++ b/java/jakarta-regexp/pkg-comment
@@ -0,0 +1 @@
+Regular expressions for Java
diff --git a/java/jakarta-regexp/pkg-descr b/java/jakarta-regexp/pkg-descr
new file mode 100644
index 000000000000..fed7904d8610
--- /dev/null
+++ b/java/jakarta-regexp/pkg-descr
@@ -0,0 +1,3 @@
+A 100% Pure Java Regular Expression package by Jonathan Locke.
+
+WWW: http://jakarta.apache.org/regexp/
diff --git a/java/jakarta-regexp/pkg-plist b/java/jakarta-regexp/pkg-plist
new file mode 100644
index 000000000000..7721e1d37d83
--- /dev/null
+++ b/java/jakarta-regexp/pkg-plist
@@ -0,0 +1 @@
+share/java/classes/jakarta-regexp.jar