source: trunk/dports/textproc/xmlpatch/Portfile

Last change on this file was 86304, checked in by jmr@…, 6 years ago

xmlpatch: add pkgconfig dep

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- 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
2# $Id: Portfile 86304 2011-10-24 12:28:58Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                xmlpatch
7version             0.3.3
8categories          textproc
9platforms           darwin
10maintainers         urchin.earth.li:twic
11license             LGPL-2.1+
12
13# where possible, informative values are copied from the Debian package
14# definition in the upstream source; failing that, the home page.
15
16description         an XML patching handler library
17
18long_description    The xmlpatch library is a framework utilizing XML path \
19                    language (XPath) selectors with the aid of which a set of \
20                    patches can be applied to an existing initial XML document.
21
22homepage            http://xmlpatch.sourceforge.net/
23master_sites        sourceforge:project/xmlpatch/xmlpatch/${version}
24distname            lib${distname}
25
26checksums           rmd160  2c6445291134bf408711c980401041df127ddf32 \
27                    sha256  7236eec7bc450580c99c2d465ce2573687bb0229aa469e961bcbb0ffcb029d55
28
29depends_build       port:check \
30                    port:pkgconfig
31
32depends_lib         port:libxml2 \
33                    path:lib/pkgconfig/glib-2.0.pc:glib2
34
35# patch tests to work with current version of check (not yet fixed in upstream)
36patchfiles          patch-tests-check_diff.c.diff
37
38test.run            yes
39test.target         check
40
41post-destroot {
42    set docdir ${destroot}${prefix}/share/doc/${name}
43    xinstall -d ${docdir}
44    xinstall -m 644 -W ${worksrcpath} \
45        COPYING \
46        ChangeLog \
47        LEGAL_NOTICE \
48        README \
49        TODO \
50        ${docdir}
51}
Note: See TracBrowser for help on using the repository browser.