diff options
author | Herve Quiroz <hq@FreeBSD.org> | 2006-03-22 10:46:17 +0000 |
---|---|---|
committer | Herve Quiroz <hq@FreeBSD.org> | 2006-03-22 10:46:17 +0000 |
commit | a55a53397fcf7051b9d366665abae12c897fa86e (patch) | |
tree | 887ebe4a057b4fc7e6d8c4dfa959237f4b933441 /textproc/saxon-he | |
parent | f3e5234550c058a8bc48ed4daf6eead88404413c (diff) | |
download | ports-a55a53397fcf7051b9d366665abae12c897fa86e.tar.gz ports-a55a53397fcf7051b9d366665abae12c897fa86e.zip |
- Update to 8.7
- Use 'exec' in the launcher shell script to comply with Porter's Handbook
guidelines
- Use OPTIONS to add support for JDom and XOM [1]
PR: 86093 [1]
Suggested by: Rene Ladan <r.c.ladan@student.tue.nl> [1]
Notes
Notes:
svn path=/head/; revision=157950
Diffstat (limited to 'textproc/saxon-he')
-rw-r--r-- | textproc/saxon-he/Makefile | 24 | ||||
-rw-r--r-- | textproc/saxon-he/distinfo | 9 | ||||
-rw-r--r-- | textproc/saxon-he/files/saxon.sh.in | 2 |
3 files changed, 27 insertions, 8 deletions
diff --git a/textproc/saxon-he/Makefile b/textproc/saxon-he/Makefile index c4b7b083765b..5fc9f017641f 100644 --- a/textproc/saxon-he/Makefile +++ b/textproc/saxon-he/Makefile @@ -6,19 +6,23 @@ # PORTNAME= saxon -PORTVERSION= 8.6.1 +PORTVERSION= 8.7 PORTEPOCH= 1 CATEGORIES= textproc java MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= saxon PKGNAMESUFFIX= -devel -DISTNAME= ${PORTNAME}b${PORTVERSION:S,.,-,g} +DISTNAME= ${PORTNAME}b${PORTVERSION:S,.,-,g}j \ + ${PORTNAME}-resources${PORTVERSION:S,.,-,g} MAINTAINER= hq@FreeBSD.org COMMENT= An XSLT 2.0 / XPath 2.0 / XQuery 1.0 processor for Java RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper +OPTIONS= JDOM "Install Jdom support" off \ + XOM "Install XOM support" off + USE_ZIP= yes USE_JAVA= yes JAVA_VERSION= 1.4+ @@ -27,12 +31,24 @@ NO_BUILD= yes CONFLICTS= saxon-6.* -JARFILES= saxon8-sql.jar saxon8.jar +JARFILES= saxon8-sql.jar saxon8.jar saxon8-xpath.jar saxon8-dom.jar PLIST_FILES+= ${JARFILES:S,^,%%JAVAJARDIR%%/,} bin/saxon bin/saxon-xquery .if !defined(NOPORTDOCS) PORTDOCS= * .endif +.include <bsd.port.pre.mk> + +.if defined(WITH_JDOM) +JARFILES+= saxon8-jdom.jar +RUN_DEPENDS+= ${JAVALIBDIR}/jdom.jar:${PORTSDIR}/java/jdom +.endif + +.if defined(WITH_XOM) +JARFILES+= saxon8-xom.jar +RUN_DEPENDS+= ${JAVALIBDIR}/xom.jar:${PORTSDIR}/textproc/xom +.endif + SUB_FILES= saxon.sh SUB_LIST= SAXON_JARS="${JARFILES:S,^,${JAVAJARDIR}/,}" @@ -71,4 +87,4 @@ post-install: ${SED} -ne 's,^${WRKSRC}/samples,@dirrm ${EXAMPLESDIR:S,${PREFIX}/,,},p' >> ${TMPPLIST} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/textproc/saxon-he/distinfo b/textproc/saxon-he/distinfo index 1295dffe218b..0af4ee9735d9 100644 --- a/textproc/saxon-he/distinfo +++ b/textproc/saxon-he/distinfo @@ -1,3 +1,6 @@ -MD5 (saxonb8-6-1.zip) = b2a739108e5925aeb8dcca290c436857 -SHA256 (saxonb8-6-1.zip) = 92216450cce1034920988f5708bca39a344cd1575348c4e4f2851bd940fbf11d -SIZE (saxonb8-6-1.zip) = 8559099 +MD5 (saxonb8-7j) = 465771690bf10f8a596bfb697e278bce +SHA256 (saxonb8-7j) = d8bb9d4fda7847fc36c873dfcbbbcad287d1e4a66e5378175da9a85056b83bd8 +SIZE (saxonb8-7j) = 1318634 +MD5 (saxon-resources8-7.zip) = 4504b7c275b6c8f13daac5ae22e221c3 +SHA256 (saxon-resources8-7.zip) = b0d08185b079ed98906a3529cceb89500dbb3b424f9b3990ec8146c3a9b109a9 +SIZE (saxon-resources8-7.zip) = 8925122 diff --git a/textproc/saxon-he/files/saxon.sh.in b/textproc/saxon-he/files/saxon.sh.in index 5732faa6a5b2..b849bd18e7f4 100644 --- a/textproc/saxon-he/files/saxon.sh.in +++ b/textproc/saxon-he/files/saxon.sh.in @@ -17,4 +17,4 @@ do SAXON_CLASSPATH="${SAXON_CLASSPATH}:${jarfile}" done -JAVA_VERSION="1.4+" "%%LOCALBASE%%/bin/java" -classpath "${SAXON_CLASSPATH}" "${LAUNCHER_CLASS}" "$@" +JAVA_VERSION="1.4+" exec "%%LOCALBASE%%/bin/java" -classpath "${SAXON_CLASSPATH}" "${LAUNCHER_CLASS}" "$@" |