Ticket #11233: Portfile

File Portfile, 1.1 KB (added by 0xced (Cédric Luthi), 17 years ago)

Updated Portfile (revision 1)

Line 
1# $Id: Portfile 20487 2006-11-03 15:39:15Z blair@macports.org $
2
3PortSystem              1.0
4name                    xmlstarlet
5version                 1.0.1
6revision                1
7categories              textproc
8maintainers             cedric.luthi@gmail.com
9description             xml command line utilities
10long_description        XMLStarlet is a set of command line utilities (tools) to \
11                        transform, query, validate, and edit XML documents and \
12                        files using simple set of shell commands in similar way it \
13                        is done for text files with UNIX grep, sed, awk, diff, \
14                        patch, join, etc utilities.
15
16homepage                http://xmlstar.sourceforge.net
17master_sites            sourceforge:xmlstar
18checksums               md5 8deb71834bcdfb4443c258a1f0042fce \
19                        sha1 48fb2fa7ac9c2c6640b4f21f44459cb08369c18b \
20                        rmd160 daa43d5731d9868a2f31c34908212cbc3896a08d
21depends_lib             port:libxml2 port:libxslt port:libiconv
22configure.args          --with-libxml-prefix=${prefix} \
23                        --with-libxslt-prefix=${prefix} \
24                        --with-libiconv-prefix=${prefix} \
25                        --program-transform-name=s/xml$/${name}/
26patchfiles              patch-configure
27
28variant inplace {
29        # enble inplace edition of xml documents, type
30        # xmlstarlet ed --help
31        # for more information
32        patchfiles      patch-configure patch-xml_edit.c
33}