# -*- 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 upower version 0.9.21 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 e3f923f2e56ab8f66887f982455538218ff51bcd \ sha256 13c28e0a700291a322e0674894fedfd695889845ab82df2aafd699aa9bdbb2e2 depends_build port:pkgconfig \ port:intltool \ port:gtk-doc depends_lib port:dbus-glib \ port:gobject-introspection \ port:policykit patchfiles patch-configure.diff \ patch-doc-man-Makefile.in.diff configure.args --enable-deprecated \ --enable-introspection \ --disable-silent-rules # gobject-introspection uses g-ir-scanner, which uses $CC from env build.args-append CC="${configure.cc} ${configure.cc_archflags}" # The rules enabled by gobject-introspection require GNU make 3.81+ platform darwin 8 { depends_build-append port:gmake build.cmd ${prefix}/bin/gmake } livecheck.type regex livecheck.url ${master_sites} livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"