trang stable port information

Package: trang
Version: 20030619
Revision: 1
Description: Multi-format schema converter based on RELAX NG
License: OSI-Approved
Maintainer: Rohan Lloyd
BuildDepends: fink (>= 0.24.12)
Depends: jing
Source: http://www.thaiopensource.com/download/%n-%v.zip
SourceDirectory:
Source-MD5: 9611ea59fda0f62fecc4a5017a72984e
PatchFile: %n.patch
PatchFile-MD5: 52d05a4a99fba618f400eedc122cf71f
PatchScript: <<
/usr/bin/sed 's|@PREFIX@|%p|g' <%{PatchFile} | /usr/bin/patch -p1
<<
CompileScript: echo "Nothing to do for Compile"
InstallScript:<<
/usr/bin/install -m 755 -d %i/bin
/usr/bin/install -m 755 bin/%n %i/bin

/usr/bin/install -m 755 -d %i/share/%n
/usr/bin/install -m 644 trang.jar %i/share/%n

/usr/bin/install -m 755 -d %i/share/man/man1
/usr/bin/install -m 644 man/%n.1 %i/share/man/man1
<<
DocFiles: copying.txt trang-manual.html
Homepage: http://www.thaiopensource.com/relaxng/trang.html
DescDetail: <<
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

A schema written in any of the supported schema languages can be
converted into any of the other supported schema languages, except
that W3C XML Schema is supported for output only, not for input.

Trang can also infer a schema from one or more example XML documents.

Trang is constructed around an RELAX NG object model designed to
support schema conversion. For each schema language supported for
input, there is an input module that can convert from the schema
language into this internal object model. Similarly, for each schema
language supported for output, there is an output module that can
convert from the internal object model in the schema language.

Trang aims to produce human-understandable schemas; it tries for a
translation that preserves all aspects of the input schema that may be
significant to a human reader, including the definitions, the way the
schema is divided into files, annotations and comments.

Trang has a command-line user interface. It has no graphical user
interface.
<<

trang stable port .patch

diff -Naur trang-20030619/bin/trang trang-20030619.fink/bin/trang
--- trang-20030619/bin/trang Thu Jan 1 10:00:00 1970
+++ trang-20030619.fink/bin/trang Thu Oct 23 00:33:55 2003
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exec java -cp @PREFIX@/share/trang/trang.jar:@PREFIX@/share/jing/jing.jar com.thaiopensource.relaxng.translate.Driver $*
+
diff -Naur trang-20030619/man/trang.1 trang-20030619.fink/man/trang.1
--- trang-20030619/man/trang.1 Thu Jan 1 10:00:00 1970
+++ trang-20030619.fink/man/trang.1 Thu Oct 23 00:42:52 2003
@@ -0,0 +1,18 @@
+.\" Man page for trang
+.Dd October 22, 2003
+.Dt TRANG 1
+.Os
+.Sh NAME
+.Nm trang
+.Nd Multi-format schema converter based on RELAX NG
+.Sh SYNOPSIS
+.Nm
+.Op Fl I Li rng|rnc|dtd|xml
+.Op Fl O Li rng|rnc|dtd|xsd
+.Op Fl i Ar input-param
+.Op Fl o Ar output-param
+.Ar input output
+.Sh DESCRIPTION
+See @PREFIX@/share/doc/trang/trang-manual.html
+.Sh SEE ALSO
+.Xr jing 1

trang _unstable_ port .patch