# -*- 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
# $Id: Portfile 63452 2010-02-05 13:12:00Z stromnov@macports.org $

PortSystem          1.0
PortGroup           cmake 1.0

name                bullet
version             2.75
categories          devel

maintainers         stromnov openmaintainer

description         Bullet Physics Engine

long_description    ${description}

platforms           darwin

homepage            http://bulletphysics.org/
master_sites        googlecode:bullet
use_zip             yes

checksums           md5     38ed8afcd53a5e0116ce7541eccbc0f6 \
                    sha1    1d8e057c24f697caeb9ec25cde94193acb2b0d50 \
                    rmd160  fddd0d82146906a5628d70f118135226317d4aef

configure.args-append \
                    -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib \
                    -DBUILD_SHARED_LIBS=ON \
                    -DBUILD_EXTRAS=OFF \
                    -DBUILD_DEMOS=OFF

use_parallel_build  no

livecheck.regex     <a href="http://${name}.googlecode.com/files/${name}\-(\\d+(?:\\.\\d+)*)${extract.suffix}"
