Ticket #11741: gdal-1.4.patch
File gdal-1.4.patch, 2.8 KB (added by seanasy@…, 18 years ago) |
---|
-
(a) /dev/fd/63 vs. (b) Portfile
a b 1 # $Id: Portfile 20456 2006-11-03 15:10:31Z blair@macports.org $2 3 1 PortSystem 1.0 4 2 name gdal 5 version 1. 3.16 maintainers fulton@cmu.edu3 version 1.4.0 4 maintainers seanasy@gmail.com 7 5 platforms darwin 8 6 description GDAL - Geospatial Data Abstraction Library 9 7 long_description GDAL is a translator library for raster geospatial \ … … 13 11 for all supported formats. The related OGR library \ 14 12 (which lives within the GDAL source tree) provides a \ 15 13 similar capability for simple features vector data. 16 homepage http://www. remotesensing.org/gdal/17 master_sites ftp://ftp.remotesensing.org/pub/gdal/18 categories science19 checksums md5 7ff1ceff745ee011793e1f860c02c17214 homepage http://www.gdal.org/ 15 master_sites http://www.gdal.org/dl/ 16 categories science 17 checksums md5 a7a35243806f011d329b4f265a1e5fa0 20 18 21 19 depends_lib port:zlib port:libpng port:tiff port:libgeotiff port:jpeg \ 22 port:giflib port:sqlite3port:proj20 port:giflib port:proj 23 21 24 22 configure.args --without-python --with-libz=${prefix} --with-png=${prefix} \ 25 23 --with-libtiff=${prefix} --with-geotiff=${prefix} --with-jpeg=${prefix} \ 26 --with-gif=${prefix} --without-pg --without-mysql --with-sqlite=${prefix} \ 27 --mandir=\\\${prefix}/share/man 24 --with-gif=${prefix} --without-pg --without-mysql --without-sqlite \ 25 --mandir=${prefix}/share/man --with-static-proj4=${prefix} 26 27 28 # Python bindings have issues and aren't working in this port yet 29 #variant python { 30 # depends_lib-append port:python24 31 # configure.args-delete --without-python 32 # configure.args-append --with-ngpython PYTHON=${prefix}/bin/python 33 # PYTHON_LIBS="-L${prefix}/lib/python2.4/config -lpython2.4" \ 34 # PYTHON_INCLUDES="-I${prefix}/include/python2.4" 35 #} 36 37 variant geos { 38 depends_lib-append port:geos 39 configure.args-append --with-geos=${prefix}/bin/geos-config 40 } 41 42 variant hdf5 { 43 depends_lib-append port:hdf5 44 configure.args-append --with-hdf5=${prefix} 45 } 46 47 variant postgresql81 { 48 depends_lib-append port:postgresql81 49 configure.args-delete --without-pg 50 configure.args-append --with-pg=${prefix}/lib/postgresql81/bin/pg_config 51 } 52 53 variant sqlite3 { 54 depends_lib-append port:sqlite3 55 configure.args-delete --without-sqlite 56 configure.args-append --with-sqlite=${prefix} 57 } 28 58 29 59 platform darwin 8 { 30 60 configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 … … 32 62 33 63 build.target 34 64 35 destroot.destdir prefix=${destroot}${prefix}36 37 65 post-destroot { 38 66 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} 39 xinstall -m 644 -W ${worksrcpath} HOWTO-RELEASE NEWS ChangelogVERSION \67 xinstall -m 644 -W ${worksrcpath} HOWTO-RELEASE NEWS VERSION \ 40 68 ${destroot}${prefix}/share/doc/${name} 41 69 } 42 70