[43161] trunk/dports/devel
mcalhoun at macports.org
mcalhoun at macports.org
Fri Dec 5 18:33:42 PST 2008
Revision: 43161
http://trac.macports.org/changeset/43161
Author: mcalhoun at macports.org
Date: 2008-12-05 18:33:41 -0800 (Fri, 05 Dec 2008)
Log Message:
-----------
New Port: dbus-python26
Added Paths:
-----------
trunk/dports/devel/dbus-python26/
trunk/dports/devel/dbus-python26/Portfile
Added: trunk/dports/devel/dbus-python26/Portfile
===================================================================
--- trunk/dports/devel/dbus-python26/Portfile (rev 0)
+++ trunk/dports/devel/dbus-python26/Portfile 2008-12-06 02:33:41 UTC (rev 43161)
@@ -0,0 +1,60 @@
+# $Id$
+
+PortSystem 1.0
+
+name dbus-python26
+set my_name dbus-python
+version 0.83.0
+maintainers mcalhoun openmaintainer
+categories devel
+platforms darwin
+description Python bindings for the dbus message bus system.
+
+long_description \
+ ${description}
+
+homepage http://www.freedesktop.org/Software/dbus/
+master_sites http://dbus.freedesktop.org/releases/dbus-python/
+distname ${my_name}-${version}
+
+checksums md5 562c78876219bf458d79a041af18293d \
+ sha1 c2a6edaf69b52066e8fb205ebee96a1aae141944 \
+ rmd160 a0b49521199320992b83834feccaa537b61ae8e2
+
+depends_build port:pkgconfig
+
+depends_lib port:dbus \
+ port:dbus-glib \
+ port:gettext \
+ path:${prefix}/lib/pkgconfig/glib-2.0.pc:glib2 \
+ port:libiconv \
+ port:python26 \
+ port:py26-gobject
+
+# Can be removed once MacPorts 1.7.0 is released
+if {![info exists frameworks_dir]} {
+ set frameworks_dir ${prefix}/Library/Frameworks
+}
+set python_prefix ${frameworks_dir}/Python.framework/Versions/2.6
+
+configure.pre_args-delete --prefix=${prefix}
+configure.pre_args-append --prefix=${python_prefix}
+
+configure.args --mandir=${prefix}/share/man \
+ --docdir=${prefix}/share/doc/${name} \
+ --includedir=${python_prefix}/include/python2.6
+
+configure.pkg_config_path ${python_prefix}/lib/pkgconfig
+configure.python ${prefix}/bin/python2.6
+
+platform darwin 9 {
+ post-patch {
+ reinplace "s| -export-symbols-regex.*| \\\\|g" \
+ ${worksrcpath}/_dbus_bindings/Makefile.in \
+ ${worksrcpath}/_dbus_glib_bindings/Makefile.in
+ }
+}
+
+livecheck.check regex
+livecheck.url ${master_sites}?C=M&O=D
+livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081205/6fdd6ea4/attachment.html>
More information about the macports-changes
mailing list