diff options
author | hq <hq@FreeBSD.org> | 2006-08-06 23:21:41 +0000 |
---|---|---|
committer | hq <hq@FreeBSD.org> | 2006-08-06 23:21:41 +0000 |
commit | 93e222d8a49527678610d889ec1978db2c241dfe (patch) | |
tree | 7ecc13f94965170720f6b630063aee17ea82f5cc /textproc/xalan-j/Makefile | |
parent | 5d1649d1451013c9b39eec3f5e9bb86d8e0fb360 (diff) | |
download | FreeBSD-ports-93e222d8a49527678610d889ec1978db2c241dfe.zip FreeBSD-ports-93e222d8a49527678610d889ec1978db2c241dfe.tar.gz |
- Re-enable Java 1.5 [1]
- Use exec(1) to launch the JVM
- Set CLASSPATH so that it only contains the required JAR files
Submitted by: mi [1] (a long time ago on freebsd-java@)
Diffstat (limited to 'textproc/xalan-j/Makefile')
-rw-r--r-- | textproc/xalan-j/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/textproc/xalan-j/Makefile b/textproc/xalan-j/Makefile index bbc6bcf..e345159 100644 --- a/textproc/xalan-j/Makefile +++ b/textproc/xalan-j/Makefile @@ -15,11 +15,10 @@ DISTNAME= ${PORTNAME}_${PORTVERSION:S/./_/g}-src MAINTAINER= hq@FreeBSD.org COMMENT= Apache XSLT processor for transforming XML documents -RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper \ - ${JAVALIBDIR}/xml-apis.jar:${PORTSDIR}/textproc/xerces-j +RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper USE_JAVA= yes -JAVA_VERSION= 1.2 1.3 1.4 +JAVA_VERSION= 1.2+ USE_ANT= yes WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION:S/./_/g} @@ -35,6 +34,10 @@ SUB_FILES= xalan-j.sh .include <bsd.port.pre.mk> +.if ${JAVA_PORT_VERSION:C/^([0-9])\.([0-9])(.*)$/\1.\2/} != "1.5" +RUN_DEPENDS+= ${JAVALIBDIR}/xml-apis.jar:${PORTSDIR}/textproc/xerces-j +.endif + do-install: @${ECHO_MSG} -n ">> Installing JAR files in ${JAVAJARDIR}..." .for jarfile in ${JARFILES} |