mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Modify class path in xt-xml4j.sh and add xt-xp.sh.
Submitted by: dirk
This commit is contained in:
parent
3180af4e42
commit
ea68d712e1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31017
@ -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>
|
||||
|
@ -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 $*
|
||||
|
6
textproc/xt/files/xt-xp.sh
Normal file
6
textproc/xt/files/xt-xp.sh
Normal file
@ -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 $*
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user