source: trunk/dports/textproc/xmlto/Portfile

Last change on this file was 143132, checked in by devans@…, 20 months ago

xmlto: update to version 0.0.28.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 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 143132 2015-12-04 19:27:59Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            xmlto
7version         0.0.28
8categories      textproc
9license         GPL-2+
10installs_libs   no
11platforms       darwin
12maintainers     nomaintainer
13description     Convert an XML document to another format based on XSL \
14                or other tools
15
16long_description \
17    The purpose of xmlto is to convert an XML file to the desired format \
18    using whatever means necessary. This may involve two steps: \
19        1. The application of an appropriate XSL stylesheet using an XSL-T \
20           processor. \
21        2. Further processing with other tools. This step may not be necessary.
22
23homepage        http://cyberelk.net/tim/xmlto/
24master_sites    https://fedorahosted.org/releases/x/m/xmlto/
25use_bzip2       yes
26
27checksums           rmd160  acba3cc9ff46505ae49b91108c611646aeac2b5d \
28                    sha256  1130df3a7957eb9f6f0d29e4aa1c75732a7dfb6d639be013859b5c7ec5421276
29
30depends_build   port:getopt
31
32depends_run     port:coreutils \
33                port:findutils \
34                port:getopt \
35                port:libpaper \
36                port:libxml2 \
37                port:libxslt \
38                port:docbook-xml \
39                port:docbook-xsl \
40                port:fop
41
42patchfiles      searchpath_local.patch \
43                xml-catalog.patch
44
45configure.args  --mandir=${prefix}/share/man
46
47configure.env-append \
48    FIND=${prefix}/bin/gfind \
49    GETOPT=${prefix}/bin/getopt \
50    PAPER_CONF=${prefix}/bin/paperconf \
51    TAIL=${prefix}/bin/gtail \
52    XMLLINT=${prefix}/bin/xmllint \
53    XMLTEX=${prefix}/bin/xmltex \
54    DBLATEX=${prefix}/bin/dblatex \
55    FOP=${prefix}/bin/fop
56
57build.env-append      XML_CATALOG_FILES=${prefix}/etc/xml/catalog
58
59destroot.env-append   ${build.env}
60
61post-destroot {
62    set docdir ${prefix}/share/doc/${name}
63    xinstall -d ${destroot}${docdir}
64    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog FAQ \
65        NEWS README ${destroot}${docdir}
66    xinstall -m 0644 {*}[glob ${worksrcpath}/doc/*] ${destroot}${docdir}
67}
68
69livecheck.type  regex
70livecheck.url   https://fedorahosted.org/xmlto/browser/configure.in
71livecheck.regex "\\($name,\\s*(\\d+(?:\\.\\d+)*)\\)"
Note: See TracBrowser for help on using the repository browser.