gdal version 1.4.1 for Mac OS X 10.5 Leopard
Saturday the 17th of May, 2008

    gdal  most recent diff


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



      # $Id: Portfile 33441 2008-01-27 11:46:26Z ryandesign macports.org $

      PortSystem 1.0
      Name: gdal
      Version: 1.4.1
      Maintainers: seanasy gmail.com
      Platform: darwin
      Description: GDAL - Geospatial Data Abstraction Library
      Long Description: GDAL is a translator library for raster geospatial data formats that is released under an X/MIT style Open Source license. As a library, it presents a single abstract data model to the calling application for all supported formats. The related OGR library (which lives within the GDAL source tree) provides a similar capability for simple features vector data.
      Homepage: http://www.gdal.org/
      master_sites http://www.gdal.org/dl/
      Category: science
      checksums md5 688cf651c6f6efc2851b12f2e9c2e0d1

      depends_lib port:zlib port:libpng port:tiff port:libgeotiff port:jpeg port:giflib port:proj

      configure.args --without-python --with-libz=${prefix} --with-png=${prefix} --with-libtiff=${prefix} --with-geotiff=${prefix} --with-jpeg=${prefix} --with-gif=${prefix} --without-pg --without-mysql --without-sqlite --mandir=${prefix}/share/man --with-static-proj4=${prefix}


      # Python bindings have issues and aren't working in this port yet
      #variant python {
      # depends_lib-append port:python24
      # configure.args-delete --without-python
      # configure.args-append --with-ngpython PYTHON=${prefix}/bin/python
      # PYTHON_LIBS="-L${prefix}/lib/python2.4/config -lpython2.4" # PYTHON_INCLUDES="-I${prefix}/include/python2.4"
      #}

      Variant: geos {
      depends_lib-append port:geos
      configure.args-append --with-geos=${prefix}/bin/geos-config
      }

      Variant: hdf5 {
      depends_lib-append port:hdf5
      configure.args-append --with-hdf5=${prefix}
      }

      Variant: postgresql81 {
      depends_lib-append port:postgresql81
      configure.args-delete --without-pg
      configure.args-append --with-pg=${prefix}/lib/postgresql81/bin/pg_config
      }

      Variant: sqlite3 {
      depends_lib-append port:sqlite3
      configure.args-delete --without-sqlite
      configure.args-append --with-sqlite=${prefix}
      }

      build.target

      post-destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 -W ${worksrcpath} HOWTO-RELEASE NEWS VERSION ${destroot}${prefix}/share/doc/${name}
      }

    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/gdal
      % sudo port install gdal
      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 gdal
      ---> Verifying checksum for gdal
      ---> Extracting gdal
      ---> Configuring gdal
      ---> Building gdal with target all
      ---> Staging gdal into destroot
      ---> Installing gdal
    - 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 gdal with these commands:
      %  man gdal
      % apropos gdal
      % which gdal
      % locate gdal

     Where to find more information:

    Darwin Ports



    image test