Ticket #10872: upgrading_to_gdal_132.patch
File upgrading_to_gdal_132.patch, 2.0 KB (added by mark.m.fredrickson@…, 18 years ago) |
---|
-
Portfile
old new 2 2 3 3 PortSystem 1.0 4 4 name gdal 5 version 1.3. 15 version 1.3.2 6 6 maintainers fulton@cmu.edu 7 7 platforms darwin 8 8 description GDAL - Geospatial Data Abstraction Library … … 13 13 for all supported formats. The related OGR library \ 14 14 (which lives within the GDAL source tree) provides a \ 15 15 similar capability for simple features vector data. 16 homepage http://www.remotesensing.org/gdal/ 17 master_sites ftp://ftp.remotesensing.org/pub/gdal/ 16 homepage http://www.gdal.org 17 master_sites http://www.gdal.org/dl/ \ 18 ftp://ftp.remotesensing.org/pub/gdal/ 18 19 categories science 19 checksums md5 7ff1ceff745ee011793e1f860c02c17220 checksums md5 67ed02dcea21e93f5e123bb0d322898a 20 21 21 22 depends_lib port:zlib port:libpng port:tiff port:libgeotiff port:jpeg \ 22 23 port:giflib port:sqlite3 port:proj … … 24 25 configure.args --without-python --with-libz=${prefix} --with-png=${prefix} \ 25 26 --with-libtiff=${prefix} --with-geotiff=${prefix} --with-jpeg=${prefix} \ 26 27 --with-gif=${prefix} --without-pg --without-mysql --with-sqlite=${prefix} \ 27 --mandir=\\\${prefix}/share/man 28 --mandir=\\\${prefix}/share/man -with-static-proj4=${prefix} 28 29 29 30 platform darwin 8 { 30 31 configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 31 32 } 32 33 34 variant 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 40 variant geos { 41 depends_lib-append port:geos 42 configure.args-append --with-geos=${prefix}/bin/geos-config 43 } 44 33 45 build.target 34 46 35 47 destroot.destdir prefix=${destroot}${prefix} 36 48 37 49 post-destroot { 38 50 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} 39 xinstall -m 644 -W ${worksrcpath} HOWTO-RELEASE NEWS ChangelogVERSION \51 xinstall -m 644 -W ${worksrcpath} HOWTO-RELEASE NEWS VERSION \ 40 52 ${destroot}${prefix}/share/doc/${name} 41 53 }