1 | # $Id: Portfile 20487 2006-11-03 15:39:15Z blair@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name xmlstarlet |
---|
5 | version 1.0.1 |
---|
6 | revision 1 |
---|
7 | categories textproc |
---|
8 | maintainers cedric.luthi@gmail.com |
---|
9 | description xml command line utilities |
---|
10 | long_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 | |
---|
16 | homepage http://xmlstar.sourceforge.net |
---|
17 | master_sites sourceforge:xmlstar |
---|
18 | checksums md5 8deb71834bcdfb4443c258a1f0042fce \ |
---|
19 | sha1 48fb2fa7ac9c2c6640b4f21f44459cb08369c18b \ |
---|
20 | rmd160 daa43d5731d9868a2f31c34908212cbc3896a08d |
---|
21 | depends_lib port:libxml2 port:libxslt port:libiconv |
---|
22 | configure.args --with-libxml-prefix=${prefix} \ |
---|
23 | --with-libxslt-prefix=${prefix} \ |
---|
24 | --with-libiconv-prefix=${prefix} \ |
---|
25 | --program-transform-name=s/xml$/${name}/ |
---|
26 | patchfiles patch-configure |
---|
27 | |
---|
28 | variant 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 | } |
---|