From 37622b0723b3068a1f6e2d00bd9e1b8a13371cf4 Mon Sep 17 00:00:00 2001 From: kuriyama Date: Thu, 24 Jun 1999 15:23:12 +0000 Subject: XSL Transformations (XSLT) implementation in Java. --- textproc/xt/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ textproc/xt/distinfo | 1 + textproc/xt/files/xt-xml4j.sh | 7 +++++++ textproc/xt/pkg-comment | 1 + textproc/xt/pkg-descr | 5 +++++ textproc/xt/pkg-plist | 15 +++++++++++++++ 6 files changed, 68 insertions(+) create mode 100644 textproc/xt/Makefile create mode 100644 textproc/xt/distinfo create mode 100644 textproc/xt/files/xt-xml4j.sh create mode 100644 textproc/xt/pkg-comment create mode 100644 textproc/xt/pkg-descr create mode 100644 textproc/xt/pkg-plist (limited to 'textproc/xt') diff --git a/textproc/xt/Makefile b/textproc/xt/Makefile new file mode 100644 index 0000000..9b07808 --- /dev/null +++ b/textproc/xt/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: XT +# Version required: 19990514 +# Date created: 23 June 1999 +# Whom: Jun Kuriyama +# +# $Id$ +# + +DISTNAME= xt +PKGNAME= xt-19990514 +CATEGORIES= textproc +MASTER_SITES= ftp://ftp.jclark.com/pub/xml/ +EXTRACT_SUFX= .zip + +MAINTAINER= kuriyama@FreeBSD.ORG + +BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip +RUN_DEPENDS= ${PREFIX}/${JAVASUBDIR}/bin/java:${PORTSDIR}/lang/jdk + +EXTRACT_CMD= unzip +EXTRACT_BEFORE_ARGS= -a -q -L +EXTRACT_AFTER_ARGS= # empty +NO_WRKSUBDIR= YES +PLIST_SUB= JAVASUBDIR=${JAVASUBDIR} + +JAVASUBDIR= jdk1.1.8 +DIR= ${PREFIX}/share/java + +do-build: + ${SED} -e s,%%PREFIX%%,${PREFIX},g ${FILESDIR}/xt-xml4j.sh > ${WRKSRC}/xt-xml4j + +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) + +.include diff --git a/textproc/xt/distinfo b/textproc/xt/distinfo new file mode 100644 index 0000000..9172cf4 --- /dev/null +++ b/textproc/xt/distinfo @@ -0,0 +1 @@ +MD5 (xt.zip) = 7f0a3839e452cd5866d25b4bce02200f diff --git a/textproc/xt/files/xt-xml4j.sh b/textproc/xt/files/xt-xml4j.sh new file mode 100644 index 0000000..34d2be9 --- /dev/null +++ b/textproc/xt/files/xt-xml4j.sh @@ -0,0 +1,7 @@ +#!/bin/sh +# $Id$ + +export CLASSPATH=%%PREFIX%%/share/java/classes/xt.jar:%%PREFIX%%/share/java/classes/xml4j.jar:${CLASSPATH} + +java -Dcom.jclark.xsl.sax.parser=com.ibm.xml.parser.SAXDriver com.jclark.xsl.sax.Driver $* + diff --git a/textproc/xt/pkg-comment b/textproc/xt/pkg-comment new file mode 100644 index 0000000..6014aab --- /dev/null +++ b/textproc/xt/pkg-comment @@ -0,0 +1 @@ +XSL Transformations (XSLT) implementation in Java diff --git a/textproc/xt/pkg-descr b/textproc/xt/pkg-descr new file mode 100644 index 0000000..0e60d49 --- /dev/null +++ b/textproc/xt/pkg-descr @@ -0,0 +1,5 @@ +XT is an implementation in Java of XSL Transformations. + +This requires SAX such as XP or XML4J (ports/textproc/xml4j). + +WWW: http://www.jclark.com/xt/ diff --git a/textproc/xt/pkg-plist b/textproc/xt/pkg-plist new file mode 100644 index 0000000..1bb280c --- /dev/null +++ b/textproc/xt/pkg-plist @@ -0,0 +1,15 @@ +bin/xt-xml4j +share/java/classes/sax.jar +share/java/classes/xt.jar +share/java/xt/copying.txt +share/java/xt/demo/date.xsl +share/java/xt/demo/nxml.xsl +share/java/xt/demo/slides.xsl +share/java/xt/demo/split.xsl +share/java/xt/demo/textfile.xsl +share/java/xt/demo/slides.xml +share/java/xt/demo/split.xml +share/java/xt/demo/textfile.xml +share/java/xt/xt.htm +@dirrm share/java/xt/demo +@dirrm share/java/xt -- cgit v1.1