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

Last change on this file since 50980 was 50980, checked in by and.damore@…, 10 years ago

Maintainers batch change, removed @macports.org

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 50980 2009-05-14 19:41:55Z and.damore@macports.org $
2
3PortSystem 1.0
4name            xml2rfc
5version         1.33
6categories      textproc
7maintainers     fenner
8description     RFC formatting utility using XML source
9long_description        \
10        xml2rfc is a tool for creating Internet-Drafts and RFCs \
11        using the format described in RFC 2629.
12homepage        http://xml.resource.org/
13master_sites    http://xml.resource.org/authoring/
14extract.suffix  .tgz
15checksums       md5 6806418bf02a115d71d1d9cc16fece06 \
16                sha1 66d407aeb518e1d34d6d66541c46e8fe0d9dddb4
17depends_build   bin:unzip:unzip
18patchfiles      fast-sync.sh.diff
19
20configure       {}
21build           {
22        system "cd ${worksrcpath}; unzip rfc2629xslt"
23}
24destroot        {
25        xinstall -m 755 ${worksrcpath}/xml2rfc.tcl \
26                ${destroot}${prefix}/bin/xml2rfc
27        system "ln -s xml2rfc ${destroot}${prefix}/bin/xml2html; \
28                ln -s xml2rfc ${destroot}${prefix}/bin/xml2txt; \
29                ln -s xml2rfc ${destroot}${prefix}/bin/xml2nroff"
30        xinstall -d ${destroot}${prefix}/share/doc/xml2rfc
31        foreach file [glob -directory ${worksrcpath} \
32                        "README.*" "draft-mrose-writing-rfcs.*" "rfc2629.*" \
33                        "*.ent" "sample.*"] {
34                xinstall -m 644 ${file} \
35                        ${destroot}${prefix}/share/doc/xml2rfc/
36        }
37        xinstall -d ${destroot}${prefix}/share/xsl/xml2rfc
38        foreach file [glob -directory ${worksrcpath}/rfc2629xslt \
39                        "*"] {
40                xinstall -m 644 ${file} \
41                        ${destroot}${prefix}/share/xsl/xml2rfc/
42        }
43}
Note: See TracBrowser for help on using the repository browser.