Ticket #10872: upgrading_to_gdal_132.patch

File upgrading_to_gdal_132.patch, 2.0 KB (added by mark.m.fredrickson@…, 18 years ago)

Oop. Here's the diff.

  • Portfile

    old new  
    22
    33PortSystem 1.0
    44name            gdal
    5 version         1.3.1
     5version         1.3.2
    66maintainers     fulton@cmu.edu
    77platforms       darwin
    88description     GDAL - Geospatial Data Abstraction Library
     
    1313                        for all supported formats. The related OGR library \
    1414                        (which lives within the GDAL source tree) provides a \
    1515                        similar capability for simple features vector data.
    16 homepage        http://www.remotesensing.org/gdal/
    17 master_sites    ftp://ftp.remotesensing.org/pub/gdal/
     16homepage        http://www.gdal.org
     17master_sites  http://www.gdal.org/dl/ \
     18              ftp://ftp.remotesensing.org/pub/gdal/
    1819categories      science
    19 checksums       md5 7ff1ceff745ee011793e1f860c02c172
     20checksums       md5 67ed02dcea21e93f5e123bb0d322898a
    2021
    2122depends_lib     port:zlib port:libpng port:tiff port:libgeotiff port:jpeg \
    2223        port:giflib port:sqlite3 port:proj
     
    2425configure.args  --without-python --with-libz=${prefix} --with-png=${prefix} \
    2526        --with-libtiff=${prefix} --with-geotiff=${prefix} --with-jpeg=${prefix} \
    2627        --with-gif=${prefix} --without-pg --without-mysql --with-sqlite=${prefix} \
    27         --mandir=\\\${prefix}/share/man
     28        --mandir=\\\${prefix}/share/man -with-static-proj4=${prefix}
    2829
    2930platform darwin 8 {
    3031        configure.env   CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
    3132}
    3233
     34variant postgresql {
     35        depends_lib-append      port:postgresql81
     36        configure.args-delete --without-pg
     37        configure.args-append   --with-pg=${prefix}/lib/postgresql81/bin/pg_config
     38}
     39
     40variant geos {
     41        depends_lib-append      port:geos
     42        configure.args-append   --with-geos=${prefix}/bin/geos-config
     43}
     44
    3345build.target
    3446
    3547destroot.destdir        prefix=${destroot}${prefix}
    3648
    3749post-destroot {
    3850        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    39         xinstall -m 644 -W ${worksrcpath} HOWTO-RELEASE NEWS Changelog VERSION \
     51        xinstall -m 644 -W ${worksrcpath} HOWTO-RELEASE NEWS VERSION \
    4052                ${destroot}${prefix}/share/doc/${name}
    4153}