[33197] trunk/dports/devel/dbus-python25/Portfile
nox at macports.org
nox at macports.org
Sun Jan 20 18:11:43 PST 2008
Revision: 33197
http://trac.macosforge.org/projects/macports/changeset/33197
Author: nox at macports.org
Date: 2008-01-20 18:11:42 -0800 (Sun, 20 Jan 2008)
Log Message:
-----------
dbus-python25:
* Added livecheck.
* Simplified darwin 9 post-patch stage.
Modified Paths:
--------------
trunk/dports/devel/dbus-python25/Portfile
Modified: trunk/dports/devel/dbus-python25/Portfile
===================================================================
--- trunk/dports/devel/dbus-python25/Portfile 2008-01-21 02:07:59 UTC (rev 33196)
+++ trunk/dports/devel/dbus-python25/Portfile 2008-01-21 02:11:42 UTC (rev 33197)
@@ -3,6 +3,7 @@
PortSystem 1.0
name dbus-python25
+set my_name dbus-python
version 0.82.4
maintainers nomaintainer
categories devel
@@ -12,9 +13,9 @@
long_description \
${description}
-homepage http://www.freedesktop.org/Software/dbus
-master_sites http://dbus.freedesktop.org/releases/dbus-python
-distname dbus-python-${version}
+homepage http://www.freedesktop.org/Software/dbus/
+master_sites http://dbus.freedesktop.org/releases/dbus-python/
+distname ${my_name}-${version}
checksums md5 f491e0372128a6d1178b210a8b1a842f \
sha1 6675106364c3865a38a9196e314508e7aae2f8b6 \
@@ -37,9 +38,12 @@
platform darwin 9 {
post-patch {
- reinplace "s| -export-symbols-regex.*| \\\\|g" ${worksrcpath}/_dbus_bindings/Makefile.am
- reinplace "s| -export-symbols-regex.*| \\\\|g" ${worksrcpath}/_dbus_bindings/Makefile.in
- reinplace "s| -export-symbols-regex.*| \\\\|g" ${worksrcpath}/_dbus_glib_bindings/Makefile.am
- reinplace "s| -export-symbols-regex.*| \\\\|g" ${worksrcpath}/_dbus_glib_bindings/Makefile.in
+ 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/20080120/985fb5b3/attachment.html
More information about the macports-changes
mailing list