source: trunk/dports/devel/upower/Portfile

Last change on this file was 145866, checked in by devans@…, 19 months ago

upower: update to version 0.99.4.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# -*- 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
2# $Id: Portfile 145866 2016-02-19 16:47:38Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           gobject_introspection 1.0
6
7name                upower
8version             0.99.4
9license             GPL-2+
10description         UPower is an abstraction for enumerating power devices, \
11                    listening to device events and querying history and statistics.
12
13long_description    ${description} \
14                    Any application or service on the system can access the \
15                    org.freedesktop.UPower service via the system message bus.
16
17maintainers         devans openmaintainer
18categories          devel
19platforms           darwin
20homepage            http://upower.freedesktop.org/
21master_sites        http://upower.freedesktop.org/releases/
22
23use_xz              yes
24
25checksums           rmd160  6cc312d44a19ffc604c3a3282d03b9cdb6aa3638 \
26                    sha256  9ca325a6ccef505529b268ebbbd9becd0ce65a65f6ac7ee31e2e5b17648037b0
27
28depends_build       port:pkgconfig \
29                    port:intltool \
30                    port:gtk-doc \
31                    port:autoconf \
32                    port:automake \
33                    port:libtool
34
35# upower uses xsltproc; using /usr/bin/xsltproc will fail without
36# XML_CATALOG_FILES set because it'll attempt to download the DTDs.
37
38depends_build-append \
39                    port:libxslt
40
41depends_lib         port:dbus-glib
42
43patchfiles          patch-configure.ac.diff
44
45gobject_introspection yes
46
47# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
48
49post-patch {
50    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
51}
52
53configure.cmd       ./autogen.sh
54
55configure.args      --with-backend=dummy \
56                    --without-idevice \
57                    --disable-man-pages \
58                    --disable-silent-rules
59
60livecheck.type      regex
61livecheck.url       ${master_sites}
62livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.