ports/158507: Update textproc/saxon-devel to version 9.1.0.7
Pedro Giffuni
giffunip at tutopia.com
Wed Jun 29 20:10:11 UTC 2011
>Number: 158507
>Category: ports
>Synopsis: Update textproc/saxon-devel to version 9.1.0.7
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Jun 29 20:10:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Pedro Giffuni
>Release: 9.0-CURRENT
>Organization:
>Environment:
FreeBSD mogwai.giffuni.net 9.0-CURRENT FreeBSD 9.0-CURRENT #6: Sat Apr 30 01:37:57 PDT 2011 root at build9x64.pcbsd.org:/usr/obj/pcbsd-build90/fbsd-source/9.0/sys/PCBSD amd64
>Description:
Update to Saxon-B version 9.1.0.7.
It's still old but it's better than the previous version.
I added an option for DOM4J, since Saxon-B has it.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN saxon-devel.orig/Makefile saxon-devel/Makefile
--- saxon-devel.orig/Makefile 2011-06-29 14:25:55.000000000 +0000
+++ saxon-devel/Makefile 2011-06-29 15:01:51.000000000 +0000
@@ -6,14 +6,13 @@
#
PORTNAME= saxon
-PORTVERSION= 8.9.0.4
-PORTREVISION= 1
+PORTVERSION= 9.1.0.7
PORTEPOCH= 1
CATEGORIES= textproc java
MASTER_SITES= SF/${PORTNAME}/Saxon-B/${PORTVERSION}
PKGNAMESUFFIX= -devel
DISTNAME= ${PORTNAME}b${PORTVERSION:S,.,-,g}j.zip \
- ${PORTNAME}-resources8-9
+ ${PORTNAME}-resources9-1-0-1
MAINTAINER= hq at FreeBSD.org
COMMENT= An XSLT 2.0 / XPath 2.0 / XQuery 1.0 processor for Java
@@ -21,6 +20,7 @@
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
OPTIONS= JDOM "Install Jdom support" off \
+ DOM4J "Install dom4j support" off \
XOM "Install XOM support" off
USE_ZIP= yes
@@ -31,7 +31,8 @@
CONFLICTS= saxon-6.*
-JARFILES= saxon8-sql.jar saxon8.jar saxon8-xpath.jar saxon8-dom.jar
+JARFILES= saxon9-sql.jar saxon9.jar saxon9-xpath.jar saxon9-dom.jar \
+ saxon9-xqj.jar saxon9-s9api.jar
PLIST_FILES+= ${JARFILES:S,^,%%JAVAJARDIR%%/,} bin/saxon bin/saxon-xquery
.if !defined(NOPORTDOCS)
PORTDOCS= *
@@ -40,12 +41,17 @@
.include <bsd.port.pre.mk>
.if defined(WITH_JDOM)
-JARFILES+= saxon8-jdom.jar
+JARFILES+= saxon9-jdom.jar
RUN_DEPENDS+= ${JAVALIBDIR}/jdom.jar:${PORTSDIR}/java/jdom
.endif
+.if defined(WITH_DOM4J)
+JARFILES+= saxon9-dom4j.jar
+RUN_DEPENDS+= ${JAVALIBDIR}/dom4j.jar:${PORTSDIR}/textproc/dom4j
+.endif
+
.if defined(WITH_XOM)
-JARFILES+= saxon8-xom.jar
+JARFILES+= saxon9-xom.jar
RUN_DEPENDS+= ${JAVALIBDIR}/xom.jar:${PORTSDIR}/textproc/xom
.endif
diff -ruN saxon-devel.orig/distinfo saxon-devel/distinfo
--- saxon-devel.orig/distinfo 2011-06-29 14:25:55.000000000 +0000
+++ saxon-devel/distinfo 2011-06-29 14:36:03.000000000 +0000
@@ -1,6 +1,4 @@
-MD5 (saxonb8-9-0-4j.zip) = 6be31185c3d0da70749055a4a10763ae
-SHA256 (saxonb8-9-0-4j.zip) = 23e12d90d7990bee4ae715345dc8f555b5aab662710256dec22bed70b3f54058
-SIZE (saxonb8-9-0-4j.zip) = 1492988
-MD5 (saxon-resources8-9.zip) = 65a14ea4f55a98c1d762433842145962
-SHA256 (saxon-resources8-9.zip) = bfab671b938047128427acf675d64249f714e40e8e80dc1585df0a2c8840a9bd
-SIZE (saxon-resources8-9.zip) = 10836211
+SHA256 (saxonb9-1-0-7j.zip) = 89142710cb03a18a70014f106927fb01c2c7fe0c58b3dbbdaf5e592917f1de81
+SIZE (saxonb9-1-0-7j.zip) = 2039013
+SHA256 (saxon-resources9-1-0-1.zip) = 371fbb245d283396f734555e893c41d6df150ebe1576e38211f12df93fc34def
+SIZE (saxon-resources9-1-0-1.zip) = 12219434
diff -ruN saxon-devel.orig/pkg-descr saxon-devel/pkg-descr
--- saxon-devel.orig/pkg-descr 2011-06-29 14:25:55.000000000 +0000
+++ saxon-devel/pkg-descr 2011-06-29 14:55:48.000000000 +0000
@@ -1,4 +1,4 @@
-The Saxon 8.0 package is a collection of tools for processing XML documents.
+The Saxon-B 9.1 package is a collection of tools for processing XML documents.
The main components are:
- An XSLT 2.0 processor, that can be used from the command line, or invoked
@@ -19,4 +19,4 @@
XQuery queries, by writing Java applications, or by combinations of the
approaches.
-WWW: http://www.saxonica.com/
+WWW: http://saxon.sourceforge.net/
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list