freebsd-ports/textproc/saxon/Makefile
Mark Linimon 06e6677793 Now that the Java 1.3 and Java 1.4 ports are deprecated and will expire soon,
remove support for them from bsd.java.mk.  As Jikes is not available in Java 1.5
or higher, remove it from bsd.java.mk too (suggested by hq@) and from the ports
which used it (only occurences were USE_JIKES=no).  Support for the Blackdown VM
is also removed, as it is not available in Java 1.5 and higher.

Also remove the mapping from Java 1.1-1.4 to Java 1.5+ in bsd.java.mk to detect
old, broken ports; therefore bump the minimal value of JAVA_VERSION to 1.5.
While here, replace static values of JAVA_VERSION in files/*.in by
%%JAVA_VERSION%% .

PR:		ports/158969
Submitted by:	rene
Tested on:	pointyhat-west -exp
2011-07-21 05:03:02 +00:00

65 lines
1.9 KiB
Makefile

# New ports collection makefile for: saxon
# Date created: 30 January 2002
# Whom: Kimura Fuyuki <fuyuki@mj.0038.net>
#
# $FreeBSD$
#
PORTNAME= saxon
PORTVERSION= 6.5.5
CATEGORIES= textproc java
MASTER_SITES= SF/${PORTNAME}/saxon6/${PORTVERSION}
DISTNAME= ${PORTNAME}${PORTVERSION:S/./-/g}
MAINTAINER= hq@FreeBSD.org
COMMENT= An XSLT 1.0 processor for Java
LICENSE= MPL
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.5+
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>