source: trunk/dports/devel/dbus-glib/Portfile

Last change on this file was 153319, checked in by devans@…, 14 months ago

dbus-glib: update to version 0.108.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 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 153319 2016-09-29 02:45:52Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            dbus-glib
7version         0.108
8
9maintainers     nomaintainer
10categories      devel
11platforms       darwin
12license         {AFL-2.1 GPL-2+}
13description     Glib bindings for the dbus message bus system.
14
15long_description \
16                ${description} dbus-glib is deprecated, please use GDBus \
17                in new GLib-based projects.
18
19homepage        https://www.freedesktop.org/wiki/Software/dbus/
20master_sites    https://dbus.freedesktop.org/releases/dbus-glib/
21
22checksums       rmd160  dfe16e975d0a207a4ce3d151483b6c5892875ce9 \
23                sha256  9f340c7e2352e9cdf113893ca77ca9075d9f8d5e81476bf2bf361099383c602c
24
25depends_build   port:pkgconfig
26
27depends_lib     port:expat \
28                port:libiconv \
29                path:lib/pkgconfig/glib-2.0.pc:glib2 \
30                port:dbus \
31                port:gettext
32
33configure.args  --disable-gtk-doc \
34                --disable-silent-rules \
35                --disable-tests
36
37
38pre-test {
39    if {![variant_isset test]} {
40        ui_error "test variant must be activated to enable test support"
41        error "Please enable test variant"
42    }
43}
44
45variant test description {Enable building of test code} {
46    configure.args-replace --disable-tests --enable-tests
47    test.run        yes
48    test.target     check
49}
50
51variant doc description {Use gtk-doc to build documentation} {
52    depends_build-append port:gtk-doc
53    configure.args-replace --disable-gtk-doc --enable-gtk-doc
54}
55
56livecheck.type  regex
57livecheck.url   ${master_sites}
58livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.