# -*- 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: Portfile 136933 2015-05-30 19:56:58Z devans@macports.org $ PortSystem 1.0 PortGroup gobject_introspection 1.0 name upower version 0.99.3 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 f0c91e417ab255c419905aebdc37afa151582670 \ sha256 697199bcc113bb069e6fb6bf4135536a702ba9847e46c5fc6df87d19624ddd38 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}"