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

Last change on this file since 11636 was 11636, checked in by fenner, 15 years ago

Update to 1.29; includes updated IPR statements as well as a completely
revamped text output.

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1# $Id: Portfile,v 1.3 2005/04/05 22:01:54 fenner Exp $
2
3PortSystem 1.0
4name            xml2rfc
5version         1.29
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 0748d97a2e1832c0f27e996324c47854
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.