# -*- 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 PortGroup gobject_introspection 1.0 name upower version 0.99.4 license GPL-2+ description UPower is an abstraction for enumerating power devices, \ listening to device events and querying history and statistics. long_description ${description} \ Any application or service on the system can access the \ org.freedesktop.UPower service via the system message bus. maintainers devans openmaintainer categories devel platforms darwin homepage http://upower.freedesktop.org/ master_sites http://upower.freedesktop.org/releases/ use_xz yes checksums rmd160 6cc312d44a19ffc604c3a3282d03b9cdb6aa3638 \ sha256 9ca325a6ccef505529b268ebbbd9becd0ce65a65f6ac7ee31e2e5b17648037b0 depends_build port:pkgconfig \ port:intltool \ port:gtk-doc \ port:autoconf \ port:automake \ port:libtool # upower uses xsltproc; using /usr/bin/xsltproc will fail without # XML_CATALOG_FILES set because it'll attempt to download the DTDs. depends_build-append \ port:libxslt depends_lib port:dbus-glib patchfiles patch-configure.ac.diff gobject_introspection yes # reconfigure using upstream autogen.sh for intltool 0.51 compatibility post-patch { xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath} } configure.cmd ./autogen.sh configure.args --with-backend=dummy \ --without-idevice \ --disable-man-pages \ --disable-silent-rules livecheck.type regex livecheck.url ${master_sites} livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"