diff options
author | glewis <glewis@FreeBSD.org> | 2004-07-17 16:19:44 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2004-07-17 16:19:44 +0800 |
commit | 620aadd25f4f8a5f8f5ae9a081067bb85496c6e7 (patch) | |
tree | 1a5270dcaee3454028857c2354774f99b2069145 /textproc/saxon-devel | |
parent | cb1d4311e4bc9c985fa0cd17c4c206b63081b7f1 (diff) | |
download | freebsd-ports-gnome-620aadd25f4f8a5f8f5ae9a081067bb85496c6e7.tar.gz freebsd-ports-gnome-620aadd25f4f8a5f8f5ae9a081067bb85496c6e7.tar.zst freebsd-ports-gnome-620aadd25f4f8a5f8f5ae9a081067bb85496c6e7.zip |
. Alter the saxon.sh script to set the JAVAVM variable to the value chosen
by bsd.java.mk during the build. This fixes a problems where the
javavmwrapper (used by the script) could have potentially picked an
incorrect JDK to use.
. Bump PORTREVISION.
PR: 69157
Submitted by: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
Diffstat (limited to 'textproc/saxon-devel')
-rw-r--r-- | textproc/saxon-devel/Makefile | 5 | ||||
-rw-r--r-- | textproc/saxon-devel/files/saxon.sh | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/textproc/saxon-devel/Makefile b/textproc/saxon-devel/Makefile index b7778e06b5d2..ab827517425d 100644 --- a/textproc/saxon-devel/Makefile +++ b/textproc/saxon-devel/Makefile @@ -7,11 +7,12 @@ PORTNAME= saxon PORTVERSION= 8.0 +PORTREVISION= 1 CATEGORIES= textproc java MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} MASTER_SITE_SUBDIR= saxon PKGNAMESUFFIX= -devel -DISTNAME= ${PORTNAME}b${PORTVERSION:S/./-/g} +DISTNAME= ${PORTNAME}b${PORTVERSION:S,.,-,g} MAINTAINER= ports@FreeBSD.org COMMENT= An XSLT 2.0 / XPath 2.0 / XQuery 1.0 processor for Java @@ -33,7 +34,7 @@ PORTDOCS= background documentation img index.html javadoc saxon.css .endif do-configure: - @${SED} 's|%%PREFIX%%|${PREFIX}|g ; s|%%JAVAJARDIR%%|${JAVAJARDIR}|g' \ + @${SED} 's|%%PREFIX%%|${PREFIX}|g ; s|%%JAVAJARDIR%%|${JAVAJARDIR}|g ; s|%%JAVAVM%%|${JAVA}|g' \ ${FILESDIR}/saxon.sh >${WRKSRC}/saxon do-install: diff --git a/textproc/saxon-devel/files/saxon.sh b/textproc/saxon-devel/files/saxon.sh index 16df51f67582..6ce24f729bc4 100644 --- a/textproc/saxon-devel/files/saxon.sh +++ b/textproc/saxon-devel/files/saxon.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/textproc/saxon-devel/files/Attic/saxon.sh,v 1.1 2004-07-07 20:36:36 glewis Exp $ +# $FreeBSD: /tmp/pcvs/ports/textproc/saxon-devel/files/Attic/saxon.sh,v 1.2 2004-07-17 08:19:44 glewis Exp $ export CLASSPATH=`%%PREFIX%%/bin/classpath` -javavm -jar %%JAVAJARDIR%%/saxon8.jar $@ +JAVAVM=%%JAVAVM%% javavm -jar %%JAVAJARDIR%%/saxon8.jar $@ |