1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name orocos-kdl |
---|
6 | version 1.0.1 |
---|
7 | revision 0 |
---|
8 | categories devel |
---|
9 | maintainers nobody |
---|
10 | description Orocos Kinematics and Dynamics Library |
---|
11 | long_description Orocos project to supply RealTime usable kinematics and dynamics code, \ |
---|
12 | it contains code for rigid body kinematics calculations and \ |
---|
13 | representations for kinematic structures and their inverse and forward \ |
---|
14 | kinematic solvers. |
---|
15 | platforms darwin |
---|
16 | homepage http://orocos.org/ |
---|
17 | master_sites http://people.mech.kuleuven.be/~rsmits/kdl |
---|
18 | distfiles orocos-kdl-${version}-src.tar.bz2 |
---|
19 | worksrcdir kdl-${version} |
---|
20 | use_bzip2 yes |
---|
21 | checksums md5 eb17a59cb124e4deb676398f990fb406 |
---|
22 | use_parallel_build yes |
---|
23 | |
---|
24 | depends_build port:cmake \ |
---|
25 | port:boost \ |
---|
26 | port:cppunit \ |
---|
27 | port:eigen |
---|
28 | |
---|
29 | configure.pre_args -DCMAKE_INSTALL_PREFIX=${prefix} \ |
---|
30 | -DOROCOS_TARGET=macosx \ |
---|
31 | -DOROCOS_INSTALL=${prefix} \ |
---|
32 | -DCMAKE_INCLUDE_PATH=${prefix}/include/eigen2 \ |
---|
33 | -DENABLE_CORBA=OFF \ |
---|
34 | -DOROCOS_PLUGIN=OFF \ |
---|
35 | -DPYTHON_BINDINGS=OFF |
---|
36 | |
---|
37 | configure.cmd cmake |
---|
38 | |
---|
39 | variant corba description {build CORBA support using OmniORB} { |
---|
40 | |
---|
41 | depends_build-append port:omniORB \ |
---|
42 | lib:orocos-rtt-corba-macosx:orocos-rtt |
---|
43 | |
---|
44 | configure.pre_args-delete -DENABLE_CORBA=OFF |
---|
45 | |
---|
46 | configure.pre_args-append -DENABLE_CORBA=ON \ |
---|
47 | -DCORBA_IMPLEMENTATION=OMNIORB \ |
---|
48 | -DOMNIORB4_DIR=/opt/local/include |
---|
49 | } |
---|
50 | |
---|
51 | variant plugin description {build Orocos plugin} { |
---|
52 | |
---|
53 | depends_build-append lib:orocos-rtt-corba-macosx:orocos-rtt |
---|
54 | |
---|
55 | configure.pre_args-delete -DOROCOS_PLUGIN=OFF |
---|
56 | |
---|
57 | configure.pre_args-append -DOROCOS_PLUGIN=ON |
---|
58 | } |
---|
59 | |
---|
60 | variant python25 description {build bindings for Python 2.5} { |
---|
61 | |
---|
62 | depends_build-append port:python25 \ |
---|
63 | port:py25-sip |
---|
64 | |
---|
65 | configure.pre_args-delete -DPYTHON_BINDINGS=OFF |
---|
66 | |
---|
67 | configure.pre_args-append -DPYTHON_BINDINGS=ON \ |
---|
68 | -DCMAKE_PREFIX_PATH=${prefix}/Library/Frameworks/Python.framework/Versions/2.5/ |
---|
69 | } |
---|
70 | |
---|