aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorPatrick S. Gardella <patrick@FreeBSD.org>2001-09-12 13:10:54 +0000
committerPatrick S. Gardella <patrick@FreeBSD.org>2001-09-12 13:10:54 +0000
commit65a7a70f619964dd231dd243899e5ed78b927cde (patch)
tree5a352e4614467cbd3e61920aee20895af3ac2b2d /java
parent004b2566284dae33e657ece89f00f478670f51f4 (diff)
downloadports-65a7a70f619964dd231dd243899e5ed78b927cde.tar.gz
ports-65a7a70f619964dd231dd243899e5ed78b927cde.zip
Notes
Diffstat (limited to 'java')
-rw-r--r--java/Makefile1
-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
6 files changed, 43 insertions, 0 deletions
diff --git a/java/Makefile b/java/Makefile
index 438fe7dcc9cb..61d21d3ef704 100644
--- a/java/Makefile
+++ b/java/Makefile
@@ -14,6 +14,7 @@
SUBDIR += infobus
SUBDIR += jad
SUBDIR += jaf
+ SUBDIR += jakarta-regexp
SUBDIR += janosvm
SUBDIR += java-cup
SUBDIR += javamail
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