# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortGroup xcodeversion 1.0
bitbucket.setup odedevs ode 0.15.2
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 rmd160 d856bce32d853a16dc7c0afdc00eef0a6984bb77 \
sha256 b1fa91af39fcb4e5add94b4ba97e4eff2226b99e3fa837fff19cea9e8cab8b2b
depends_build-append port:libccd
reinplace "s|libtoolize|glibtoolize|g" ${worksrcpath}/bootstrap
# these dependencies are removed by use_autoconf, so add them after
depends_build-append port:libtool port:autoconf port:automake
configure.args --with-trimesh=opcode \
--enable-double-precision \
system "ranlib ${destroot}${prefix}/lib/libode.a"
minimum_xcodeversions {9 3.1}
variant debug description {Enable debugging checks} {