# -*- 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        erincatto Box2D 2.4.1 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            1

name                box2d
categories          devel
license             BSD

maintainers         {stromnov @stromnov} openmaintainer

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

homepage            http://box2d.org/

checksums           rmd160  3719ac6d3cafb807ba8d0a6441479cae44db178b \
                    sha256  063c5042446b578ca772d50d398c8c699735ae590b469bcd312aa1962fe6b4ab \
                    size    1224687

compiler.cxx_standard 2011
compiler.thread_local_storage yes

configure.args-append \
                    -DBOX2D_BUILD_UNIT_TESTS=OFF \
                    -DBOX2D_BUILD_TESTBED=OFF \
                    -DBOX2D_BUILD_DOCS=OFF
