Modified: trunk/dports/python/py25-ode/Portfile (53122 => 53123)
--- trunk/dports/python/py25-ode/Portfile 2009-06-30 01:53:15 UTC (rev 53122)
+++ trunk/dports/python/py25-ode/Portfile 2009-06-30 03:06:42 UTC (rev 53123)
@@ -6,7 +6,7 @@
name py25-ode
version 1.2.0
categories python
-maintainers nomaintainer
+maintainers jameskyle
description Python bindings for The Open Dynamics Engine
long_description ${description}.
platforms darwin
@@ -20,3 +20,8 @@
depends_lib-append port:ode
+
+patchfiles patch-setup-py.diff
+post-patch {
+ reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
+}
Added: trunk/dports/python/py25-ode/files/patch-setup-py.diff (0 => 53123)
--- trunk/dports/python/py25-ode/files/patch-setup-py.diff (rev 0)
+++ trunk/dports/python/py25-ode/files/patch-setup-py.diff 2009-06-30 03:06:42 UTC (rev 53123)
@@ -0,0 +1,11 @@
+--- setup.py.old 2009-06-29 19:59:53.000000000 -0700
++++ setup.py 2009-06-29 20:00:12.000000000 -0700
+@@ -8,7 +8,7 @@
+ from stat import *
+
+ # Include directories
+-INC_DIRS = []
++INC_DIRS = ['@@PREFIX@@/include']
+ # Library directories
+ LIB_DIRS = []
+ # Libraries to link with