aboutsummaryrefslogtreecommitdiff
path: root/textproc/xalan-j/files
diff options
context:
space:
mode:
authorHerve Quiroz <hq@FreeBSD.org>2005-05-24 18:21:04 +0000
committerHerve Quiroz <hq@FreeBSD.org>2005-05-24 18:21:04 +0000
commit006c3e419ebe554c76d8d0dfa663cdf04572e6b3 (patch)
treee47fd39fa4dd9c2ea6ff6420bfa8018437c140ef /textproc/xalan-j/files
parent9e00e5231dbc3299f9fdc82cdab7af8ca7f03fd3 (diff)
downloadports-006c3e419ebe554c76d8d0dfa663cdf04572e6b3.tar.gz
ports-006c3e419ebe554c76d8d0dfa663cdf04572e6b3.zip
Notes
Diffstat (limited to 'textproc/xalan-j/files')
-rw-r--r--textproc/xalan-j/files/xalan-j.sh.in5
-rw-r--r--textproc/xalan-j/files/xalan.sh4
2 files changed, 5 insertions, 4 deletions
diff --git a/textproc/xalan-j/files/xalan-j.sh.in b/textproc/xalan-j/files/xalan-j.sh.in
new file mode 100644
index 000000000000..463d16dae2ab
--- /dev/null
+++ b/textproc/xalan-j/files/xalan-j.sh.in
@@ -0,0 +1,5 @@
+#!/bin/sh
+# $FreeBSD$
+
+export CLASSPATH="`%%LOCALBASE%%/bin/classpath`:%%JAVAJARDIR%%/xalan.jar"
+JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" org.apache.xalan.xslt.Process "$@"
diff --git a/textproc/xalan-j/files/xalan.sh b/textproc/xalan-j/files/xalan.sh
deleted file mode 100644
index 03716b86c992..000000000000
--- a/textproc/xalan-j/files/xalan.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-export CLASSPATH=`%%LOCALBASE%%/bin/classpath`:%%JAVAJARDIR%%/xalan.jar
-exec %%LOCALBASE%%/bin/javavm org.apache.xalan.xslt.Process $@