2012-12-10 14:43:43 +01:00
|
|
|
# Created by: Kimura Fuyuki <fuyuki@mj.0038.net>
|
2002-01-30 08:18:36 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= saxon
|
2011-06-29 22:13:08 +02:00
|
|
|
PORTVERSION= 6.5.5
|
2002-01-30 08:18:36 +01:00
|
|
|
CATEGORIES= textproc java
|
2011-06-29 22:13:08 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/saxon6/${PORTVERSION}
|
2005-06-30 15:42:19 +02:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:S/./-/g}
|
2002-01-30 08:18:36 +01:00
|
|
|
|
2014-03-02 06:22:25 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-08-03 16:15:08 +02:00
|
|
|
COMMENT= XSLT 1.0 processor for Java
|
2002-01-30 08:18:36 +01:00
|
|
|
|
2011-06-29 22:13:08 +02:00
|
|
|
LICENSE= MPL
|
|
|
|
|
2005-06-30 15:42:19 +02:00
|
|
|
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
|
2004-07-02 21:30:27 +02:00
|
|
|
|
2014-03-10 18:25:25 +01:00
|
|
|
USES= zip
|
2004-06-28 23:13:21 +02:00
|
|
|
USE_JAVA= yes
|
2012-12-10 14:43:43 +01:00
|
|
|
JAVA_VERSION= 1.6+
|
2002-01-30 08:18:36 +01:00
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
2004-07-07 22:38:10 +02:00
|
|
|
CONFLICTS= saxon-devel-8.*
|
|
|
|
|
2014-08-06 06:34:23 +02:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
2014-07-05 00:50:40 +02:00
|
|
|
|
2004-06-28 23:13:21 +02:00
|
|
|
JARFILES= saxon-jdom.jar saxon.jar
|
2004-07-07 22:38:10 +02:00
|
|
|
PLIST_FILES+= ${JARFILES:S,^,%%JAVAJARDIR%%/,} bin/saxon
|
2005-06-30 15:42:19 +02:00
|
|
|
PORTDOCS= api api-guide.html changes.html conditions.html \
|
2004-11-10 03:37:24 +01:00
|
|
|
conformance.html dtdgen.html expressions.html \
|
2005-06-30 15:42:19 +02:00
|
|
|
extensibility.html extensions.html index.html \
|
|
|
|
instant.html limitations.html patterns.html samples.html \
|
|
|
|
saxon-style.css using-xsl.html xsl-elements.html
|
2002-01-30 08:18:36 +01:00
|
|
|
|
2005-06-30 15:42:19 +02:00
|
|
|
SUB_LIST= SAXON_JARS="${JARFILES:S,^,${JAVAJARDIR}/,}"
|
|
|
|
SUB_FILES= saxon.sh
|
2004-07-02 21:30:27 +02:00
|
|
|
|
2004-06-28 23:13:21 +02:00
|
|
|
do-install:
|
|
|
|
@${ECHO_MSG} -n ">> Installing JARs in ${JAVAJARDIR}..."
|
|
|
|
.for JARFILE in ${JARFILES}
|
|
|
|
@${ECHO_MSG} -n " ${JARFILE}"
|
2014-07-05 00:50:40 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${STAGEDIR}${JAVAJARDIR}/
|
2004-06-28 23:13:21 +02:00
|
|
|
.endfor
|
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
|
|
|
@${ECHO_MSG} -n ">> Installing samples in ${EXAMPLESDIR}..."
|
2014-08-06 06:34:23 +02:00
|
|
|
(cd ${WRKSRC}/samples/ && \
|
2014-06-11 11:57:12 +02:00
|
|
|
${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/{} \; && \
|
2014-08-06 06:34:23 +02:00
|
|
|
${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${EXAMPLESDIR}/{} \;)
|
2004-06-28 23:13:21 +02:00
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
2004-11-10 03:37:24 +01:00
|
|
|
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
|
2014-08-06 06:34:23 +02:00
|
|
|
(cd ${WRKSRC}/doc/ && \
|
2014-06-11 11:57:12 +02:00
|
|
|
${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; && \
|
2014-08-06 06:34:23 +02:00
|
|
|
${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;)
|
2004-06-28 23:13:21 +02:00
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
2004-07-02 21:30:27 +02:00
|
|
|
@${ECHO_MSG} -n ">> Installing script in ${PREFIX}/bin..."
|
2014-07-05 00:50:40 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/saxon.sh ${STAGEDIR}${PREFIX}/bin/saxon
|
2004-07-02 21:30:27 +02:00
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
2002-01-30 08:18:36 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|