source: trunk/dports/textproc/xml2rfc/Portfile @ 128577

Last change on this file since 128577 was 128577, checked in by khindenburg@…, 6 years ago

xml2rfc: whitespace changes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 128577 2014-11-24 03:41:03Z khindenburg@macports.org $
3
4PortSystem          1.0
5
6name                xml2rfc
7version             1.36
8categories          textproc
9platforms           darwin
10maintainers         nomaintainer
11supported_archs     noarch
12
13description         RFC formatting utility using XML source
14long_description \
15    xml2rfc is a tool for creating Internet-Drafts and RFCs \
16    using the format described in RFC 2629.
17
18homepage            http://xml.resource.org/
19master_sites        http://xml.resource.org/authoring/
20extract.suffix      .tgz
21
22checksums           rmd160  4e9a76b0419443a9368854924ef364676b7d831c \
23                    sha256  eb1c59597fcb40575bf56e2d04e1c8d7e1b3e965c32e20801354d7404e1f270c
24
25depends_build       bin:unzip:unzip
26patchfiles          fast-sync.sh.diff
27
28use_configure       no
29destroot {
30    xinstall -m 755 ${worksrcpath}/xml2rfc.tcl \
31        ${destroot}${prefix}/bin/xml2rfc
32    system "ln -s xml2rfc ${destroot}${prefix}/bin/xml2html; \
33        ln -s xml2rfc ${destroot}${prefix}/bin/xml2txt; \
34        ln -s xml2rfc ${destroot}${prefix}/bin/xml2nroff"
35    xinstall -d ${destroot}${prefix}/share/doc/xml2rfc
36    foreach file [glob -directory ${worksrcpath} \
37                "README.*" "draft-mrose-writing-rfcs.*" "rfc2629.*" \
38                "*.ent" "sample.*"] {
39        xinstall -m 644 ${file} \
40            ${destroot}${prefix}/share/doc/xml2rfc/
41    }
42    xinstall -d ${destroot}${prefix}/share/xsl/xml2rfc
43}
44
45livecheck.type      regex
46livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.