# -*- 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$ PortSystem 1.0 name pkgconfig version 0.27.1 categories devel maintainers ryandesign license GPL-2+ installs_libs no homepage http://pkg-config.freedesktop.org/ master_sites ${homepage}releases/ distname pkg-config-${version} platforms darwin freebsd use_parallel_build yes description pkg-config, a system for managing library compile and \ link flags long_description The pkg-config program is used to retrieve information \ about installed libraries in the system. It is typically \ used to compile and link against one or more libraries. checksums rmd160 ea01357dd1bcd40766123581c7f43fe59e41f4ac \ sha256 4f63d0df3035101b12949250da5231af49e3c3afcd8fb18554fa7c3cb92d8c17 patchfiles patch-glib-configure.diff set docdir ${prefix}/share/doc/${name} configure.args --with-pc-path=${prefix}/lib/pkgconfig:${prefix}/share/pkgconfig \ --with-internal-glib \ --docdir=${docdir} configure.env PKG_CONFIG=false post-configure { system "ed - ${worksrcpath}/glib/config.h < ${filespath}/glib-config.h.ed" } test.run yes test.target check post-destroot { xinstall -m 644 -W ${worksrcpath} \ AUTHORS \ COPYING \ NEWS \ README \ ${destroot}${docdir} } livecheck.type regex livecheck.url "${homepage}releases/?C=M&O=D" livecheck.regex pkg-config-(\[0-9.\]+)\\.tar