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

Last change on this file since 20487 was 20487, checked in by blair@…, 14 years ago

Set the svn:keywords property to 'Id' for all Portfile's. This
re-enables the Id keyword substitution that was present in the CVS
repository.

See this thread for more information:
http://lists.macosforge.org/pipermail/macports-dev/2006-October/000180.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 20487 2006-11-03 15:39:15Z blair@macports.org $
2
3PortSystem 1.0
4name            xml2rfc
5version         1.30
6categories      textproc
7maintainers     fenner@research.att.com
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 dc4d3045a66716fc78bdf96d8ede61f1
16depends_build   bin:unzip:unzip
17patchfiles      fast-sync.sh.diff
18
19configure       {}
20build           {
21        system "cd ${worksrcpath}; unzip rfc2629xslt"
22}
23destroot        {
24        xinstall -m 755 ${worksrcpath}/xml2rfc.tcl \
25                ${destroot}${prefix}/bin/xml2rfc
26        system "ln -s xml2rfc ${destroot}${prefix}/bin/xml2html; \
27                ln -s xml2rfc ${destroot}${prefix}/bin/xml2txt; \
28                ln -s xml2rfc ${destroot}${prefix}/bin/xml2nroff"
29        xinstall -d ${destroot}${prefix}/share/doc/xml2rfc
30        foreach file [glob -directory ${worksrcpath} \
31                        "README.*" "draft-mrose-writing-rfcs.*" "rfc2629.*" \
32                        "sample.*"] {
33                xinstall -m 644 ${file} \
34                        ${destroot}${prefix}/share/doc/xml2rfc/
35        }
36        xinstall -d ${destroot}${prefix}/share/xsl/xml2rfc
37        foreach file [glob -directory ${worksrcpath}/rfc2629xslt \
38                        "*"] {
39                xinstall -m 644 ${file} \
40                        ${destroot}${prefix}/share/xsl/xml2rfc/
41        }
42}
Note: See TracBrowser for help on using the repository browser.