Modified: trunk/dports/python/py-cairo/Portfile (100268 => 100269)
--- 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