PortSystem 1.0
PortGroup cmake 1.1

name                pqp
version             1.3
revision            1
categories          science
license             Permissive
maintainers         nomaintainer
description         A library for performing proximity queries
long_description    $description
homepage            http://gamma.cs.unc.edu/SSV/
platforms           darwin
master_sites        http://gamma.cs.unc.edu/software/downloads/SSV/

checksums           md5     f710e24a62db763d61d08667439d46fd \
                    sha1    995a9e9e9aa9a54ad2d5abadb9ef143123d4d0ef \
                    rmd160  cd823db9b6be5208b100b8e55ff7831c9aa24371
worksrcdir          ${distname}/PQP_v${version}/src

patchfiles          patch-src-PQP_Compile.h.diff

pre-configure {
    xinstall -m 644 -W ${filespath} LICENSE CMakeLists.txt ${worksrcpath}
}

livecheck.type      regex
livecheck.url       http://gamma.cs.unc.edu/SSV/download.html
livecheck.regex     ${name}-(\[0-9.\]+).tar.gz
