# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $

PortSystem       1.0

name             geos
version          3.1.0
categories       science
platforms        darwin
maintainers      gaige.net:opendarwin

description      GEOS Geometry Engine - Open Source
long_description \
  A C++ port of the Java Topology Suite, providing OpenGIS Simple \
  Features for SQL spatial predicate functions and spatial operators, \
  as well as specific JTS topology functions. Used by PostGIS.

homepage         http://trac.osgeo.org/geos/
master_sites     http://download.osgeo.org/geos/
use_bzip2        yes

checksums        md5 1614dd3d0dc7acd2229cb12a40cb3373 \
                 sha1 a36b462e4afac91d7aacef9944bff0706ea64168 \
                 rmd160 45807500e8a46e5d31e9a3cc5245f1720cd2ae16

test.run         yes
test.cmd         make
test.target      check

use_parallel_build yes

livecheck.check  regex
livecheck.url    ${homepage}
livecheck.regex  {geos-(\d+(?:\.\d+)*).tar.bz2}
