Ticket #13796: gdal-1.5.0.diff
File gdal-1.5.0.diff, 2.6 KB (added by seanasy@…, 17 years ago) |
---|
-
Portfile
old new 2 2 3 3 PortSystem 1.0 4 4 name gdal 5 version 1. 4.15 version 1.5.0 6 6 maintainers seanasy@gmail.com 7 7 platforms darwin 8 8 description GDAL - Geospatial Data Abstraction Library … … 16 16 homepage http://www.gdal.org/ 17 17 master_sites http://www.gdal.org/dl/ 18 18 categories science 19 checksums md5 688cf651c6f6efc2851b12f2e9c2e0d119 checksums md5 ffbb024db521a002018cb5666bd6e60d 20 20 21 21 depends_lib port:zlib port:libpng port:tiff port:libgeotiff port:jpeg \ 22 22 port:giflib port:proj … … 24 24 configure.args --without-python --with-libz=${prefix} --with-png=${prefix} \ 25 25 --with-libtiff=${prefix} --with-geotiff=${prefix} --with-jpeg=${prefix} \ 26 26 --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 28 28 29 29 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 #} 30 variant 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 38 variant 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 } 38 45 39 46 variant geos { 40 47 depends_lib-append port:geos … … 52 59 configure.args-append --with-pg=${prefix}/lib/postgresql81/bin/pg_config 53 60 } 54 61 62 variant 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 55 68 variant sqlite3 { 56 69 depends_lib-append port:sqlite3 57 70 configure.args-delete --without-sqlite 58 71 configure.args-append --with-sqlite=${prefix} 59 72 } 60 73 74 variant framework { 75 configure.args-append --with-macosx-framework 76 } 77 61 78 platform darwin 8 { 62 79 configure.compiler gcc-4.0 63 80 }