Import saxon-9.2.1.1j as wip/saxon.

The SAXON package is a collection of tools for processing XML
documents. The main components are:

* An XSLT processor, which implements the Version 1.0 XSLT and
XPath Recommendations from the World Wide Web Consortium.  This
version of Saxon also includes some features defined in XSLT 1.1.

* A Java library, which supports a similar processing model to XSL,
but allows full programming capability, which you need if you want
to perform complex processing of the data or to access external
services such as a relational database

* A slightly improved version of the AElfred parser from Microstar.
(But you can use SAXON with any SAX-compliant XML parser if you
prefer).

Saxon is distributed under the terms of the Mozilla Public License
(MPL).
###
Before you all start squealing, yes, this already exists in
textproc/saxon. However, it's ancient and doesn't process XSLT 2.0.
It would be cool if these changes were imported into HEAD soon.
###
This commit is contained in:
Blue Rats 2010-05-10 04:58:50 +00:00 committed by Thomas Klausner
parent 620706a26a
commit 4e87b234cd
4 changed files with 63 additions and 0 deletions

18
saxon/DESCR Normal file
View file

@ -0,0 +1,18 @@
The SAXON package is a collection of tools for processing XML
documents. The main components are:
* An XSLT processor, which implements the Version 1.0 XSLT and
XPath Recommendations from the World Wide Web Consortium. This
version of Saxon also includes some features defined in XSLT 1.1.
* A Java library, which supports a similar processing model to XSL,
but allows full programming capability, which you need if you want
to perform complex processing of the data or to access external
services such as a relational database
* A slightly improved version of the AElfred parser from Microstar.
(But you can use SAXON with any SAX-compliant XML parser if you
prefer).
Saxon is distributed under the terms of the Mozilla Public License
(MPL).

35
saxon/Makefile Normal file
View file

@ -0,0 +1,35 @@
# $NetBSD: Makefile,v 1.1.1.1 2010/05/10 04:58:50 othyro Exp $
#
DISTNAME= saxonhe9-2-1-1j
PKGNAME= ${DISTNAME:S/-/./g:S/he/-/}
CATEGORIES= textproc
MASTER_SITES= http://downloads.sourceforge.net/project/saxon/Saxon-HE/9.2/
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://saxon.sourceforge.net/
COMMENT= Michael H. Kay's Java XSLT processor
LICENSE= mpl-1.1
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
DIST_SUBDIR= ${PKGNAME_NOREV}
USE_JAVA= run
NO_CONFIGURE= yes
NO_BUILD= yes
USE_TOOLS+= pax
post-extract:
chmod -R u+w,go-w ${WRKSRC}
INSTALLATION_DIRS= lib/java share/doc/saxon
do-install:
${INSTALL_DATA} ${WRKSRC}/saxon9he.jar ${DESTDIR}${PREFIX}/lib/java/saxon.jar
cd ${WRKSRC}/doc && pax -rw . ${DESTDIR}${PREFIX}/share/doc/saxon
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"

5
saxon/PLIST Normal file
View file

@ -0,0 +1,5 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/10 04:58:50 othyro Exp $
lib/java/saxon.jar
share/doc/saxon/index.html
share/doc/saxon/saxondocs.css
share/doc/saxon/img/saxonica_logo.gif

5
saxon/distinfo Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2010/05/10 04:58:50 othyro Exp $
SHA1 (saxon-9.2.1.1j/saxonhe9-2-1-1j.zip) = 118356c343d9af505187f2258aea4c05098eac9c
RMD160 (saxon-9.2.1.1j/saxonhe9-2-1-1j.zip) = c7758262b67c2597baddcab7a8bcbaee0ecacbdc
Size (saxon-9.2.1.1j/saxonhe9-2-1-1j.zip) = 1984393 bytes