# -*- 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 # $Id: Portfile 86304 2011-10-24 12:28:58Z jmr@macports.org $ PortSystem 1.0 name xmlpatch version 0.3.3 categories textproc platforms darwin maintainers urchin.earth.li:twic license LGPL-2.1+ # where possible, informative values are copied from the Debian package # definition in the upstream source; failing that, the home page. description an XML patching handler library long_description The xmlpatch library is a framework utilizing XML path \ language (XPath) selectors with the aid of which a set of \ patches can be applied to an existing initial XML document. homepage http://xmlpatch.sourceforge.net/ master_sites sourceforge:project/xmlpatch/xmlpatch/${version} distname lib${distname} checksums rmd160 2c6445291134bf408711c980401041df127ddf32 \ sha256 7236eec7bc450580c99c2d465ce2573687bb0229aa469e961bcbb0ffcb029d55 depends_build port:check \ port:pkgconfig depends_lib port:libxml2 \ path:lib/pkgconfig/glib-2.0.pc:glib2 # patch tests to work with current version of check (not yet fixed in upstream) patchfiles patch-tests-check_diff.c.diff test.run yes test.target check post-destroot { set docdir ${destroot}${prefix}/share/doc/${name} xinstall -d ${docdir} xinstall -m 644 -W ${worksrcpath} \ COPYING \ ChangeLog \ LEGAL_NOTICE \ README \ TODO \ ${docdir} }