source: trunk/dports/textproc/xmlto/Portfile @ 14706

Last change on this file since 14706 was 14706, checked in by blb, 14 years ago

Port: Many

Update my ports
Bugzilla finally let me change my email address, so change all my ports
to match (sorry for the spam)

  • Property svn:eol-style set to native
File size: 1.5 KB
Line 
1# $Id: Portfile,v 1.3 2005/10/19 08:10:16 blb Exp $
2
3PortSystem                      1.0
4name                            xmlto
5version                         0.0.18
6revision                        1
7categories                      textproc
8maintainers                     blb@opendarwin.org
9description                     Convert an XML document to another format based on XSL \
10                                        or other tools
11long_description \
12        The purpose of xmlto is to convert an XML file to the desired format \
13        using whatever means necessary. This may involve two steps: \
14                1. The application of an appropriate XSL stylesheet using an XSL-T \
15                        processor. \
16                2. Further processing with other tools. This step may not be necessary.
17
18homepage                        http://cyberelk.net/tim/xmlto/
19master_sites            http://cyberelk.net/tim/data/xmlto/stable/
20
21platforms                       darwin
22use_bzip2                       yes
23checksums                       md5 1a06471b70eb27a6aca5d1b3a144f9b0
24
25depends_lib                     bin:xsltproc:libxslt lib:libxml2.2:libxml2 \
26                                        path:${prefix}/bin/getopt:getopt \
27                                        path:${prefix}/share/xml/docbook-xml:docbook-xml \
28                                        path:${prefix}/share/xsl/docbook-xsl:docbook-xsl
29
30patchfiles                      patch-doc_xmlif.xml patch-doc_xmlto.xml
31
32configure.args          --with-getopt=${prefix}/bin/getopt \
33                                        --mandir=${prefix}/share/man
34
35post-configure {
36        file copy ${filespath}/catalog.xml ${workpath}/catalog.xml
37        reinplace "s|@@PREFIX@@|${prefix}|g" ${workpath}/catalog.xml
38}
39
40build.args                      XML_CATALOG_FILES=${workpath}/catalog.xml
41
42destroot.args           ${build.args}
43
44post-destroot {
45        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
46        eval xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog FAQ \
47                NEWS README [glob ${worksrcpath}/doc/*] \
48                ${destroot}${prefix}/share/doc/${name}
49}
50
Note: See TracBrowser for help on using the repository browser.