source: trunk/dports/devel/pkgconfig/Portfile

Last change on this file was 146510, checked in by ryandesign@…, 19 months ago

pkgconfig: update to 0.29.1

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 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 146510 2016-03-10 02:49:55Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                pkgconfig
7version             0.29.1
8categories          devel
9maintainers         ryandesign
10license             GPL-2+
11installs_libs       no
12homepage            http://pkg-config.freedesktop.org/
13master_sites        ${homepage}releases/
14distname            pkg-config-${version}
15platforms           darwin freebsd
16use_parallel_build  yes
17
18description         pkg-config, a system for managing library compile and \
19                    link flags
20
21long_description    The pkg-config program is used to retrieve information \
22                    about installed libraries in the system. It is typically \
23                    used to compile and link against one or more libraries.
24
25checksums           rmd160  2054eb2dac507c912182f2fbd90baee041aa5463 \
26                    sha256  beb43c9e064555469bd4390dcfd8030b1536e0aa103f08d7abf7ae8cac0cb001
27
28depends_lib         port:libiconv
29
30patchfiles          patch-glib-configure.diff
31
32set docdir          ${prefix}/share/doc/${name}
33
34configure.args      --disable-silent-rules \
35                    --disable-host-tool \
36                    --with-pc-path=${prefix}/lib/pkgconfig:${prefix}/share/pkgconfig \
37                    --with-internal-glib \
38                    --docdir=${docdir}
39
40configure.env       PKG_CONFIG=false
41
42post-configure {
43    system "ed - ${worksrcpath}/glib/config.h < ${filespath}/glib-config.h.ed"
44}
45
46test.run            yes
47test.target         check
48
49destroot.keepdirs   ${destroot}${prefix}/lib/pkgconfig ${destroot}${prefix}/share/pkgconfig
50
51post-destroot {
52    xinstall -m 644 -W ${worksrcpath} \
53        AUTHORS \
54        COPYING \
55        NEWS \
56        README \
57        ${destroot}${docdir}
58}
59
60livecheck.type      regex
61livecheck.url       "${homepage}releases/?C=M&O=D"
62livecheck.regex     pkg-config-(\[0-9.\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.