[59097] trunk/dports/python/py25-gtk/Portfile

macsforever2000 at macports.org macsforever2000 at macports.org
Fri Oct 9 13:44:56 PDT 2009


Revision: 59097
          http://trac.macports.org/changeset/59097
Author:   macsforever2000 at macports.org
Date:     2009-10-09 13:44:55 -0700 (Fri, 09 Oct 2009)
Log Message:
-----------
Make portfile look more like py26-gtk.

Modified Paths:
--------------
    trunk/dports/python/py25-gtk/Portfile

Modified: trunk/dports/python/py25-gtk/Portfile
===================================================================
--- trunk/dports/python/py25-gtk/Portfile	2009-10-09 20:08:54 UTC (rev 59096)
+++ trunk/dports/python/py25-gtk/Portfile	2009-10-09 20:44:55 UTC (rev 59097)
@@ -1,3 +1,4 @@
+# -*- 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$
 
 PortSystem      1.0
@@ -7,8 +8,8 @@
 version         2.16.0
 set branch      [join [lrange [split ${version} .] 0 1] .]
 categories      python x11
+platforms       darwin
 maintainers     nomaintainer
-platforms       darwin
 description     PyGTK is the Python binding to GTK+ 2.x
 
 long_description \
@@ -32,16 +33,16 @@
                 port:py25-cairo \
                 port:py25-gobject
 
-configure.args  --disable-glibtest
+set python_prefix  ${frameworks_dir}/Python.framework/Versions/2.5
 
+configure.args             --disable-glibtest
 # needed to find Python pkg-config files
-set python_prefix  ${frameworks_dir}/Python.framework/Versions/2.5
-configure.pkg_config_path ${python_prefix}/lib/pkgconfig
+configure.pkg_config_path  ${python_prefix}/lib/pkgconfig
 
 configure.python    ${prefix}/bin/python2.5
 
-platform darwin 9 { 
-    post-patch { 
+platform darwin 9 {
+    post-patch {
         reinplace "s| -export-symbols-regex.*||g" \
             ${worksrcpath}/Makefile.in \
             ${worksrcpath}/gtk/Makefile.in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091009/bcec715b/attachment.html>


More information about the macports-changes mailing list