Ticket #48506: Portfile-opencv.diff
File Portfile-opencv.diff, 1.6 KB (added by crazyhorse671@…, 9 years ago) |
---|
-
Portfile
old new 25 25 Robotics. 26 26 27 27 homepage http://opencv.org 28 master_sites sourceforge:project/opencvlibrary/opencv-unix/${version} 28 master_sites sourceforge:project/opencvlibrary/opencv-unix/${version}:opencv \ 29 https://github.com/Itseez/opencv_contrib/archive:opencv_contrib 30 31 distfiles ${distname}.zip:opencv 32 #\ 33 #${version}.zip:opencv_contrib 29 34 30 35 use_zip yes 31 36 32 checksums rmd160 7b4dff26502e71e6570c2452c35fd03a1982bc7e \ 33 sha256 07094ea2f996f2622d572f0f3a162d698c8a547520341ca9109fbaf9363fb001 37 checksums ${distname}${extract.suffix} \ 38 rmd160 7b4dff26502e71e6570c2452c35fd03a1982bc7e \ 39 sha256 07094ea2f996f2622d572f0f3a162d698c8a547520341ca9109fbaf9363fb001 \ 40 ${version}.zip \ 41 rmd160 b257895ab529db2354f17c87b9f02d53625bb5e2 \ 42 sha256 77b28692b9e477a8554dd5b2180211dd86b6fd69d98e6896b6a7e1753e5f7e8f 34 43 35 44 depends_build-append \ 36 45 port:pkgconfig … … 253 262 -DWITH_VTK=ON 254 263 } 255 264 265 variant contrib description {Build OpenCV with extra modules.} { 266 distfiles-append ${version}.zip:opencv_contrib 267 configure.args-append -DOPENCV_EXTRA_MODULES_PATH=${workpath}/opencv_contrib-${version}/modules 268 } 269 256 270 platform darwin { 257 271 post-patch { 258 272 if {${os.major} < 10} {