[31366] trunk/dports/textproc
simon at macports.org
simon at macports.org
Wed Nov 21 07:31:51 PST 2007
Revision: 31366
http://trac.macosforge.org/projects/macports/changeset/31366
Author: simon at macports.org
Date: 2007-11-21 07:31:49 -0800 (Wed, 21 Nov 2007)
Log Message:
-----------
textproc/relames: New port. "Multi-Schema XML Validator to validate XML documents."
Added Paths:
-----------
trunk/dports/textproc/relames/
trunk/dports/textproc/relames/Portfile
trunk/dports/textproc/relames/files/
trunk/dports/textproc/relames/files/relames
Added: trunk/dports/textproc/relames/Portfile
===================================================================
--- trunk/dports/textproc/relames/Portfile (rev 0)
+++ trunk/dports/textproc/relames/Portfile 2007-11-21 15:31:49 UTC (rev 31366)
@@ -0,0 +1,48 @@
+# $Id$
+
+PortSystem 1.0
+
+name relames
+version 20060319
+categories textproc
+platforms darwin
+maintainers simon
+description Multi-Schema XML Validator to validate XML documents
+long_description The Sun Multi-Schema XML Validator (MSV) is a Java \
+ technology tool to validate XML documents against \
+ several kinds of XML schemata. It supports RELAX NG, \
+ RELAX Namespace, RELAX Core, TREX, XML DTDs, and a \
+ subset of XML Schema Part 1.
+
+homepage https://msv.dev.java.net/
+master_sites ${homepage}files/documents/61/31332/
+
+distname ${name}.${version}
+use_zip yes
+fetch.ignore_sslcert yes
+checksums md5 b2481ed4a4d9f6187713a01632688007 \
+ sha1 d348479df721ffc36a02113c7600bcb6d6b75961 \
+ rmd160 3c34c405cbcc61d1fcae510c79261996ed55683a
+worksrcdir ${name}-${version}
+
+depends_run bin:java:kaffe
+
+use_configure no
+
+build {}
+
+destroot {
+ # path to the relames java files (without ${destroot}):
+ set relames ${prefix}/share/java/relames
+
+ # install the relames script from files:
+ xinstall ${portpath}/${filesdir}/relames ${destroot}${prefix}/bin
+ # set the correct path to relames.jar in the relames script:
+ reinplace "s|@@RELAMES@@|${relames}/relames.jar|g" \
+ ${destroot}${prefix}/bin/relames
+ # install the relames java files:
+ xinstall -d ${destroot}${relames}
+ foreach jar [glob ${worksrcpath}/*.jar] {
+ xinstall $jar ${destroot}${relames}
+ }
+}
Property changes on: trunk/dports/textproc/relames/Portfile
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native
Added: trunk/dports/textproc/relames/files/relames
===================================================================
--- trunk/dports/textproc/relames/files/relames (rev 0)
+++ trunk/dports/textproc/relames/files/relames 2007-11-21 15:31:49 UTC (rev 31366)
@@ -0,0 +1,7 @@
+#!/usr/bin/env sh
+
+# This is a shell wrapper to make executing relames simpler.
+# Just call `relames` to get an overview of the options.
+
+
+java -Xss2048K -jar @@RELAMES@@ $@
Property changes on: trunk/dports/textproc/relames/files/relames
___________________________________________________________________
Name: svn:executable
+ *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071121/11958d97/attachment.html
More information about the macports-changes
mailing list