diff options
Diffstat (limited to 'textproc/saxon-devel')
-rw-r--r-- | textproc/saxon-devel/Makefile | 87 | ||||
-rw-r--r-- | textproc/saxon-devel/distinfo | 4 | ||||
-rw-r--r-- | textproc/saxon-devel/files/saxon.sh.in | 18 | ||||
-rw-r--r-- | textproc/saxon-devel/pkg-descr | 20 |
4 files changed, 0 insertions, 129 deletions
diff --git a/textproc/saxon-devel/Makefile b/textproc/saxon-devel/Makefile deleted file mode 100644 index 02c8c60b20d3..000000000000 --- a/textproc/saxon-devel/Makefile +++ /dev/null @@ -1,87 +0,0 @@ -PORTNAME= saxon -PORTVERSION= 9.1.0.8 -PORTREVISION= 1 -PORTEPOCH= 1 -CATEGORIES= textproc java -MASTER_SITES= SF/${PORTNAME}/Saxon-B/${PORTVERSION}:binary \ - SF/${PORTNAME}/Saxon-B/9.1.0.7:resources -PKGNAMESUFFIX= -devel -DISTFILES= ${PORTNAME}b${PORTVERSION:S,.,-,g}j.zip:binary \ - ${PORTNAME}-resources9-1-0-1.zip:resources - -MAINTAINER= ports@FreeBSD.org -COMMENT= XSLT 2.0 / XPath 2.0 / XQuery 1.0 processor for Java -WWW= https://saxon.sourceforge.net/ - -DEPRECATED= Deprecated and unsupported upstream, consider using textproc/saxon-he -EXPIRATION_DATE=2025-04-30 - -USES= java zip - -OPTIONS_DEFINE= JDOM DOM4J XOM DOCS -JDOM_DESC= Jdom support -DOM4J_DESC= dom4j support -XOM_DESC= XOM support - -NO_WRKSUBDIR= yes -NO_BUILD= yes - -CONFLICTS= saxon-6.* - -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 -PORTDOCS= * - -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MJDOM} -JARFILES+= saxon9-jdom.jar -RUN_DEPENDS+= ${JAVALIBDIR}/jdom.jar:java/jdom -.endif - -.if ${PORT_OPTIONS:MDOM4J} -JARFILES+= saxon9-dom4j.jar -RUN_DEPENDS+= ${JAVALIBDIR}/dom4j.jar:textproc/dom4j -.endif - -.if ${PORT_OPTIONS:MXOM} -JARFILES+= saxon9-xom.jar -RUN_DEPENDS+= ${JAVALIBDIR}/xom.jar:textproc/xom -.endif - -SUB_FILES= saxon.sh -SUB_LIST= SAXON_JARS="${JARFILES:S,^,${JAVAJARDIR}/,}" - -do-install: - @${ECHO_MSG} -n ">> Installing JARs in ${JAVAJARDIR}/..." - @${MKDIR} ${STAGEDIR}${JAVAJARDIR} -.for file in ${JARFILES} - @${ECHO_MSG} -n " ${file}" - ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${JAVAJARDIR}/ -.endfor - @${ECHO_MSG} " [ DONE ]" -.if ${PORT_OPTIONS:MDOCS} - @${ECHO_MSG} -n ">> Installing samples in ${EXAMPLESDIR}/..." - cd ${WRKSRC}/samples/ \ - && ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/{} \; \ - && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${EXAMPLESDIR}/{} \; - @${ECHO_MSG} " [ DONE ]" - @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}/..." - cd ${WRKSRC}/doc/ \ - && ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \ - && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \; - @${ECHO_MSG} " [ DONE ]" -.endif - @${ECHO_MSG} -n ">> Installing scripts in ${PREFIX}/bin..." -.for scriptfile in saxon saxon-xquery - @${ECHO_MSG} -n " ${scriptfile}" - ${INSTALL_SCRIPT} ${WRKDIR}/saxon.sh ${STAGEDIR}${PREFIX}/bin/${scriptfile} -.endfor - @${ECHO_MSG} " [ DONE ]" - -post-install-DOCS-on: - ${FIND} -s ${WRKSRC}/samples -not -type d | \ - ${SED} -ne 's|^${WRKSRC}/samples|${EXAMPLESDIR:S,${PREFIX}/,,}|p' >> ${TMPPLIST} - -.include <bsd.port.mk> diff --git a/textproc/saxon-devel/distinfo b/textproc/saxon-devel/distinfo deleted file mode 100644 index e3f372ae675c..000000000000 --- a/textproc/saxon-devel/distinfo +++ /dev/null @@ -1,4 +0,0 @@ -SHA256 (saxonb9-1-0-8j.zip) = 92bcdc4a0680c7866fe5828adb92c714cfe88dcf3fa0caf5bf638fcc6d9369b4 -SIZE (saxonb9-1-0-8j.zip) = 2041548 -SHA256 (saxon-resources9-1-0-1.zip) = 371fbb245d283396f734555e893c41d6df150ebe1576e38211f12df93fc34def -SIZE (saxon-resources9-1-0-1.zip) = 12219434 diff --git a/textproc/saxon-devel/files/saxon.sh.in b/textproc/saxon-devel/files/saxon.sh.in deleted file mode 100644 index 3cb3014693c0..000000000000 --- a/textproc/saxon-devel/files/saxon.sh.in +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -IAM="`basename "$0"`" - -if [ "${IAM}" = "saxon-xquery" ] -then - LAUNCHER_CLASS="net.sf.saxon.Query" -else - LAUNCHER_CLASS="net.sf.saxon.Transform" -fi - -SAXON_CLASSPATH="" -for jarfile in %%SAXON_JARS%% -do - SAXON_CLASSPATH="${SAXON_CLASSPATH}:${jarfile}" -done - -exec "%%LOCALBASE%%/bin/java" -classpath "${SAXON_CLASSPATH}" "${LAUNCHER_CLASS}" "$@" diff --git a/textproc/saxon-devel/pkg-descr b/textproc/saxon-devel/pkg-descr deleted file mode 100644 index e94add350fb7..000000000000 --- a/textproc/saxon-devel/pkg-descr +++ /dev/null @@ -1,20 +0,0 @@ -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 - from a Java application by use of the standard JAXP API. Saxon can be - integrated with Java applications using the JAXP API, which means it is - possible for a Java application to switch between different XSLT processors - without changing the application code. As well as conforming closely with the - XSLT 2.0 specification, Saxon offers a number of powerful extensions. -- An XPath 2.0 processor accessible via an API to Java applications. -- An XQuery 1.0 processor that can be used from the command line, or invoked - from a Java application by use of an API. -- An XML Schema 1.0 processor. This can be used on its own to validate a schema - for correctness, or to validate a source document against the definitions in - a schema. It is also used to support the schema-aware functionality of the - XSLT and XQuery processors. - -So you can use Saxon to process XML by writing XSLT stylesheets, by writing -XQuery queries, by writing Java applications, or by combinations of the -approaches. |