2002-01-30 08:18:36 +01:00
|
|
|
# New ports collection makefile for: saxon
|
|
|
|
# Date created: 30 January 2002
|
|
|
|
# Whom: Kimura Fuyuki <fuyuki@mj.0038.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= saxon
|
2004-06-28 23:13:21 +02:00
|
|
|
PORTVERSION= 6.5.3
|
2004-07-02 21:30:27 +02:00
|
|
|
PORTREVISION= 1
|
2002-01-30 08:18:36 +01:00
|
|
|
CATEGORIES= textproc java
|
2004-06-28 23:13:21 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
2002-01-30 08:18:36 +01:00
|
|
|
MASTER_SITE_SUBDIR= saxon
|
2002-02-09 09:01:10 +01:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:S/./_/g}
|
2002-01-30 08:18:36 +01:00
|
|
|
|
2004-11-10 03:37:24 +01:00
|
|
|
MAINTAINER= hq@FreeBSD.org
|
2003-02-15 14:00:46 +01:00
|
|
|
COMMENT= An XSLT processor for Java
|
2002-01-30 08:18:36 +01:00
|
|
|
|
2004-07-02 21:30:27 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/javavm:${PORTSDIR}/java/javavmwrapper
|
|
|
|
|
2002-01-30 08:18:36 +01:00
|
|
|
USE_ZIP= yes
|
2004-06-28 23:13:21 +02:00
|
|
|
USE_JAVA= yes
|
|
|
|
JAVA_VERSION= 1.1+
|
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.*
|
|
|
|
|
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
|
2004-06-28 23:13:21 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-11-10 03:37:24 +01:00
|
|
|
PORTDOCS= api api-guide.html changes.html changes5.html conditions.html \
|
|
|
|
conformance.html dtdgen.html expressions.html \
|
|
|
|
extensibility.html extensions.html history.html index.html \
|
|
|
|
instant.html patterns.html samples.html saxon-style.css \
|
|
|
|
using-xsl.html xsl-elements.html
|
2004-06-28 23:13:21 +02:00
|
|
|
.endif
|
2002-01-30 08:18:36 +01:00
|
|
|
|
2004-06-28 23:13:21 +02:00
|
|
|
post-extract:
|
|
|
|
@${RMDIR} ${WRKSRC}/samples/ot
|
2002-01-30 08:18:36 +01:00
|
|
|
|
2004-07-02 21:30:27 +02:00
|
|
|
do-configure:
|
2004-11-10 03:37:24 +01:00
|
|
|
@${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g ; \
|
|
|
|
s|%%SAXON_JARS%%|${JARFILES:S,^,${JAVAJARDIR}/,}|' \
|
2004-07-02 21:30:27 +02:00
|
|
|
${FILESDIR}/saxon.sh >${WRKSRC}/saxon
|
|
|
|
|
2004-06-28 23:13:21 +02:00
|
|
|
do-install:
|
|
|
|
@${ECHO_MSG} -n ">> Installing JARs in ${JAVAJARDIR}..."
|
|
|
|
@${MKDIR} ${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}..."
|
2004-11-10 03:37:24 +01:00
|
|
|
@cd ${WRKSRC}/samples/ && \
|
|
|
|
${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/{} \; && \
|
|
|
|
${FIND} . -type f -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/{} \;
|
2004-06-28 23:13:21 +02:00
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
2002-01-30 08:18:36 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-11-10 03:37:24 +01:00
|
|
|
@${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}/{} \;
|
2004-06-28 23:13:21 +02:00
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
2002-01-30 08:18:36 +01:00
|
|
|
.endif
|
2004-07-02 21:30:27 +02:00
|
|
|
@${ECHO_MSG} -n ">> Installing script in ${PREFIX}/bin..."
|
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/saxon ${PREFIX}/bin/
|
|
|
|
@${ECHO_MSG} " [ DONE ]"
|
2002-01-30 08:18:36 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|