[97525] trunk/dports/python/py-urlgrabber/Portfile
michaelld at macports.org
michaelld at macports.org
Fri Sep 7 17:58:20 PDT 2012
Revision: 97525
https://trac.macports.org/changeset/97525
Author: michaelld at macports.org
Date: 2012-09-07 17:58:19 -0700 (Fri, 07 Sep 2012)
Log Message:
-----------
py-urlgrabber : wrap body correctly to activate only when choosing a subport
Modified Paths:
--------------
trunk/dports/python/py-urlgrabber/Portfile
Modified: trunk/dports/python/py-urlgrabber/Portfile
===================================================================
--- trunk/dports/python/py-urlgrabber/Portfile 2012-09-08 00:37:21 UTC (rev 97524)
+++ trunk/dports/python/py-urlgrabber/Portfile 2012-09-08 00:58:19 UTC (rev 97525)
@@ -25,10 +25,13 @@
sha1 937c7ad3177539c337d4010e0175b2c7bd874938 \
rmd160 377196ddb01f6cd4903e063e8e9cba40a0f80fff
-depends_lib port:py${python.version}-curl
+if {$subport != $name} {
-post-patch {
- reinplace "s|/usr/bin/python|${python.bin}|g" ${worksrcpath}/scripts/urlgrabber
+ depends_lib-append port:py${python.version}-curl
+
+ post-patch {
+ reinplace "s|/usr/bin/python|${python.bin}|g" ${worksrcpath}/scripts/urlgrabber
+ }
}
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120907/632b1525/attachment.html>
More information about the macports-changes
mailing list