Ticket #27605: Portfile.diff
File Portfile.diff, 2.5 KB (added by stromnov (Andrey Stromnov), 14 years ago) |
---|
-
Portfile
5 5 PortGroup cmake 1.0 6 6 7 7 name opencv 8 version 2. 1.08 version 2.2.0 9 9 categories graphics science 10 10 platforms darwin 11 11 maintainers gmail.com:stante … … 25 25 use_bzip2 yes 26 26 distname OpenCV-${version} 27 27 28 checksums md5 1 d71584fb4e04214c0085108f95e24c8\29 sha1 8e2d6b653296364ab2ca0fa5a5e6b0edfca114a7 \30 rmd160 e31cdbd30e7925e3725f5957616ffc59c58db24728 checksums md5 122c9ac793a46854ef2819fedbbd6b1b \ 29 sha1 984ed71672d50391d0617fce2ef58e7590ec0fd7 \ 30 rmd160 57aedb7678964f43af3f1c838a8266c7b4869b01 31 31 32 32 depends_build-append port:pkgconfig 33 33 … … 73 73 } 74 74 } 75 75 76 variant python26 description {Add Python 2.6 bindings} {76 variant python26 conflicts python27 description {Add Python 2.6 bindings} { 77 77 depends_lib-append port:python26 78 78 configure.args-delete -DBUILD_NEW_PYTHON_SUPPORT=OFF 79 79 configure.args-append -DINSTALL_PYTHON_EXAMPLES=ON \ 80 -DBUILD_NEW_PYTHON_SUPPORT=ON \ 81 -DPYTHON_EXECUTABLE=${prefix}/bin/python2.6 \ 80 82 -DPYTHON_LIBRARY=${prefix}/lib/libpython2.6.dylib \ 81 83 -DPYTHON_INCLUDE_DIR=${frameworks_dir}/Python.framework/Versions/2.6/Headers 82 84 } 83 85 86 variant python27 conflicts python26 description {Add Python 2.7 bindings} { 87 depends_lib-append port:python27 88 configure.args-delete -DBUILD_NEW_PYTHON_SUPPORT=OFF 89 configure.args-append -DINSTALL_PYTHON_EXAMPLES=ON \ 90 -DBUILD_NEW_PYTHON_SUPPORT=ON \ 91 -DPYTHON_EXECUTABLE=${prefix}/bin/python2.7 \ 92 -DPYTHON_LIBRARY=${prefix}/lib/libpython2.7.dylib \ 93 -DPYTHON_INCLUDE_DIR=${frameworks_dir}/Python.framework/Versions/2.7/Headers 94 } 95 84 96 variant tbb description {Use Intel TBB} { 85 97 depends_lib-append port:tbb 86 98 configure.args-append -DWITH_TBB=ON \