# -*- 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.1
PortGroup           github 1.0

github.setup        bulletphysics bullet3 3.25
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball

name                bullet
categories          devel
license             zlib
supported_archs     i386 x86_64

maintainers         {stromnov @stromnov} openmaintainer

description         Bullet Physics Engine
long_description    {*}${description}

homepage            http://bulletphysics.org/

checksums           rmd160  ceda1ba9e862ff2092e2d75c55293ac9002ff716 \
                    sha256  791037f6c59fd28080a5d2a7b84b8c7b1181ae079e9e340e0f0b4093e2489e73 \
                    size    139803042

configure.args-append \
                    -DBUILD_SHARED_LIBS=OFF \
                    -DINSTALL_LIBS=ON \
                    -DUSE_GRAPHICAL_BENCHMARK=OFF \
                    -DBUILD_CPU_DEMOS=OFF \
                    -DBUILD_OPENGL3_DEMOS=OFF \
                    -DBUILD_BULLET2_DEMOS=OFF \
                    -DBUILD_EXTRAS=OFF \
                    -DBUILD_UNIT_TESTS=OFF
