# $Id: Portfile 85585 2011-10-14 20:17:51Z ryandesign@macports.org $ PortSystem 1.0 name geos version 3.3.0 license LGPL-2.1 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 sha1 f6c6e3398d5c7bf389a0610a0d06896d76ad4480 \ rmd160 724f535739ec88607083b72452481b155297fd2b if {${configure.compiler} == "clang" || ${configure.compiler} == "llvm-gcc-4.2"} { configure.compiler gcc-4.2 if {![file executable ${configure.cc}]} { depends_build-append port:apple-gcc42 depends_skip_archcheck apple-gcc42 configure.compiler apple-gcc-4.2 } } post-destroot { set docdir ${prefix}/share/doc/${name} xinstall -d ${destroot}${docdir} xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \ TODO ${destroot}${docdir} } test.run yes test.cmd make test.target check use_parallel_build yes livecheck.type regex livecheck.url ${homepage} livecheck.regex {geos-(\d+(?:\.\d+)*)}