aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/saxon/files
diff options
context:
space:
mode:
authorhq <hq@FreeBSD.org>2004-11-10 10:37:24 +0800
committerhq <hq@FreeBSD.org>2004-11-10 10:37:24 +0800
commitc1fc12b5f12908805f34d6a38035e3f4284148e9 (patch)
treef90e0024b879ab38fe0f1218491027f4b946dada /textproc/saxon/files
parent6ab2ce0f53c422ae652ebc87ba9daf0776c9432f (diff)
downloadfreebsd-ports-gnome-c1fc12b5f12908805f34d6a38035e3f4284148e9.tar.gz
freebsd-ports-gnome-c1fc12b5f12908805f34d6a38035e3f4284148e9.tar.zst
freebsd-ports-gnome-c1fc12b5f12908805f34d6a38035e3f4284148e9.zip
- Tweaked CLASSPATH in launcher script: Only Saxon installed JARs are indeed
required (given XML APIs and the Aelfred XML parser are included in saxon.jar) - Added some more "" in launcher script to ensure spaces in paths and args will not break anything - "${CP} -r" -> "${FIND} -exec ${INSTALL_DATA}" for samples and docs - Takeover maintainership
Diffstat (limited to 'textproc/saxon/files')
-rw-r--r--textproc/saxon/files/saxon.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/textproc/saxon/files/saxon.sh b/textproc/saxon/files/saxon.sh
index 9efa0af54b7d..dac9968aa166 100644
--- a/textproc/saxon/files/saxon.sh
+++ b/textproc/saxon/files/saxon.sh
@@ -2,5 +2,10 @@
#
# $FreeBSD$
-export CLASSPATH=`%%PREFIX%%/bin/classpath`
-javavm -jar %%JAVAJARDIR%%/saxon.jar $@
+SAXON_CLASSPATH=""
+for jarfile in %%SAXON_JARS%%
+do
+ SAXON_CLASSPATH="${SAXON_CLASSPATH}:${jarfile}"
+done
+
+"%%LOCALBASE%%/bin/javavm" -classpath "${SAXON_CLASSPATH}" com.icl.saxon.StyleSheet "$@"