Revision: 100269 https://trac.macports.org/changeset/100269 Author: g5pw@macports.org Date: 2012-12-06 02:55:01 -0800 (Thu, 06 Dec 2012) Log Message: ----------- python/py-cairo: fix install of py-cairo (thanks again, Ryan) Modified Paths: -------------- trunk/dports/python/py-cairo/Portfile Modified: trunk/dports/python/py-cairo/Portfile =================================================================== --- trunk/dports/python/py-cairo/Portfile 2012-12-06 10:30:34 UTC (rev 100268) +++ trunk/dports/python/py-cairo/Portfile 2012-12-06 10:55:01 UTC (rev 100269) @@ -49,28 +49,28 @@ distname ${my_name}-${version} + platform darwin 9 { + post-patch { + reinplace "s| -export-symbols-regex.*||g" ${worksrcpath}/cairo/Makefile.in + } + } + + post-extract { + fs-traverse item ${worksrcpath} { + if {[file isdirectory ${item}]} { + file attributes ${item} -permissions a+rx + } elseif {[file isfile ${item}]} { + file attributes ${item} -permissions a+r + } + } + } + livecheck.type none } else { livecheck.type regex livecheck.regex "${my_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}" } -platform darwin 9 { - post-patch { - reinplace "s| -export-symbols-regex.*||g" ${worksrcpath}/cairo/Makefile.in - } -} - -post-extract { - fs-traverse item ${worksrcpath} { - if {[file isdirectory ${item}]} { - file attributes ${item} -permissions a+rx - } elseif {[file isfile ${item}]} { - file attributes ${item} -permissions a+r - } - } -} - variant x11 { pre-configure { require_active_variants cairo x11