source: trunk/dports/devel/dbus-python25/Portfile @ 38077

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

In all openmaintainer and nomaintainer ports and my ports, depend on glib2 via a path in ${prefix} so that either glib2 or glib2-devel can satisfy the dependency

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 38077 2008-07-05 21:37:56Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            dbus-python25
6set my_name     dbus-python
7version         0.82.4
8maintainers     nomaintainer
9categories      devel
10platforms       darwin
11description     Python bindings for the dbus message bus system.
12
13long_description \
14    ${description}
15
16homepage        http://www.freedesktop.org/Software/dbus/
17master_sites    http://dbus.freedesktop.org/releases/dbus-python/
18distname        ${my_name}-${version}
19
20checksums       md5 f491e0372128a6d1178b210a8b1a842f \
21                sha1 6675106364c3865a38a9196e314508e7aae2f8b6 \
22                rmd160 c934c38c7b6681aa419d005a4a73ab05ffdddac1
23
24depends_build   port:pkgconfig
25
26depends_lib     port:dbus \
27                port:dbus-glib \
28                port:gettext \
29                path:${prefix}/lib/pkgconfig/glib-2.0.pc:glib2 \
30                port:libiconv \
31                port:python25 \
32                port:py25-gobject \
33                port:py25-numeric
34
35configure.args  --mandir=${prefix}/share/man
36
37configure.python    ${prefix}/bin/python2.5
38
39platform darwin 9 {
40    post-patch {
41        reinplace "s| -export-symbols-regex.*| \\\\|g" \
42            ${worksrcpath}/_dbus_bindings/Makefile.in \
43            ${worksrcpath}/_dbus_glib_bindings/Makefile.in
44    }
45}
46
47livecheck.check regex
48livecheck.url   ${master_sites}?C=M&O=D
49livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.