Geos2 version 2.2.3 - How to Download and Install on Mac OS X
Sunday the 21st of March, 2010

    version 2.2.3

      View the most recent changes for the geos2 port at: geos2.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for geos2.
      The raw portfile for geos2 2.2.3 is located here:
      http://geos2.darwinports.com/dports/science/geos2/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/geos2


      The geos2 Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: geos2
      Version: 2.2.3
      Category: science
      Platform: 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

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/geos2
      % sudo port install geos2
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching geos2
      ---> Verifying checksum for geos2
      ---> Extracting geos2
      ---> Configuring geos2
      ---> Building geos2 with target all
      ---> Staging geos2 into destroot
      ---> Installing geos2
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using geos2 with these commands:
      %  man geos2
      % apropos geos2
      % which geos2
      % locate geos2

     Where to find more information:

    Darwin Ports



    Lightbox this page.