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

Last change on this file since 33195 was 33195, checked in by nox@…, 11 years ago

dbus-glib:

  • Whitespace changes.
  • Fixed livecheck.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 33195 2008-01-21 02:05:44Z nox@macports.org $
2
3PortSystem      1.0
4
5name            dbus-glib
6version         0.74
7maintainers     nomaintainer
8categories      devel
9platforms       darwin
10description     Glib bindings for the dbus message bus system.
11
12long_description \
13    ${description}
14
15homepage        http://www.freedesktop.org/Software/dbus
16master_sites    http://dbus.freedesktop.org/releases/dbus-glib
17
18checksums       md5 0923d825a0aff2e4eb23338b630286fb \
19                sha1 ea8a1c9269fe6b5f63e6571a2c8a537a558f0211 \
20                rmd160 0a78b138bfe1dbdfee0d7fbebcbe701c63511a86
21
22depends_build   port:pkgconfig
23
24depends_lib     port:expat \
25                port:libiconv \
26                port:glib2 \
27                port:dbus \
28                port:gettext
29
30configure.args  --mandir=${prefix}/share/man \
31                --disable-tests
32
33test.run        yes
34test.target     check
35
36pre-test {
37    if {![variant_isset test]} {
38        ui_error "test variant must be activated to enable test support"
39        return -code 1
40    }
41}
42
43variant test {
44    configure.args-delete   --disable-tests
45    configure.args-append   --enable-tests
46}
47
48configure.cppflags-append   -L${prefix}/lib
49configure.cflags-append     -no-cpp-precomp -flat_namespace -undefined suppress -L${prefix}/lib
50
51livecheck.check regex
52livecheck.url   http://www.freedesktop.org/wiki/Software/DBusBindings
53livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.