# -*- 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 88845 2012-01-13 12:14:29Z stromnov@macports.org $

PortSystem          1.0

name                spatialindex
version             1.7.1
categories-append   devel science
maintainers         mnick

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.

platforms           darwin
license             LGPL

homepage            http://trac.gispython.org/spatialindex
master_sites        http://download.osgeo.org/libspatialindex
distname            ${name}-src-${version}
use_bzip2           yes

checksums           md5     15e5fcff393a56ab9aa7553e4a9cd64a \
                    sha1    7ef94a28a9accfd42551b069ba240d2244f3d054 \
                    rmd160  59b168e15077c540a372047b4c1975cb33420df0

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