[44406] trunk/dports/python/py26-cairo/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Sat Dec 27 16:47:35 PST 2008


Revision: 44406
          http://trac.macports.org/changeset/44406
Author:   mcalhoun at macports.org
Date:     2008-12-27 16:47:35 -0800 (Sat, 27 Dec 2008)
Log Message:
-----------
py26-cairo: Update version 1.6.4 -> 1.8.0.
Removed check to see if frameworks_dir exists (assumes MacPorts 1.7.0).

Modified Paths:
--------------
    trunk/dports/python/py26-cairo/Portfile

Modified: trunk/dports/python/py26-cairo/Portfile
===================================================================
--- trunk/dports/python/py26-cairo/Portfile	2008-12-28 00:40:47 UTC (rev 44405)
+++ trunk/dports/python/py26-cairo/Portfile	2008-12-28 00:47:35 UTC (rev 44406)
@@ -5,7 +5,7 @@
 
 name            py26-cairo
 set my_name     pycairo
-version         1.6.4
+version         1.8.0
 categories      python x11
 platforms       darwin
 maintainers     mcalhoun
@@ -14,14 +14,14 @@
 long_description \
     ${description}
 
-homepage        http://cairographics.org/pycairo
-master_sites    http://cairographics.org/releases
+homepage        http://cairographics.org/pycairo/
+master_sites    http://cairographics.org/releases/
 distname        ${my_name}-${version}
 
-checksums \
-    md5     2c3aa21e6e610321498f9f81f7b625df \
-    sha1    d3b3ecb6e999cc7b4a6ebcad00ae8d82c253c21c \
-    rmd160  6197427df3d10b708847503f975670e3d02d57e5
+checksums       \
+    md5     847f5377c32228a656819f5bd18eb6b4 \
+    sha1    b9b50f4202b022365f30824459c2b39fb33e891f \
+    rmd160  0435c394cc343de21b7a0f00dab0f9f943912612
 
 depends_build   port:pkgconfig
 depends_lib     port:python26 \
@@ -30,13 +30,8 @@
 
 configure.python    ${prefix}/bin/python2.6
 
-# Can be removed once MacPorts 1.7.0 is released
-if {![info exists frameworks_dir]} {
-   set frameworks_dir ${prefix}/Library/Frameworks
-}
-
-configure.pre_args-delete  --prefix=${prefix}
 set python_prefix  ${frameworks_dir}/Python.framework/Versions/2.6
+configure.pre_args-delete  --prefix=${prefix}
 configure.pre_args-append  --prefix=${python_prefix}
 configure.args-append      --includedir=${python_prefix}/include/python2.6
 
@@ -48,8 +43,8 @@
 
 post-destroot {
     set docdir ${prefix}/share/doc/${name}
-    xinstall -d ${destroot}${docdir}
-    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING NEWS doc/NOTES doc/FAQ README \
+    xinstall -d -m 0755 ${destroot}${docdir}
+    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING NEWS README \
         ${destroot}${docdir}
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081227/5f42b27f/attachment.html>


More information about the macports-changes mailing list