Add jakarta-regexp 1.2, regular expressions for Java.
PR: 23357 Submitted by: Dave Glowacki <dglo@ssec.wisc.edu> #
This commit is contained in:
parent
004b256628
commit
65a7a70f61
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47749
@ -14,6 +14,7 @@
|
||||
SUBDIR += infobus
|
||||
SUBDIR += jad
|
||||
SUBDIR += jaf
|
||||
SUBDIR += jakarta-regexp
|
||||
SUBDIR += janosvm
|
||||
SUBDIR += java-cup
|
||||
SUBDIR += javamail
|
||||
|
36
java/jakarta-regexp/Makefile
Normal file
36
java/jakarta-regexp/Makefile
Normal 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
|
1
java/jakarta-regexp/distinfo
Normal file
1
java/jakarta-regexp/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (jakarta-regexp-1.2.tar.gz) = 73aa60b63da140b4a461b46c33082eec
|
1
java/jakarta-regexp/pkg-comment
Normal file
1
java/jakarta-regexp/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Regular expressions for Java
|
3
java/jakarta-regexp/pkg-descr
Normal file
3
java/jakarta-regexp/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
A 100% Pure Java Regular Expression package by Jonathan Locke.
|
||||
|
||||
WWW: http://jakarta.apache.org/regexp/
|
1
java/jakarta-regexp/pkg-plist
Normal file
1
java/jakarta-regexp/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
share/java/classes/jakarta-regexp.jar
|
Loading…
Reference in New Issue
Block a user