From b5102489af83a7b9621d71550594c5531d4187db Mon Sep 17 00:00:00 2001 From: pav Date: Sun, 29 Feb 2004 14:11:39 +0000 Subject: Add trang, convertor between different schema languages for XML. It supports the following languages: * RELAX NG (XML syntax) * RELAX NG compact syntax * XML 1.0 DTDs * W3C XML Schema WWW: http://www.thaiopensource.com/relaxng/trang.html PR: ports/61706 Submitted by: Kimura Fuyuki --- textproc/Makefile | 1 + textproc/trang/Makefile | 36 ++++++++++++++++++++++++++++++++++++ textproc/trang/distinfo | 1 + textproc/trang/pkg-descr | 9 +++++++++ textproc/trang/pkg-plist | 2 ++ 5 files changed, 49 insertions(+) create mode 100644 textproc/trang/Makefile create mode 100644 textproc/trang/distinfo create mode 100644 textproc/trang/pkg-descr create mode 100644 textproc/trang/pkg-plist diff --git a/textproc/Makefile b/textproc/Makefile index ff007a4..9e00d6f 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -513,6 +513,7 @@ SUBDIR += texi2html SUBDIR += tkdiff SUBDIR += tnef2txt + SUBDIR += trang SUBDIR += tth SUBDIR += txt2html SUBDIR += txt2man diff --git a/textproc/trang/Makefile b/textproc/trang/Makefile new file mode 100644 index 0000000..2399e71 --- /dev/null +++ b/textproc/trang/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: Trang +# Date created: 22 January 2004 +# Whom: Kimura Fuyuki +# +# $FreeBSD$ +# + +PORTNAME= trang +PORTVERSION= 2003.06.19 +CATEGORIES= textproc +MASTER_SITES= http://www.thaiopensource.com/download/ +DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g} + +MAINTAINER= fuyuki@nigredo.org +COMMENT= Multi-format schema converter based on RELAX NG + +USE_ZIP= yes +USE_JAVA= 1.4+ +PORTDOCS= copying.txt trang-manual.html + +NO_BUILD_DEPENDS_JAVA= yes + +do-build: + ${ECHO_CMD} '#/bin/sh' >${WRKSRC}/trang + ${ECHO_CMD} 'exec javavm -jar ${JAVAJARDIR}/trang.jar "$$@"' \ + >>${WRKSRC}/trang + +do-install: + ${INSTALL_DATA} ${WRKSRC}/*.jar ${JAVAJARDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/trang ${PREFIX}/bin +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} +.endif + +.include diff --git a/textproc/trang/distinfo b/textproc/trang/distinfo new file mode 100644 index 0000000..6d19723 --- /dev/null +++ b/textproc/trang/distinfo @@ -0,0 +1 @@ +MD5 (trang-20030619.zip) = 9611ea59fda0f62fecc4a5017a72984e diff --git a/textproc/trang/pkg-descr b/textproc/trang/pkg-descr new file mode 100644 index 0000000..3f5aec1 --- /dev/null +++ b/textproc/trang/pkg-descr @@ -0,0 +1,9 @@ +Trang converts between different schema languages for XML. It +supports the following languages: + + * RELAX NG (XML syntax) + * RELAX NG compact syntax + * XML 1.0 DTDs + * W3C XML Schema + +WWW: http://www.thaiopensource.com/relaxng/trang.html diff --git a/textproc/trang/pkg-plist b/textproc/trang/pkg-plist new file mode 100644 index 0000000..251be9a --- /dev/null +++ b/textproc/trang/pkg-plist @@ -0,0 +1,2 @@ +bin/trang +share/java/classes/trang.jar -- cgit v1.1