[71669] trunk/dports/python

singingwolfboy at macports.org singingwolfboy at macports.org
Sun Sep 19 11:04:01 PDT 2010


Revision: 71669
          http://trac.macports.org/changeset/71669
Author:   singingwolfboy at macports.org
Date:     2010-09-19 11:04:00 -0700 (Sun, 19 Sep 2010)
Log Message:
-----------
New port: py27-cairo

Added Paths:
-----------
    trunk/dports/python/py27-cairo/
    trunk/dports/python/py27-cairo/Portfile

Added: trunk/dports/python/py27-cairo/Portfile
===================================================================
--- trunk/dports/python/py27-cairo/Portfile	                        (rev 0)
+++ trunk/dports/python/py27-cairo/Portfile	2010-09-19 18:04:00 UTC (rev 71669)
@@ -0,0 +1,52 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
+# $Id: Portfile 71027 2010-08-30 05:56:06Z mcalhoun at macports.org $
+
+PortSystem      1.0
+
+name            py27-cairo
+set my_name     py2cairo
+version         1.8.10
+categories      python x11
+platforms       darwin
+maintainers     nomaintainer
+description     Pycairo is set of Python bindings for the cairo graphics library
+
+long_description \
+    ${description}
+
+homepage        http://cairographics.org/pycairo/
+master_sites    http://cairographics.org/releases/
+distname        ${my_name}-${version}
+worksrcdir         pycairo-${version}
+
+checksums           md5     87421a6a70304120555ba7ba238f3dc3 \
+                    sha1    6bb0b3e0249bce9fc0480aadad0c602d32f26ec1 \
+                    rmd160  932e19f2f582bdf5735bdc92720b76edfb0a0c8e
+
+depends_build   port:pkgconfig
+depends_lib     path:lib/pkgconfig/cairo.pc:cairo \
+                port:py27-numpy
+
+configure.python    ${prefix}/bin/python2.7
+
+set python_prefix  ${frameworks_dir}/Python.framework/Versions/2.7
+configure.pre_args-delete  --prefix=${prefix}
+configure.pre_args-append  --prefix=${python_prefix}
+configure.args-append      --includedir=${python_prefix}/include/python2.7
+
+platform darwin 9 {
+    post-patch {
+        reinplace "s| -export-symbols-regex.*||g" ${worksrcpath}/src/Makefile.in
+    }
+}
+
+post-destroot {
+    set docdir ${prefix}/share/doc/${name}
+    xinstall -d -m 0755 ${destroot}${docdir}
+    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING NEWS README \
+        ${destroot}${docdir}
+}
+
+livecheck.type   regex
+livecheck.url    http://cairographics.org/releases/
+livecheck.regex "${my_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"


Property changes on: trunk/dports/python/py27-cairo/Portfile
___________________________________________________________________
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100919/fb3f3cf2/attachment.html>


More information about the macports-changes mailing list