# $Id$ PortSystem 1.0 name orocos-ocl version 1.10.1 revision 0 categories devel maintainers nobody description Orocos Component Library long_description The Orocos Component Library contains components for \ real-time control of robots and machines. platforms darwin homepage http://orocos.org/ master_sites http://orocos.org/stable/ocl/v${version} distfiles orocos-ocl-${version}-src.tar.bz2 use_bzip2 yes checksums md5 850f7bf1c0b099ed0b83c8c691c99eb9 use_parallel_build yes depends_build port:cmake \ port:boost \ port:orocos-rtt configure.pre_args -DCMAKE_INSTALL_PREFIX=${prefix} \ -DOROCOS_TARGET=macosx \ -DOROCOS_INSTALL=${prefix} \ -DENABLE_CORBA=OFF \ -DBUILD_DEPLOYMENT=NO \ -DBUILD_REPORTING=NO \ -DBUILD_TASKBROWSER=NO \ -DBUILD_MOTION=NO \ -DBUILD_NAXES=NO \ -DBUILD_CARTESIAN=NO \ -DBUILD_HELLOWORLD=NO configure.cmd cmake variant corba description {build CORBA support using OmniORB} { depends_build-append port:omniORB \ lib:orocos-rtt-corba-macosx:orocos-rtt configure.args-delete -DENABLE_CORBA=OFF configure.args-append -DENABLE_CORBA=ON \ -DCORBA_IMPLEMENTATION=OMNIORB \ -DOMNIORB4_DIR=/opt/local/include } variant taskbrowser description {build taskbrowser} { depends_build-append port:readline configure.args-delete -DBUILD_TASKBROWSER=NO # the CMAKE_PREFIX_PATH ensures we find MacPorts' readline, and not the # default readline in /usr (which is too far out of date for us) configure.args-append -DBUILD_TASKBROWSER=YES \ -DCMAKE_PREFIX_PATH=${prefix} } variant deployment description {build deployment} { configure.args-delete -DBUILD_DEPLOYMENT=NO configure.args-append -DBUILD_DEPLOYMENT=YES } variant reporting description {build reporting} { configure.args-delete -DBUILD_REPORTING=NO configure.args-append -DBUILD_REPORTING=YES } variant motion_control description {build motion control (nAxes and Cartesian)} { configure.args-delete -DBUILD_MOTION=NO \ -DBUILD_NAXES=NO \ -DBUILD_CARTESIAN=NO configure.args-append -DBUILD_MOTION=YES \ -DBUILD_NAXES=YES \ -DBUILD_CARTESIAN=YES depends_build lib:orocos-kdl-1.0.0:orocos-kdl } variant helloworld description {build "hello world" example} { configure.args-delete -DBUILD_HELLOWORLD=NO configure.args-append -DBUILD_HELLOWORLD=YES }