Ticket #39670: otb-port-update-3.18.patch
File otb-port-update-3.18.patch, 2.5 KB (added by julien.malik@…, 11 years ago) |
---|
-
Portfile
6 6 PortGroup qt4 1.0 7 7 8 8 name orfeotoolbox 9 version 3.1 610 revision 29 version 3.18.0 10 revision 1 11 11 categories gis graphics 12 12 platforms darwin 13 13 license CeCILL … … 29 29 distname OTB-${version} 30 30 extract.suffix .tgz 31 31 32 checksums rmd160 582f2c0322bdcdda707f412de27b470b7b7fab5c\33 sha256 4fc8c12b8e2accfd40d6ed2b4ea05fc70fb51a896273525a9a11e521c9b71af632 checksums rmd160 6e7f79975f4e6856b46306adacb7789874989a09 \ 33 sha256 01a866844f7bc1306b52db9584c3f39b19e57fca9a3e30c9c7d82a72 34 34 35 35 worksrcdir ${worksrcdir}/build 36 36 37 37 depends_lib-append port:tiff \ 38 38 port:jpeg \ 39 port:openjpeg15 \40 39 port:libgeotiff \ 41 40 port:gdal \ 42 41 port:expat \ … … 46 45 port:libkml \ 47 46 port:tinyxml \ 48 47 port:muparser \ 49 port:gettext 48 port:gettext \ 49 port:opencv 50 50 51 51 pre-build { 52 52 if { ![catch {set installed [lindex [registry_active libsvm] 0]}]} { … … 81 81 -DOTB_USE_EXTERNAL_BOOST=ON \ 82 82 -DOTB_USE_EXTERNAL_TINYXML=ON \ 83 83 -DOTB_USE_EXTERNAL_LIBKML=ON \ 84 -DOTB_USE_JPEG2000=ON \85 84 -DOTB_USE_EXTERNAL_MUPARSER=ON \ 86 -DOTB_USE_CURL=ON 85 -DOTB_USE_CURL=ON \ 86 -DOTB_USE_OPENCV=ON 87 87 88 # Use internal ITK (MacPorts ITK is outdated )88 # Use internal ITK (MacPorts ITK is outdated, and internal ITK is patched) 89 89 configure.args-append -DOTB_USE_EXTERNAL_ITK=OFF \ 90 90 -DITK_USE_REVIEW=ON \ 91 91 -DITK_USE_OPTIMIZED_REGISTRATION_METHODS=ON \ 92 92 -DOTB_USE_PATENTED=OFF \ 93 93 -DITK_USE_PATENTED=OFF 94 94 95 # Use internal openjpeg (OTB needs 2.0 API, but does not support using the external lib yet) 96 configure.args-append -DOTB_USE_JPEG2000=ON 97 95 98 # Use internal libs (no MacPorts alternatives available) 96 99 configure.args-append -DOTB_USE_EXTERNAL_OPENTHREADS=OFF \ 97 100 -DOTB_USE_LIBLAS=ON \