# $Id$ PortSystem 1.0 PortGroup xcodeversion 1.0 PortGroup bitbucket 1.0 bitbucket.setup odedevs ode 0.13.1 categories devel platforms darwin license {LGPL-2.1+ BSD} maintainers nomaintainer homepage http://www.ode.org/ description library for simulating articulated rigid body dynamics long_description ODE is a free, industrial quality library for \ simulating articulated rigid body dynamics - for \ example ground vehicles, legged creatures, and moving \ objects in VR environments. It is fast, flexible, \ robust and platform independent, with advanced joints, \ contact with friction, and built-in collision detection. checksums md5 5733457fc877c6cdf8363c0a8933e74d \ sha1 2163b2a7b3caa17940165d8aa9b2fed97ac69d39 \ rmd160 d2b890c9a569b96d0f47c13b74f287f78f9d7a0b depends_build-append port:libtool port:autoconf port:automake patch { reinplace "s|# LIBTOOLIZE=glibtoolize|LIBTOOLIZE=glibtoolize|g" \ ${worksrcpath}/bootstrap } use_autoconf yes autoconf.cmd ./bootstrap configure.args --with-trimesh=opcode \ --enable-double-precision \ --enable-release \ --enable-shared \ --disable-demos build.type gnu post-destroot { system "ranlib ${destroot}${prefix}/lib/libode.a" } minimum_xcodeversions {9 3.1} variant debug description {Enable debugging checks} { configure.args-delete --enable-release configure.args-append --enable-debug }