Add jakarta-regexp 1.2, regular expressions for Java.

PR:		23357
Submitted by:	Dave Glowacki <dglo@ssec.wisc.edu> #
This commit is contained in:
Patrick S. Gardella 2001-09-12 13:10:54 +00:00
parent 004b256628
commit 65a7a70f61
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47749
6 changed files with 43 additions and 0 deletions

View File

@ -14,6 +14,7 @@
SUBDIR += infobus
SUBDIR += jad
SUBDIR += jaf
SUBDIR += jakarta-regexp
SUBDIR += janosvm
SUBDIR += java-cup
SUBDIR += javamail

View File

@ -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

View File

@ -0,0 +1 @@
MD5 (jakarta-regexp-1.2.tar.gz) = 73aa60b63da140b4a461b46c33082eec

View File

@ -0,0 +1 @@
Regular expressions for Java

View File

@ -0,0 +1,3 @@
A 100% Pure Java Regular Expression package by Jonathan Locke.
WWW: http://jakarta.apache.org/regexp/

View File

@ -0,0 +1 @@
share/java/classes/jakarta-regexp.jar