# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name dbus-glib version 0.104 maintainers nomaintainer categories devel platforms darwin license {AFL-2.1 GPL-2+} description Glib bindings for the dbus message bus system. long_description \ ${description} homepage http://www.freedesktop.org/Software/dbus master_sites http://dbus.freedesktop.org/releases/dbus-glib checksums rmd160 40fcea6314424b4a86a60473c57da2d35f7d0ac0 \ sha256 bfc1f1a82bfc3ec3ecafe04d0e87bab7e999f50dce4f4a34d0b89caf6bd821f6 depends_build port:pkgconfig depends_lib port:expat \ port:libiconv \ path:lib/pkgconfig/glib-2.0.pc:glib2 \ port:dbus \ port:gettext configure.args --disable-gtk-doc \ --disable-tests test.run yes test.target check pre-test { if {![variant_isset test]} { ui_error "test variant must be activated to enable test support" error "Please enable test variant" } } variant test description {Enable building of test code} { configure.args-replace --disable-tests --enable-tests } variant doc description {Use gtk-doc to build documentation} { depends_build-append port:gtk-doc configure.args-replace --disable-gtk-doc --enable-gtk-doc } livecheck.type regex livecheck.url ${master_sites} livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)