# -*- 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           github 1.0
PortGroup           cmake 1.1

github.setup        libspatialindex libspatialindex 2.1.0
github.tarball_from releases
name                spatialindex
revision            0

categories          devel science
license             MIT
maintainers         nomaintainer

description         ${name} provides a general framework for developing \
                    spatial indices.
long_description    {*}${description} \
                    Currently it defines generic interfaces, provides simple \
                    main memory and disk based storage managers and a robust \
                    implementation of an R*-tree, an MVR-tree and a TPR-tree.

homepage            https://libspatialindex.org/

distname            ${name}-src-${version}

checksums           rmd160  38ed65a3db5571ba85bf2c6f198be9bc3ea69673 \
                    sha256  b36e2f8ac4c91a6d292f11d5925d584e13674015afd2132ed2870f1b5ec7b9ad \
                    size    668738

compiler.cxx_standard   2011

patchfiles          patch-src_CMakeLists_txt.diff

configure.args-append \
                    -DBUILD_TESTING=OFF

github.livecheck.regex {([0-9.]+)}
