aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/xt/files
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2000-07-25 15:24:02 +0800
committerkuriyama <kuriyama@FreeBSD.org>2000-07-25 15:24:02 +0800
commitcbb284e4300a0589a3aa56eaad98abd1063495a6 (patch)
tree66dd97ee5534fab331d91d57f33b0b11bb304d00 /textproc/xt/files
parent6b2547cd4d1c51900a0743ac0142fc3c69215dbe (diff)
downloadfreebsd-ports-gnome-cbb284e4300a0589a3aa56eaad98abd1063495a6.tar.gz
freebsd-ports-gnome-cbb284e4300a0589a3aa56eaad98abd1063495a6.tar.zst
freebsd-ports-gnome-cbb284e4300a0589a3aa56eaad98abd1063495a6.zip
Modify class path in xt-xml4j.sh and add xt-xp.sh.
Submitted by: dirk
Diffstat (limited to 'textproc/xt/files')
-rw-r--r--textproc/xt/files/xt-xml4j.sh5
-rw-r--r--textproc/xt/files/xt-xp.sh6
2 files changed, 8 insertions, 3 deletions
diff --git a/textproc/xt/files/xt-xml4j.sh b/textproc/xt/files/xt-xml4j.sh
index 842b3652fc6d..39d6e7b6d19f 100644
--- a/textproc/xt/files/xt-xml4j.sh
+++ b/textproc/xt/files/xt-xml4j.sh
@@ -1,7 +1,6 @@
#!/bin/sh
# $FreeBSD$
-export CLASSPATH=%%PREFIX%%/share/java/classes/xt.jar:%%PREFIX%%/share/java/classes/xml4j.jar:${CLASSPATH}
-
-java -Dcom.jclark.xsl.sax.parser=com.ibm.xml.parsers.SAXParser com.jclark.xsl.sax.Driver $*
+export CLASSPATH=%%PREFIX%%/share/java/classes/xt.jar:%%PREFIX%%/share/java/classes/xerces.jar:${CLASSPATH}
+java -Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser com.jclark.xsl.sax.Driver $*
diff --git a/textproc/xt/files/xt-xp.sh b/textproc/xt/files/xt-xp.sh
new file mode 100644
index 000000000000..eea97127ca93
--- /dev/null
+++ b/textproc/xt/files/xt-xp.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+# $FreeBSD$
+
+export CLASSPATH=%%PREFIX%%/share/java/classes/xt.jar:%%PREFIX%%/share/java/classes/xp-0.5.jar:%%PREFIX%%/share/java/classes/sax.jar:${CLASSPATH}
+
+java com.jclark.xsl.sax.Driver $*