pkgsrc-wip/saxon/Makefile
Blue Rats 4e87b234cd 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.
###
2010-05-10 04:58:50 +00:00

35 lines
843 B
Makefile

# $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"