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

name                h3dmedx3d
version             1.5.0
categories          graphics
platforms           darwin
maintainers         {@SenseGraphics sensegraphics.com:support}
license             GPL-2+

description         Extension for H3DAPI for support of the volume rendering component of X3D.

long_description    ${description}

homepage            http://www.h3dapi.org
master_sites        ftp://www.h3dapi.org/pub/releases/source/

checksums           rmd160  95cc4fd1c9cc0681a2f26a935a86580906fdbeba \
                    sha256  8c0ce0118dd228d39efa0f3aca09245922619498983fed28417676ab0fddddf0 \
                    size    8141244

depends_lib         port:h3dapi

configure.post_args ${worksrcpath}/build

livecheck.type      regex
livecheck.url       ${master_sites}/
livecheck.regex     h3dmedx3d-(\[0-9.\]+)${extract.suffix}
