diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2000-07-25 07:24:02 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2000-07-25 07:24:02 +0000 |
commit | ea68d712e12b09783359c50b4bfddcb9da8ebf38 (patch) | |
tree | 1ade3b0642bb795ab15fbb4c0d95fa68841adb95 /textproc/xt | |
parent | 3180af4e4217b5371d01c192b0772335f99b7735 (diff) |
Modify class path in xt-xml4j.sh and add xt-xp.sh.
Submitted by: dirk
Notes
Notes:
svn path=/head/; revision=31017
Diffstat (limited to 'textproc/xt')
-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 |