Ticket #20678: Portfile

File Portfile, 1.4 KB (added by 0xced (Cédric Luthi), 15 years ago)
Line 
1# $Id$
2
3PortSystem          1.0
4
5name                xmlstarlet
6version             1.0.1
7revision            1
8categories          textproc
9maintainers         nomaintainer
10description         xml command line utilities
11long_description    XMLStarlet is a set of command line utilities (tools) to \
12                    transform, query, validate, and edit XML documents and \
13                    files using simple set of shell commands in similar way it \
14                    is done for text files with UNIX grep, sed, awk, diff, \
15                    patch, join, etc utilities.
16
17homepage            http://xmlstar.sourceforge.net
18platforms           darwin
19master_sites        sourceforge:xmlstar
20checksums           md5 8deb71834bcdfb4443c258a1f0042fce \
21                    sha1 48fb2fa7ac9c2c6640b4f21f44459cb08369c18b \
22                    rmd160 daa43d5731d9868a2f31c34908212cbc3896a08d
23
24depends_lib         port:libxml2 port:libxslt port:libiconv
25configure.args      --with-libxml-prefix=${prefix} \
26                    --with-libxslt-prefix=${prefix} \
27                    --with-libiconv-prefix=${prefix} \
28                    --mandir=${prefix}/share/man \
29                    --program-transform-name=s/xml$/${name}/
30
31patchfiles          patch-configure
32
33variant inplace description {Enble inplace edition of xml documents} {
34    patchfiles-append patch-xml_edit.c
35}
36
37livecheck.regex     <title>${name} (.*) released.*</title>