source: trunk/dports/textproc/relames/Portfile

Last change on this file was 71984, checked in by ryandesign@…, 7 years ago

relames: update wrapper script to handle exit codes better (?) and handle files with spaces in their names; see #26670; add "supported_archs noarch"

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 71984 2010-09-29 13:51:56Z ryandesign@macports.org $
2
3PortSystem            1.0
4
5name                  relames
6version               20060319
7revision              1
8categories            textproc
9platforms             darwin
10maintainers           nomaintainer
11supported_archs       noarch
12
13description           Multi-Schema XML Validator to validate XML documents
14long_description      The Sun Multi-Schema XML Validator (MSV) is a Java \
15                      technology tool to validate XML documents against \
16                      several kinds of XML schemata. It supports RELAX NG, \
17                      RELAX Namespace, RELAX Core, TREX, XML DTDs, and a \
18                      subset of XML Schema Part 1.
19
20homepage              https://msv.dev.java.net/
21master_sites          ${homepage}files/documents/61/31332/
22
23distname              ${name}.${version}
24use_zip               yes
25fetch.ignore_sslcert  yes
26checksums             md5 b2481ed4a4d9f6187713a01632688007 \
27                      sha1 d348479df721ffc36a02113c7600bcb6d6b75961 \
28                      rmd160 3c34c405cbcc61d1fcae510c79261996ed55683a
29worksrcdir            ${name}-${version}
30
31depends_run           bin:java:kaffe
32
33use_configure         no
34
35build {}
36
37destroot {
38    # path to the relames java files (without ${destroot}):
39    set relames ${prefix}/share/java/relames
40
41    # install the relames script from files:
42    xinstall ${portpath}/${filesdir}/relames ${destroot}${prefix}/bin
43    # set the correct path to relames.jar in the relames script:
44    reinplace "s|@@RELAMES@@|${relames}/relames.jar|g" \
45        ${destroot}${prefix}/bin/relames
46    # install the relames java files:
47    xinstall -d ${destroot}${relames}
48    foreach jar [glob ${worksrcpath}/*.jar] {
49        xinstall $jar ${destroot}${relames}
50    }
51}
52
53livecheck.type        none
Note: See TracBrowser for help on using the repository browser.