blob: 42beec98560423fa5c5edd7e4ad8909cf1f3cc35 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
PORTNAME= saxon
PORTVERSION= 6.5.5
PORTREVISION= 1
CATEGORIES= textproc java
MASTER_SITES= SF/${PORTNAME}/saxon6/${PORTVERSION}
DISTNAME= ${PORTNAME}${PORTVERSION:S/./-/g}
MAINTAINER= ports@FreeBSD.org
COMMENT= XSLT 1.0 processor for Java
WWW= https://saxon.sourceforge.net/
LICENSE= MPL10
USES= zip
USE_JAVA= yes
NO_WRKSUBDIR= yes
NO_BUILD= yes
NO_ARCH= yes
CONFLICTS= saxon-devel-8.*
JARFILES= saxon-jdom.jar saxon.jar
PLIST_FILES= ${JARFILES:S,^,%%JAVAJARDIR%%/,} bin/saxon
PORTDOCS= api api-guide.html changes.html conditions.html \
conformance.html dtdgen.html expressions.html \
extensibility.html extensions.html index.html \
instant.html limitations.html patterns.html samples.html \
saxon-style.css using-xsl.html xsl-elements.html
SUB_LIST= SAXON_JARS="${JARFILES:S,^,${JAVAJARDIR}/,}"
SUB_FILES= saxon.sh
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
.for JARFILE in ${JARFILES}
${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${STAGEDIR}${JAVAJARDIR}/
.endfor
${INSTALL_SCRIPT} ${WRKDIR}/saxon.sh ${STAGEDIR}${PREFIX}/bin/saxon
do-install-DOCS-on:
@cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
do-install-EXAMPLES-on:
@cd ${WRKSRC}/samples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
|