# $Id: Portfile 30224 2007-10-22 22:49:14Z jmpp@macports.org $

PortSystem 1.0

name		ode
version		0.9
categories	devel
platforms	darwin
maintainers	nomaintainer
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.

homepage	http://www.ode.org/
master_sites	sourceforge:opende
distfiles	${name}-src-${version}.zip
checksums	sha1 3b39ce085c2dc77c3fad7abaa382ffc20d3780e5
use_zip		yes
patchfiles	patch-configure

#depends_lib	lib:libGL:XFree86

configure.args	--with-trimesh=opcode --disable-demos --without-x

build.type	gnu

post-destroot	{
	system "ranlib ${destroot}${prefix}/lib/libode.a"
}

livecheck.check	sourceforge
livecheck.name	opende
livecheck.regex	ode-src-(\[0-9\\\.]+)\\.

