New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #13796: gdal-1.5.0.diff

File gdal-1.5.0.diff, 2.6 KB (added by seanasy@…, 4 years ago)

Replaced to correct mistakes

  • Portfile

    old new  
    22 
    33PortSystem 1.0 
    44name            gdal 
    5 version         1.4.1 
     5version         1.5.0 
    66maintainers     seanasy@gmail.com 
    77platforms       darwin 
    88description     GDAL - Geospatial Data Abstraction Library 
     
    1616homepage        http://www.gdal.org/ 
    1717master_sites    http://www.gdal.org/dl/ 
    1818categories              science 
    19 checksums               md5 688cf651c6f6efc2851b12f2e9c2e0d1 
     19checksums               md5 ffbb024db521a002018cb5666bd6e60d 
    2020 
    2121depends_lib     port:zlib port:libpng port:tiff port:libgeotiff port:jpeg \ 
    2222                        port:giflib port:proj 
     
    2424configure.args  --without-python --with-libz=${prefix} --with-png=${prefix} \ 
    2525        --with-libtiff=${prefix} --with-geotiff=${prefix} --with-jpeg=${prefix} \ 
    2626        --with-gif=${prefix} --without-pg --without-mysql --without-sqlite \ 
    27         --mandir=${prefix}/share/man --with-static-proj4=${prefix} 
     27        --mandir=${prefix}/share/man --with-static-proj4=${prefix} --without-macosx-framework 
    2828 
    2929 
    30 # Python bindings have issues and aren't working in this port yet 
    31 #variant python { 
    32 #       depends_lib-append              port:python24 
    33 #       configure.args-delete   --without-python 
    34 #       configure.args-append   --with-ngpython PYTHON=${prefix}/bin/python 
    35 #                                                                                       PYTHON_LIBS="-L${prefix}/lib/python2.4/config -lpython2.4" \ 
    36 #                                                                                       PYTHON_INCLUDES="-I${prefix}/include/python2.4" 
    37 #} 
     30variant python24 { 
     31        depends_lib-append              port:python24 
     32        configure.args-append   --with-ngpython PYTHON=${prefix}/bin/python2.4 \ 
     33                                                                                        PYTHON_LIBS="-L${prefix}/lib/python2.4/config -lpython2.4" \ 
     34                                                                                        PYTHON_INCLUDES="-I${prefix}/include/python2.4" \ 
     35                                                        --with-pymoddir="${prefix}/lib/python2.4/site-packages" 
     36} 
     37 
     38variant python25 { 
     39        depends_lib-append              port:python25 
     40        configure.args-append   --with-ngpython PYTHON=${prefix}/bin/python2.5 \ 
     41                                                                                        PYTHON_LIBS="-L${prefix}/lib/python2.5/config -lpython2.5" \ 
     42                                                                                        PYTHON_INCLUDES="-I${prefix}/include/python2.5" \ 
     43                                                        --with-pymoddir="${prefix}/lib/python2.5/site-packages" 
     44} 
    3845 
    3946variant geos { 
    4047        depends_lib-append              port:geos 
     
    5259        configure.args-append   --with-pg=${prefix}/lib/postgresql81/bin/pg_config 
    5360} 
    5461 
     62variant postgresql82 { 
     63        depends_lib-append              port:postgresql82 
     64        configure.args-delete   --without-pg 
     65        configure.args-append   --with-pg=${prefix}/lib/postgresql82/bin/pg_config 
     66} 
     67 
    5568variant sqlite3 { 
    5669        depends_lib-append              port:sqlite3 
    5770        configure.args-delete   --without-sqlite 
    5871        configure.args-append   --with-sqlite=${prefix} 
    5972} 
    6073 
     74variant framework { 
     75        configure.args-append   --with-macosx-framework 
     76} 
     77 
    6178platform darwin 8 { 
    6279        configure.compiler      gcc-4.0 
    6380}