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

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

xmlto: license, installs_libs no, remove unnecessary explicit depends_skip_archcheck

  • 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 81407 2011-07-30 04:03:52Z jmr@macports.org $
3
4PortSystem      1.0
5
6name            xmlto
7version         0.0.23
8revision        3
9categories      textproc
10license         GPL-2+
11installs_libs   no
12platforms       darwin
13maintainers     nomaintainer
14description     Convert an XML document to another format based on XSL \
15                or other tools
16
17long_description \
18    The purpose of xmlto is to convert an XML file to the desired format \
19    using whatever means necessary. This may involve two steps: \
20        1. The application of an appropriate XSL stylesheet using an XSL-T \
21           processor. \
22        2. Further processing with other tools. This step may not be necessary.
23
24homepage        http://cyberelk.net/tim/xmlto/
25master_sites    https://fedorahosted.org/releases/x/m/xmlto/
26use_bzip2       yes
27
28checksums           md5     3001d6bb2bbc2c8f6c2301f05120f074 \
29                    sha1    69aab42d941089db3edb32987299290e2472f675 \
30                    rmd160  bbf1e1ee8674a7faeb10643f74a6025d4421d66e
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      patch-xmlto.in.diff
43
44configure.args  --mandir=${prefix}/share/man
45
46configure.env-append \
47    FIND=${prefix}/bin/gfind \
48    GETOPT=${prefix}/bin/getopt \
49    PAPER_CONF=${prefix}/bin/paperconf \
50    TAIL=${prefix}/bin/gtail \
51    XMLLINT=${prefix}/bin/xmllint \
52    XMLTEX=${prefix}/bin/xmltex \
53    DBLATEX=${prefix}/bin/dblatex \
54    FOP=${prefix}/bin/fop
55
56build.env-append      XML_CATALOG_FILES=${prefix}/etc/xml/catalog
57
58destroot.env-append   ${build.env}
59
60post-destroot {
61    set docdir ${prefix}/share/doc/${name}-${version}
62    xinstall -d ${destroot}${docdir}
63    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog FAQ \
64        NEWS README ${destroot}${docdir}
65    eval xinstall -m 0644 [glob ${worksrcpath}/doc/*] ${destroot}${docdir}
66}
67
68livecheck.type  regex
69livecheck.url   https://fedorahosted.org/xmlto/browser/configure.in
70livecheck.regex "\\($name,\\s*(\\d+(?:\\.\\d+)*)\\)"
Note: See TracBrowser for help on using the repository browser.