[106520] trunk/dports/python/py-cairo/Portfile
mmoll at macports.org
mmoll at macports.org
Wed May 29 11:51:34 PDT 2013
Revision: 106520
https://trac.macports.org/changeset/106520
Author: mmoll at macports.org
Date: 2013-05-29 11:51:34 -0700 (Wed, 29 May 2013)
Log Message:
-----------
py-cairo: make it easier for dependencies (e.g., py3X-graph-tool) to find py-cairo
Modified Paths:
--------------
trunk/dports/python/py-cairo/Portfile
Modified: trunk/dports/python/py-cairo/Portfile
===================================================================
--- trunk/dports/python/py-cairo/Portfile 2013-05-29 18:24:35 UTC (rev 106519)
+++ trunk/dports/python/py-cairo/Portfile 2013-05-29 18:51:34 UTC (rev 106520)
@@ -8,7 +8,7 @@
name py-cairo
set my_name pycairo
version 1.10.0
-revision 1
+revision 2
categories-append graphics
license {LGPL-2.1 MPL-1.1}
platforms darwin
@@ -90,6 +90,13 @@
default_variants +x11
}
+ if {${python.version} >= 31} {
+ post-destroot {
+ ln -s ${python.prefix}/include/pycairo/py3cairo.h ${destroot}${python.prefix}/include/pycairo/pycairo.h
+ ln -s ${python.prefix}/lib/pkgconfig/py3cairo.pc ${destroot}${python.prefix}/lib/pkgconfig/pycairo.pc
+ }
+ }
+
livecheck.type none
} else {
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130529/c2290199/attachment.html>
More information about the macports-changes
mailing list