# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name opal version 0.4.0 categories devel maintainers snc openmaintainer homepage http://opal.sourceforge.net/ master_sites sourceforge distname ${name}-${version}-src use_zip yes description A high-level interface for low-level physics engines long_description OPAL is a high-level interface for low-level physics\ engines used in games, robotics simulations, and other\ 3D applications. Features a simple C++ API, intuitive\ objects (e.g. Solids, Joints, Motors, Sensors), and\ XML-based file storage for complex objects. platforms darwin depends_build port:scons depends_lib port:ode checksums md5 f000ba644185f49cafcfb3480cc1063a \ sha1 550359a1fb1f75f5e343d123383cbc659136dabd \ rmd160 e9a1ab4a08198aeebfe5784868a2ae68b0b145fc platform darwin { # Build libopal-ode.dylib properly patchfiles-append patch-src-SConstruct.diff post-patch { reinplace "s|@prefix@|${prefix}|" ${worksrcpath}/SConstruct } } use_configure no use_parallel_build yes build.cmd scons build.target build.args extra_include_path=${prefix}/include \ extra_lib_path=${prefix}/lib \ ODE destroot.cmd scons destroot.destdir prefix=${destroot}${prefix} destroot.args ${build.args}