diff options
author | pav <pav@FreeBSD.org> | 2004-02-29 14:11:39 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-02-29 14:11:39 +0000 |
commit | b5102489af83a7b9621d71550594c5531d4187db (patch) | |
tree | 234b163ddb22f1a2a7beacb9f61c638508c136fa /textproc/trang | |
parent | dbcf9a00bf4e7724b6a9dc3a95e89182810d0fa3 (diff) | |
download | FreeBSD-ports-b5102489af83a7b9621d71550594c5531d4187db.zip FreeBSD-ports-b5102489af83a7b9621d71550594c5531d4187db.tar.gz |
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 <fuyuki@nigredo.org>
Diffstat (limited to 'textproc/trang')
-rw-r--r-- | textproc/trang/Makefile | 36 | ||||
-rw-r--r-- | textproc/trang/distinfo | 1 | ||||
-rw-r--r-- | textproc/trang/pkg-descr | 9 | ||||
-rw-r--r-- | textproc/trang/pkg-plist | 2 |
4 files changed, 48 insertions, 0 deletions
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 <fuyuki@nigredo.org> +# +# $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 <bsd.port.mk> 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 |