# $Id: Portfile 73884 2010-11-27 23:47:57Z mmoll@macports.org $

PortSystem 1.0
PortGroup cmake 1.0

name                pqp
version             1.3
categories          science
maintainers         mmoll openmaintainer
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

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
