# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
# $Id: Portfile 76532 2011-02-27 12:13:34Z mnick@macports.org $

PortSystem          1.0

name                spatialindex
version             1.6.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     63399913b42278cfcfd2c79d1b2ec4a3 \
                    sha1    b2044558c7af036b14f155f9228ad5eac7e20943 \
                    rmd160  19d22e77305364d5e5d23ffe67fd5c9cf5e8e72c

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