1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/textproc/xt/files/xt.sh
Jun Kuriyama 00cc061408 o Apply ports/73114 (1)
- Update to 20020426a.
    - Update to bsd.java.mk 2.0
    - Register dependencies on textproc/xp and textproc/xml4j
    - Honor hier(7): install docs in DOCSDIR, samples in EXAMPLESDIR
    - Honor NOPORTDOCS
    - Single script with symlinks
    - Use 'classpath' from java/javavmwrapper
o Release maintainership.

PR:		ports/73114
Submitted by:	hq (1)
2004-12-29 13:39:02 +00:00

13 lines
290 B
Bash

#!/bin/sh
# $FreeBSD$
IAM=`basename ${0}`
if [ "${IAM}" = "xt-xml4j" ]
then
JAVA_ARGS="${JAVA_ARGS} -Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser"
fi
export CLASSPATH=`"%%LOCALBASE%%/bin/classpath"`
"%%LOCALBASE%%/bin/javavm" ${JAVA_ARGS} com.jclark.xsl.sax.Driver $*