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

Last change on this file since 86397 was 86397, checked in by ryandesign@…, 8 years ago

xmlto: update to 0.0.24; use unversioned docdir

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 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 86397 2011-10-25 07:07:42Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            xmlto
7version         0.0.24
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  c3aa05569571aa7c2acbe0cc93c136a0d77a7d80 \
28                sha256  30f59f4cc87a5e86f74fc1d2e63ceb6adc7a260d438e0439689efc2588976e13
29
30depends_run     port:coreutils \
31                port:findutils \
32                port:getopt \
33                port:libpaper \
34                port:libxml2 \
35                port:libxslt \
36                port:docbook-xml \
37                port:docbook-xsl \
38                port:fop
39
40patchfiles      patch-xmlto.in.diff
41
42configure.args  --mandir=${prefix}/share/man
43
44configure.env-append \
45    FIND=${prefix}/bin/gfind \
46    GETOPT=${prefix}/bin/getopt \
47    PAPER_CONF=${prefix}/bin/paperconf \
48    TAIL=${prefix}/bin/gtail \
49    XMLLINT=${prefix}/bin/xmllint \
50    XMLTEX=${prefix}/bin/xmltex \
51    DBLATEX=${prefix}/bin/dblatex \
52    FOP=${prefix}/bin/fop
53
54build.env-append      XML_CATALOG_FILES=${prefix}/etc/xml/catalog
55
56destroot.env-append   ${build.env}
57
58post-destroot {
59    set docdir ${prefix}/share/doc/${name}
60    xinstall -d ${destroot}${docdir}
61    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog FAQ \
62        NEWS README ${destroot}${docdir}
63    eval xinstall -m 0644 [glob ${worksrcpath}/doc/*] ${destroot}${docdir}
64}
65
66livecheck.type  regex
67livecheck.url   https://fedorahosted.org/xmlto/browser/configure.in
68livecheck.regex "\\($name,\\s*(\\d+(?:\\.\\d+)*)\\)"
Note: See TracBrowser for help on using the repository browser.