[63682] trunk/dports/devel/orocos-kdl

nox at macports.org nox at macports.org
Fri Feb 12 06:55:39 PST 2010


Revision: 63682
          http://trac.macports.org/changeset/63682
Author:   nox at macports.org
Date:     2010-02-12 06:55:37 -0800 (Fri, 12 Feb 2010)
Log Message:
-----------
Install SIP files in orocos-kdl

Modified Paths:
--------------
    trunk/dports/devel/orocos-kdl/Portfile

Added Paths:
-----------
    trunk/dports/devel/orocos-kdl/files/
    trunk/dports/devel/orocos-kdl/files/patch-src-bindings-python-CMakeLists.txt.diff

Modified: trunk/dports/devel/orocos-kdl/Portfile
===================================================================
--- trunk/dports/devel/orocos-kdl/Portfile	2010-02-12 12:55:06 UTC (rev 63681)
+++ trunk/dports/devel/orocos-kdl/Portfile	2010-02-12 14:55:37 UTC (rev 63682)
@@ -6,12 +6,12 @@
 
 name            orocos-kdl
 version         1.0.1
-revision        1
+revision        2
 set branch      [join [lrange [split ${version} .] 0 1] .]
 categories      devel
 maintainers     nox openmaintainer
 description     Orocos Kinematics and Dynamics
-license         LGPLv2.1
+license         LGPL-2.1
 
 long_description \
     The Kinematics and Dynamics Library (KDL) develops an application \
@@ -62,6 +62,9 @@
     -DOROCOS_TARGET=macosx
 
 variant python26 description "Enable Python 2.6 bindings" {
+    patchfiles-append \
+        patch-src-bindings-python-CMakeLists.txt.diff
+
     depends_lib-append \
         port:py26-sip \
         port:python26
@@ -70,8 +73,6 @@
         -DPYTHON_BINDINGS=1
 
     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
         xinstall -d ${destroot}${fw}/lib/python2.6/site-packages

Added: trunk/dports/devel/orocos-kdl/files/patch-src-bindings-python-CMakeLists.txt.diff
===================================================================
--- trunk/dports/devel/orocos-kdl/files/patch-src-bindings-python-CMakeLists.txt.diff	                        (rev 0)
+++ trunk/dports/devel/orocos-kdl/files/patch-src-bindings-python-CMakeLists.txt.diff	2010-02-12 14:55:37 UTC (rev 63682)
@@ -0,0 +1,11 @@
+--- src/bindings/python/CMakeLists.txt.orig	2010-02-12 15:06:14.000000000 +0100
++++ src/bindings/python/CMakeLists.txt	2010-02-12 15:06:56.000000000 +0100
+@@ -65,6 +65,7 @@
+ 
+ # Step 4: install built libs to python's site packages
+ INSTALL(FILES ${BINDINGS_LIBS} DESTINATION ${PYTHON_INSTDIR})
++INSTALL(FILES ${SIP_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/sip/PyKDL)
+ 
+ 
+ ENDIF(HAVE_PYTHON)
+\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100212/8ecd7a92/attachment.html>


More information about the macports-changes mailing list