Modified: trunk/dports/devel/orocos-kdl/Portfile (61019 => 61020)
--- trunk/dports/devel/orocos-kdl/Portfile 2009-11-30 03:54:07 UTC (rev 61019)
+++ trunk/dports/devel/orocos-kdl/Portfile 2009-11-30 04:05:12 UTC (rev 61020)
@@ -59,9 +59,12 @@
post-destroot {
# ugly code, we should find how to do that directly in CMake.
set libname liborocos-kdl.${branch}.dylib
+ set fw ${prefix}/Library/Frameworks/Python.framework/Versions/2.6
set pylib ${prefix}/lib/python2.6/site-packages/PyKDL.so
- system "install_name_tool -id ${pylib} ${destroot}${pylib}"
system "install_name_tool -change ${worksrcpath}/src/${libname} \
${prefix}/lib/${libname} ${destroot}${pylib}"
+ file mkdir ${destroot}${fw}/lib/python2.6/site-packages
+ move ${destroot}${pylib} \
+ ${destroot}${fw}/lib/python2.6/site-packages
}
}