# -*- 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
# $Id: Portfile 113965 2013-11-26 20:23:14Z macsforever2000@macports.org $

PortSystem          1.0

name                spatialindex
version             1.8.1
revision            0
categories          devel science
platforms           darwin
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            http://libspatialindex.org/
master_sites        http://download.osgeo.org/libspatialindex

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

checksums           rmd160  1578ea023eeabe133811383966208f0c13e72bae \
                    sha256  9e57b07ccd64b2940ac42739382e84492716f186892ba81c0d2a636ca6de3bcd

livecheck.url       ${master_sites}
livecheck.regex     <a href=\"${name}(?:-src)?-(.*).tar.gz\"
