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

name                FreeSOLID
version             2.1.2

categories          science
platforms           darwin
license             LGPL-2
maintainers         nomaintainer

description         Library for collision detection of three-dimensional objects.
long_description    FreeSOLID is a library for collision detection of three-dimensional \
                    objects undergoing rigid motion and deformation. FreeSOLID is designed \
                    to be used in interactive 3D graphics applications.

homepage            https://sourceforge.net/projects/freesolid/
master_sites        sourceforge:freesolid

checksums           rmd160  0f7134913dc5a74d7a8508f43d98e5d4006b3603 \
                    sha256  89edc6afdd9d60c8020b2b865b61558c86a8928dc6f1773b9f4708b5c28eb873

use_zip             yes

depends_lib         port:qhull

post-extract {
    system "chmod +x ${worksrcpath}/configure"
}

configure.args      --infodir=${prefix}/share/info

livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}