Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jan 2004 13:46:47 +0900
From:      Kimura Fuyuki <fuyuki@nigredo.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/61706: New port: textproc/trang - Multi-format schema converter based on RELAX NG
Message-ID:  <86n08gr3ns.wl%fuyuki@nigredo.org>
Resent-Message-ID: <200401220450.i0M4oE6J012373@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         61706
>Category:       ports
>Synopsis:       New port: textproc/trang - Multi-format schema converter based on RELAX NG
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 21 20:50:13 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Kimura Fuyuki
>Release:        FreeBSD 5.2-RELEASE i386
>Organization:
>Environment:

  FreeBSD ns.nigredo.org 5.2-RELEASE i386

>Description:
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

>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	trang
#	trang/distinfo
#	trang/pkg-descr
#	trang/pkg-plist
#	trang/Makefile
#
echo c - trang
mkdir -p trang > /dev/null 2>&1
echo x - trang/distinfo
sed 's/^X//' >trang/distinfo << 'END-of-trang/distinfo'
XMD5 (trang-20030619.zip) = 9611ea59fda0f62fecc4a5017a72984e
END-of-trang/distinfo
echo x - trang/pkg-descr
sed 's/^X//' >trang/pkg-descr << 'END-of-trang/pkg-descr'
XTrang converts between different schema languages for XML.  It
Xsupports the following languages:
X
X    * RELAX NG (XML syntax)
X    * RELAX NG compact syntax
X    * XML 1.0 DTDs
X    * W3C XML Schema
X
XWWW: http://www.thaiopensource.com/relaxng/trang.html
END-of-trang/pkg-descr
echo x - trang/pkg-plist
sed 's/^X//' >trang/pkg-plist << 'END-of-trang/pkg-plist'
Xbin/trang
Xshare/java/classes/trang.jar
END-of-trang/pkg-plist
echo x - trang/Makefile
sed 's/^X//' >trang/Makefile << 'END-of-trang/Makefile'
X# New ports collection makefile for:   Trang
X# Date created:                22 January 2004
X# Whom:                        Kimura Fuyuki <fuyuki@nigredo.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	trang
XPORTVERSION=	2003.06.19
XCATEGORIES=	textproc
XMASTER_SITES=	http://www.thaiopensource.com/download/
XDISTNAME=	${PORTNAME}-${PORTVERSION:S/.//g}
X
XMAINTAINER=	fuyuki@nigredo.org
XCOMMENT=	Multi-format schema converter based on RELAX NG
X
XUSE_ZIP=	yes
XUSE_JAVA=	1.4+
XPORTDOCS=	copying.txt trang-manual.html
X
XNO_BUILD_DEPENDS_JAVA=	yes
X
Xdo-build:
X	${ECHO_CMD} '#/bin/sh' >${WRKSRC}/trang
X	${ECHO_CMD} 'exec javavm -jar ${JAVAJARDIR}/trang.jar "$$@"' \
X		>>${WRKSRC}/trang
X
Xdo-install:
X	${INSTALL_DATA} ${WRKSRC}/*.jar ${JAVAJARDIR}
X	${INSTALL_SCRIPT} ${WRKSRC}/trang ${PREFIX}/bin
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-trang/Makefile
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86n08gr3ns.wl%fuyuki>