# $Id: Portfile 83520 2011-09-04 10:03:55Z ryandesign@macports.org $ PortSystem 1.0 name xmlstarlet version 1.2.1 categories textproc maintainers nomaintainer license MIT description xml command line utilities long_description XMLStarlet is a set of command line utilities (tools) to \ transform, query, validate, and edit XML documents and \ files using simple set of shell commands in similar way it \ is done for text files with UNIX grep, sed, awk, diff, \ patch, join, etc utilities. homepage http://xmlstar.sourceforge.net platforms darwin master_sites sourceforge:project/xmlstar/xmlstarlet/${version} checksums rmd160 ae5560dcd473aea151d5124a939030b5a848eded \ sha256 ac63b75c6175d37f1097d1d9b257adffb7e004e3de536e47ce6478559bc07fe0 depends_lib port:libxml2 port:libxslt port:libiconv patchfiles patch-doc-xmlstarlet.1.diff configure.args --with-libxml-prefix=${prefix} \ --with-libxslt-prefix=${prefix} \ --with-libiconv-prefix=${prefix} \ --mandir=${prefix}/share/man \ --program-transform-name=s/xml$/${name}/ post-destroot { set docdir ${destroot}${prefix}/share/doc/${name} xinstall -d ${docdir} xinstall -m 644 -W ${worksrcpath} \ AUTHORS \ COPYING \ NEWS \ README \ TODO \ doc/xmlstarlet-ug.pdf \ doc/xmlstarlet.pdf \ ${docdir} } notes " Some ${name} documentation files refer to the program name as \"xml\" but\ in MacPorts the program is installed as \"${name}\". " livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}