PortSystem 1.0

name                solid
version             3.5.7
revision            3
categories          science math devel
platforms           darwin
license             {GPL-2 QPL-1}
maintainers         nomaintainer
description         SOLID is a software library for collision detection of geometric objects in 3D space
long_description    ${description}

homepage            http://www.dtecta.com/
master_sites        http://www.dtecta.com/files/
checksums           rmd160  3040717b9e890bde74c71f4f0c8c4bcc8b8c666e \
                    sha256  7f78cffd83bbed93b0ec4421866ebd97d16db74a8068b25e45df231a49cc7d04
use_zip             yes
patchfiles          patch-configure.ac.diff patch-GLUT.diff

depends_lib         port:qhull

# This project has buggy C++ code
compiler.blacklist  *clang*
compiler.fallback   macports-gcc-4.9

use_autoreconf      yes
autoreconf.args     -fvi

build.args          GLLIBS="-framework OpenGL -framework GLUT"

livecheck.type      none
