diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2000-07-25 15:24:02 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2000-07-25 15:24:02 +0800 |
commit | cbb284e4300a0589a3aa56eaad98abd1063495a6 (patch) | |
tree | 66dd97ee5534fab331d91d57f33b0b11bb304d00 /textproc | |
parent | 6b2547cd4d1c51900a0743ac0142fc3c69215dbe (diff) | |
download | freebsd-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')
-rw-r--r-- | textproc/xt/Makefile | 4 | ||||
-rw-r--r-- | textproc/xt/files/xt-xml4j.sh | 5 | ||||
-rw-r--r-- | textproc/xt/files/xt-xp.sh | 6 | ||||
-rw-r--r-- | textproc/xt/pkg-plist | 1 |
4 files changed, 12 insertions, 4 deletions
diff --git a/textproc/xt/Makefile b/textproc/xt/Makefile index faeb45f7e7f3..bc1687448290 100644 --- a/textproc/xt/Makefile +++ b/textproc/xt/Makefile @@ -24,12 +24,14 @@ DIR= ${PREFIX}/share/java do-build: ${SED} -e s,%%PREFIX%%,${PREFIX},g ${FILESDIR}/xt-xml4j.sh > ${WRKSRC}/xt-xml4j + ${SED} -e s,%%PREFIX%%,${PREFIX},g ${FILESDIR}/xt-xp.sh > ${WRKSRC}/xt-xp do-install: ${MKDIR} ${DIR}/classes ${DIR}/xt (cd ${WRKSRC};\ ${INSTALL_DATA} xt.jar sax.jar ${DIR}/classes; \ ${CP} -R copying.txt demo xt.htm ${DIR}/xt; \ - ${INSTALL_SCRIPT} ${WRKSRC}/xt-xml4j ${PREFIX}/bin) + ${INSTALL_SCRIPT} ${WRKSRC}/xt-xml4j ${PREFIX}/bin; \ + ${INSTALL_SCRIPT} ${WRKSRC}/xt-xp ${PREFIX}/bin) .include <bsd.port.mk> 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 $* diff --git a/textproc/xt/pkg-plist b/textproc/xt/pkg-plist index ca589cb4b833..5a7355db6a33 100644 --- a/textproc/xt/pkg-plist +++ b/textproc/xt/pkg-plist @@ -1,4 +1,5 @@ bin/xt-xml4j +bin/xt-xp share/java/classes/sax.jar share/java/classes/xt.jar share/java/xt/copying.txt |