# $Id: Portfile 71533 2010-09-15 20:26:12Z ryandesign@macports.org $ PortSystem 1.0 name geos2 version 2.2.3 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 distname geos-${version} checksums md5 440be2b11fd3d711e950a47ea6f1b424 \ sha1 c5da21829255e3625f7c2482c9220234cc5d9f90 \ rmd160 968de157f96f41aa71d5ef7c28c7186e8db0939e test.run yes test.cmd make test.target check use_parallel_build yes platform darwin 9 { patchfiles patch-test_XMLTester.cpp.diff } configure.args --includedir=\\\${prefix}/include/geos2 \ --libdir=\\\${prefix}/lib/geos2 \ --program-suffix=2 post-destroot { # Compatibility links system "cd ${destroot}${prefix}/lib && ln -s geos2/libgeos.dylib libgeos2.dylib" system "cd ${destroot}${prefix}/lib && ln -s geos2/libgeos_c.dylib libgeos2_c.dylib" system "cd ${destroot}${prefix}/include && ln -s geos2/geos.h geos2.h" system "cd ${destroot}${prefix}/include && ln -s geos2/geos_c.h geos2_c.h" } livecheck.type none