# -*- 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                hapi
version             1.4.0
categories          graphics
platforms           darwin
maintainers         {@SenseGraphics sensegraphics.com:support}
license             GPL-2+

description         Header and library files for HAPI haptics engine.

long_description    HAPI is a C++ open source cross-platform haptics library. \
                    It is extendable and simple to use. It allows for building \
                    applications with haptics cababilities or to add haptics \
                    to existing applications.

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

checksums           rmd160  1b444e5902a1b94ff84837ea452c4cdb57789e17 \
                    sha256  dff7f1eed39b7de87032fccdac6be4597edfac54e13e02de1cfdea633246bf71 \
                    size    420758

depends_lib         port:h3dutil

configure.post_args ${worksrcpath}/build

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