Ticket #48677: kealib.diff
File kealib.diff, 1.9 KB (added by ryandesign (Ryan Carsten Schmidt), 9 years ago) |
---|
-
Portfile
4 4 PortGroup cmake 1.0 5 5 PortGroup bitbucket 1.0 6 6 7 bitbucket.setup chchrsc kealib c6d36f37 bitbucket.setup chchrsc kealib 1.4.4 8 8 categories gis 9 version 1.4.2.2014082510 revision 211 9 license MIT 12 10 maintainers vince 13 11 description KEAlib - Implements KEA file format into HDF5 format … … 17 15 built atop HDF5. 18 16 platforms darwin 19 17 homepage https://bitbucket.org/chchrsc/kealib 18 bitbucket.tarball_from downloads 20 19 20 checksums rmd160 75b2c52bfde30d7317edcded3647d10871e05f51 \ 21 sha256 a7da510cc8df545fdb270ae509f7cec40d9ab5c98415459283cffb667d421063 22 21 23 depends_lib-append port:gdal \ 22 24 port:hdf5 23 25 24 fetch.type hg 26 worksrcdir ${worksrcdir}/trunk 25 27 26 pre-configure { 27 reinplace -E "s/(gdalplugins)/lib\\/\\1/" ${worksrcpath}/trunk/gdal/CMakeLists.txt 28 } 28 patchfiles patch-gdal-CMakeLists.txt.diff 29 29 30 configure.dir ${worksrcpath}/trunk31 30 configure.args-append -DGDAL_INCLUDE_DIR=${prefix} \ 32 31 -DGDAL_LIB_PATH=${prefix} \ 33 32 -DHDF5_INCLUDE_DIR=${prefix} \ 34 -DHDF5_LIB_PATH=${prefix} \ 35 -DCMAKE_VERBOSE_MAKEFILE=ON 33 -DHDF5_LIB_PATH=${prefix} 36 34 37 build.dir ${worksrcpath}/trunk 35 cmake.out_of_source no 36 38 37 use_parallel_build no 39 38 40 pre-install { 41 ui_msg "To be able to use KEA format in GDAL, set and export\ 42 (or setenv) the variable GDAL_DRIVER_PATH to \ 43 ${prefix}/lib/gdalplugins." 44 } 39 notes " 40 To be able to use KEA format in GDAL, set and export (or setenv) the\ 41 variable GDAL_DRIVER_PATH to ${prefix}/lib/gdalplugins. 42 "