Changeset 14433 for trunk/dports
- Timestamp:
- Oct 5, 2005, 3:25:25 PM (19 years ago)
- Location:
- trunk/dports/science/gdal
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/science/gdal/Portfile
r11707 r14433 1 # $Id: Portfile,v 1. 4 2005/04/08 19:24:27mww Exp $1 # $Id: Portfile,v 1.5 2005/10/05 15:25:24 mww Exp $ 2 2 3 3 PortSystem 1.0 4 4 name gdal 5 version 1.1.9 6 revision 1 5 version 1.3.1 7 6 maintainers fulton@cmu.edu 8 7 platforms darwin … … 18 17 master_sites ftp://ftp.remotesensing.org/pub/gdal/ 19 18 categories science 20 checksums md5 2183e206affc7bf25e0d33459ccb857219 checksums md5 7ff1ceff745ee011793e1f860c02c172 21 20 22 depends_lib lib:libz.1:zlib lib:libpng:libpng lib:libtiff:tiff\23 lib:libgeotiff:libgeotiff lib:libjpeg:jpeg lib:libproj.0:proj21 depends_lib port:zlib port:libpng port:tiff port:libgeotiff port:jpeg \ 22 port:giflib port:sqlite3 port:proj 24 23 25 configure.args --without-python 24 configure.args --without-python --with-libz=${prefix} --with-png=${prefix} \ 26 25 --with-libtiff=${prefix} --with-geotiff=${prefix} --with-jpeg=${prefix} \ 27 -- mandir=${prefix}/share/man28 configure.env LIBS="-L/${prefix}/lib" 26 --with-gif=${prefix} --without-pg --without-mysql --with-sqlite=${prefix} \ 27 --mandir=\\\${prefix}/share/man 29 28 29 platform darwin 8 { 30 configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 31 } 30 32 31 build.cmd make 32 build.args LD_SHARED="g++ -dynamiclib -install_name ${prefix}/lib/libgdal.1.1.dylib" \ 33 SO_EXT="dylib" 34 build.target "" 33 build.target 35 34 36 destroot.args LD_SHARED="g++ -dynamiclib -install_name ${prefix}/lib/libgdal.1.1.dylib" \ 37 SO_EXT="dylib" prefix="${destroot}${prefix}" 38 35 destroot.destdir prefix=${destroot}${prefix} 39 36 40 37 post-destroot { 41 file mkdir ${destroot}${prefix}/share/doc/${name} 42 file copy ${worksrcpath}/HOWTO-RELEASE ${worksrcpath}/NEWS \ 43 ${worksrcpath}/Changelog ${worksrcpath}/VERSION \ 38 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} 39 xinstall -m 644 -W ${worksrcpath} HOWTO-RELEASE NEWS Changelog VERSION \ 44 40 ${destroot}${prefix}/share/doc/${name} 45 system "ln -sf libgdal.1.1.dylib \46 ${destroot}/${prefix}/lib/libgdal.1.dylib"47 system "ln -sf libgdal.1.1.dylib \48 ${destroot}/${prefix}/lib/libgdal.dylib"49 41 } 50 51 variant devel {52 fetch.type cvs53 cvs.root :pserver:anonymous@cvs.remotesensing.org:/cvsroot54 cvs.module gdal55 cvs.password anonymous56 cvs.tag HEAD57 version HEAD58 worksrcdir ${cvs.module}59 patchfiles patch-GDALmake.opt.in.diff60 }61
Note: See TracChangeset
for help on using the changeset viewer.