blob: 733de201b49a7553a69a019a11987fc39f6bc952 (
plain)
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# New ports collection makefile for: saxon
# Date created: 30 January 2002
# Whom: Kimura Fuyuki <fuyuki@mj.0038.net>
#
# $FreeBSD$
#
PORTNAME= saxon
PORTVERSION= 6.5.4
CATEGORIES= textproc java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= saxon
DISTNAME= ${PORTNAME}${PORTVERSION:S/./-/g}
MAINTAINER= hq@FreeBSD.org
COMMENT= An XSLT 1.0 processor for Java
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.2+
NO_WRKSUBDIR= yes
NO_BUILD= yes
CONFLICTS= saxon-devel-8.*
JARFILES= saxon-jdom.jar saxon.jar
PLIST_FILES+= ${JARFILES:S,^,%%JAVAJARDIR%%/,} bin/saxon
.if !defined(NOPORTDOCS)
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
.endif
SUB_LIST= SAXON_JARS="${JARFILES:S,^,${JAVAJARDIR}/,}"
SUB_FILES= saxon.sh
do-install:
@${ECHO_MSG} -n ">> Installing JARs in ${JAVAJARDIR}..."
.for JARFILE in ${JARFILES}
@${ECHO_MSG} -n " ${JARFILE}"
@${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${JAVAJARDIR}/
.endfor
@${ECHO_MSG} " [ DONE ]"
@${ECHO_MSG} -n ">> Installing samples in ${EXAMPLESDIR}..."
@cd ${WRKSRC}/samples/ && \
${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/{} \; && \
${FIND} . -type f -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/{} \;
@${ECHO_MSG} " [ DONE ]"
.if !defined(NOPORTDOCS)
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
@cd ${WRKSRC}/doc/ && \
${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${DOCSDIR}/{} \; && \
${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
@${ECHO_MSG} " [ DONE ]"
.endif
@${ECHO_MSG} -n ">> Installing script in ${PREFIX}/bin..."
@${INSTALL_SCRIPT} ${WRKDIR}/saxon.sh ${PREFIX}/bin/saxon
@${ECHO_MSG} " [ DONE ]"
.include <bsd.port.mk>
|