# -*- 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

PortSystem          1.0
PortGroup           cmake 1.0
PortGroup           github 1.0

github.setup        bulletphysics bullet3 2.87
name                bullet
categories          devel
platforms           darwin
license             zlib
supported_archs     i386 x86_64

maintainers         {stromnov @stromnov} openmaintainer

description         Bullet Physics Engine
long_description    ${description}

homepage            http://bulletphysics.org/

checksums           rmd160  d52660628df2369d128919fc9fb93aab2cc5c0ed \
                    sha256  f93d0c439f1576832ecc89ac6e7262e56135a2f3cdafa553f3dffc50c540668d

cmake.out_of_source yes

configure.args-append \
                    -DBUILD_DEMOS=OFF \
                    -DBUILD_BULLET2_DEMOS=OFF \
                    -DBUILD_OPENGL3_DEMOS=OFF \
                    -DBUILD_SHARED_LIBS=ON \
                    -DINSTALL_LIBS=ON \
                    -DINSTALL_EXTRA_LIBS=OFF \
                    -DBUILD_UNIT_TESTS=OFF \
                    -DUSE_GLUT=OFF