Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Dec 2000 09:12:13 -0600
From:      Dave Glowacki <dglo@sweetpea.ssec.wisc.edu>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/23357: New port: java/jakarta-regexp
Message-ID:  <200012071512.JAA49048@sweetpea.ssec.wisc.edu>
Resent-Message-ID: <200012071520.eB7FK1464929@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         23357
>Category:       ports
>Synopsis:       New port: java/jakarta-regexp
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 07 07:20:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Dave Glowacki
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
>Environment:
>Description:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	jakarta-regexp/Makefile
#	jakarta-regexp/distinfo
#	jakarta-regexp/pkg-comment
#	jakarta-regexp/pkg-descr
#	jakarta-regexp/pkg-plist
#
if [ -d jakarta-regexp ]; then
  echo "Directory jakarta-regexp already exists"
fi
mkdir jakarta-regexp
echo x - jakarta-regexp/Makefile
sed 's/^X//' >jakarta-regexp/Makefile << 'END-of-jakarta-regexp/Makefile'
X# Ports collection makefile for:    Jakarta Regexp
X# Date created:         2000/12/01
X# Whom:                 Dave Glowacki <dglo@ssec.wisc.edu>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	jakarta-regexp
XPORTVERSION=	1.2
XCATEGORIES=	java
XMASTER_SITES=	http://jakarta.apache.org/builds/jakarta-regexp/release/v${PORTVERSION}/
XDISTNAME=	jakarta-regexp-${PORTVERSION}
XEXTRACT_SUFX=	.tar.gz
X
XMAINTAINER=	dglo@SSEC.WISC.EDU
X
XJAVA_HOME=	${LOCALBASE}/jdk1.2.2
XBUILD_DEPENDS=	${JAVA_HOME}/bin/javac:${PORTSDIR}/java/jdk12-beta
XRUN_DEPENDS=	${JAVA_HOME}/bin/java:${PORTSDIR}/java/jdk12-beta
X
Xdo-build:
X	cd ${WRKSRC}/build && PATH=$$PATH:${JAVA_HOME}/bin JAVA_HOME=${JAVA_HOME} sh build-regexp.sh package
X
Xdo-install:
X	@${MKDIR} ${PREFIX}/share/java/classes
X	@${INSTALL_DATA} ${WRKSRC}/jakarta-regexp-1.2.jar ${LOCALBASE}/share/java/classes/jakarta-regexp.jar
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${PREFIX}/share/doc/jakarta-regexp
X	@(cd ${WRKSRC}/docs/api && ${TAR} -c -f - .) \
X		| (cd ${PREFIX}/share/doc/jakarta-regexp && ${TAR} --unlink -x -f -)
X	@(cd ${PREFIX} \
X		&& find share/doc/jakarta-regexp -type f -print >> ${TMPPLIST})
X.endif
X
X.include <bsd.port.mk>
END-of-jakarta-regexp/Makefile
echo x - jakarta-regexp/distinfo
sed 's/^X//' >jakarta-regexp/distinfo << 'END-of-jakarta-regexp/distinfo'
XMD5 (jakarta-regexp-1.2.tar.gz) = 73aa60b63da140b4a461b46c33082eec
END-of-jakarta-regexp/distinfo
echo x - jakarta-regexp/pkg-comment
sed 's/^X//' >jakarta-regexp/pkg-comment << 'END-of-jakarta-regexp/pkg-comment'
XRegular expressions for Java
END-of-jakarta-regexp/pkg-comment
echo x - jakarta-regexp/pkg-descr
sed 's/^X//' >jakarta-regexp/pkg-descr << 'END-of-jakarta-regexp/pkg-descr'
XA 100% Pure Java Regular Expression package by Jonathan Locke.
X
XWWW: http://jakarta.apache.org/regexp/
END-of-jakarta-regexp/pkg-descr
echo x - jakarta-regexp/pkg-plist
sed 's/^X//' >jakarta-regexp/pkg-plist << 'END-of-jakarta-regexp/pkg-plist'
Xshare/java/classes/jakarta-regexp.jar
END-of-jakarta-regexp/pkg-plist
exit

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012071512.JAA49048>