Date: Thu, 11 Jan 2001 11:26:32 -0600 From: Dave Glowacki <dglo@sweetpea.ssec.wisc.edu> To: Patrick Gardella <pgardella@itg.discovery.com> Cc: freebsd-ports@freebsd.org Subject: Re: ports/23357: New port: java/jakarta-regexp Message-ID: <200101111726.LAA34800@sweetpea.ssec.wisc.edu> In-Reply-To: Your message of "Wed, 03 Jan 2001 07:10:02 CST." <200101031510.f03FA2t85264@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Patrick Gardella wrote: > Thanks for your jakarta-regexp port! Very helpful. > > Before I commit it though, would you run "portlint" against it? It > makes sure that it's in standard port format. I got several warnings on > -regexp and -oro. As soon as you let me know that you've got it done > (And send a new shar), I'll commit it. (They built fine) I fixed the jakarta-regexp and jakarta-oro ports up as much as possible (the two Makefiles are now nearly identical) They both have the following warnings: WARN: using hyphen in PORTNAME. consider using PKGNAMEPREFIX and/or PKGNAMESUFFIX. WARN: extra item placed in the *_DEPENDS section, for example, "JAVA_HOME". The first one can be ignored. Both names contain a hyphen, but neither PKGNAMEPREFIX or PKGNAMESUFFIX is appropriate. I'm not sure how to work around the second warning. I'd like for people to be able to build using either the "jdk" or "jdk12-beta" port, and the current Makefiles seem like the best way to do that. Anyway, here's a shar file for the new'n'improved jakarta-regexp: # 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 # jakarta-regexp/pkg-plist # jakarta-regexp/pkg-descr # jakarta-regexp/pkg-comment # jakarta-regexp/distinfo # jakarta-regexp/Makefile # echo c - jakarta-regexp mkdir -p jakarta-regexp > /dev/null 2>&1 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 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-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/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/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= ${PORTNAME}-${PORTVERSION} 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}/${PORTNAME}-${PORTVERSION}.jar ${LOCALBASE}/share/java/classes/${PORTNAME}.jar X Xpost-install: X.if !defined(NOPORTDOCS) X @${MKDIR} ${PREFIX}/share/doc/${PORTNAME} X @(cd ${WRKSRC}/doc/api && ${TAR} -c -f - .) \ X | (cd ${PREFIX}/share/doc/${PORTNAME} && ${TAR} --unlink -x -f -) X @(cd ${PREFIX} \ X && find share/doc/${PORTNAME} -type f -print >> ${TMPPLIST}) X.endif X X.include <bsd.port.mk> END-of-jakarta-regexp/Makefile exit 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?200101111726.LAA34800>