[43148] trunk/dports/python

jmr at macports.org jmr at macports.org
Fri Dec 5 15:09:34 PST 2008


Revision: 43148
          http://trac.macports.org/changeset/43148
Author:   jmr at macports.org
Date:     2008-12-05 15:09:34 -0800 (Fri, 05 Dec 2008)
Log Message:
-----------
New port: py26-game

Modified Paths:
--------------
    trunk/dports/python/py26-game/Portfile
    trunk/dports/python/py26-game/files/patch-config_darwin.py.diff

Added Paths:
-----------
    trunk/dports/python/py26-game/


Property changes on: trunk/dports/python/py26-game
___________________________________________________________________
Added: svn:mergeinfo
   + 

Modified: trunk/dports/python/py26-game/Portfile
===================================================================
--- trunk/dports/python/py25-game/Portfile	2008-12-05 15:52:02 UTC (rev 43116)
+++ trunk/dports/python/py26-game/Portfile	2008-12-05 23:09:34 UTC (rev 43148)
@@ -2,9 +2,10 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python25 1.0
+# HACK: change to 'PortGroup python26 1.0' when MP 1.7 is released
+source ${portpath}/../../_resources/port1.0/group/python26-1.0.tcl
 
-name            py25-game
+name            py26-game
 version         1.8.1
 categories      python devel multimedia graphics
 platforms       darwin
@@ -31,10 +32,11 @@
                 port:libsdl_image \
                 port:libsdl_ttf \
                 port:smpeg \
-                port:py25-numeric \
-                port:py25-pyobjc
+                port:py26-numeric \
+                port:py26-pyobjc
 
 use_configure   yes
+
 configure.env-append LOCALBASE=${prefix}
 configure.cmd   ${python.bin} config.py
 
@@ -45,8 +47,8 @@
 }
 
 platform darwin 9 {
-    depends_lib-delete port:py25-pyobjc
-    depends_lib-append port:py25-pyobjc2 port:py25-pyobjc2-cocoa
+    depends_lib-delete port:py26-pyobjc
+    depends_lib-append port:py26-pyobjc2 port:py26-pyobjc2-cocoa
 }
 
 post-destroot   {

Modified: trunk/dports/python/py26-game/files/patch-config_darwin.py.diff
===================================================================
--- trunk/dports/python/py25-game/files/patch-config_darwin.py.diff	2008-12-05 15:52:02 UTC (rev 43116)
+++ trunk/dports/python/py26-game/files/patch-config_darwin.py.diff	2008-12-05 23:09:34 UTC (rev 43148)
@@ -33,7 +33,7 @@
 -    incdirs = ['/usr/local/include','/opt/local/include']
 -    libdirs = ['/usr/local/lib','/opt/local/lib']
 +    incdirs = [localbase+'/include', localbase+'/include/SDL', localbase+'/include/smpeg']
-+    libdirs = ['/opt/local/lib']
++    libdirs = [localbase+'/lib']
      newconfig = []
      for d in DEPS:
          d.configure(incdirs, libdirs)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081205/dbdb57e7/attachment.html>


More information about the macports-changes mailing list