aboutsummaryrefslogtreecommitdiff
path: root/textproc/xt
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2002-07-29 04:34:38 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2002-07-29 04:34:38 +0000
commit44cbe378e9298ea11d53dc4e71f3c6170fc8a965 (patch)
tree1d4bc400364be415147f0d19ec710118bb673381 /textproc/xt
parent9d20fdf9f0f310976e73bf69dbc0aa581869853f (diff)
downloadports-44cbe378e9298ea11d53dc4e71f3c6170fc8a965.tar.gz
ports-44cbe378e9298ea11d53dc4e71f3c6170fc8a965.zip
Notes
Diffstat (limited to 'textproc/xt')
-rw-r--r--textproc/xt/Makefile7
-rw-r--r--textproc/xt/files/xt-xml4j.sh2
-rw-r--r--textproc/xt/files/xt-xp.sh2
3 files changed, 5 insertions, 6 deletions
diff --git a/textproc/xt/Makefile b/textproc/xt/Makefile
index d5d972ca9e86..702dca42cd64 100644
--- a/textproc/xt/Makefile
+++ b/textproc/xt/Makefile
@@ -7,19 +7,18 @@
PORTNAME= xt
PORTVERSION= 19991105
+PORTREVISION= 1
CATEGORIES= textproc java
MASTER_SITES= ftp://ftp.jclark.com/pub/xml/
DISTNAME= ${PORTNAME}
MAINTAINER= kuriyama@FreeBSD.org
-RUN_DEPENDS= ${LOCALBASE}/${JAVASUBDIR}/bin/java:${PORTSDIR}/java/jdk11
-
+USE_JAVA= 1.1+
USE_ZIP= YES
+NO_BUILD_DEPENDS_JAVA= YES
NO_WRKSUBDIR= YES
-PLIST_SUB= JAVASUBDIR=${JAVASUBDIR}
-JAVASUBDIR= jdk1.1.8
DIR= ${PREFIX}/share/java
do-build:
diff --git a/textproc/xt/files/xt-xml4j.sh b/textproc/xt/files/xt-xml4j.sh
index 39d6e7b6d19f..8960c80b107a 100644
--- a/textproc/xt/files/xt-xml4j.sh
+++ b/textproc/xt/files/xt-xml4j.sh
@@ -3,4 +3,4 @@
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 $*
+javavm -Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser com.jclark.xsl.sax.Driver $* \ No newline at end of file
diff --git a/textproc/xt/files/xt-xp.sh b/textproc/xt/files/xt-xp.sh
index eea97127ca93..d857f10b4d00 100644
--- a/textproc/xt/files/xt-xp.sh
+++ b/textproc/xt/files/xt-xp.sh
@@ -3,4 +3,4 @@
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 $*
+javavm com.jclark.xsl.sax.Driver $*