Ticket #36488: bob-1.1.0-ryandesign.diff
File bob-1.1.0-ryandesign.diff, 3.1 KB (added by ryandesign (Ryan Carsten Schmidt), 12 years ago) |
---|
-
Portfile
3 3 4 4 PortSystem 1.0 5 5 PortGroup cmake 1.0 6 PortGroup github 1.0 6 7 7 name bob 8 version 1.0.6 9 set soversion 1.0 8 github.setup idiap bob 1.1.0 v 9 set soversion 1.1 10 10 categories science math devel 11 11 platforms darwin 12 12 maintainers idiap.ch:andre.anjos \ … … 22 22 23 23 license GPL-3 24 24 homepage http://idiap.github.com/bob/ 25 master_sites https://github.com/idiap/bob/downloads/26 use_zip yes27 25 28 checksums rmd160 eac3e390ed25c69d8c6038f815ea473c21118a0f\29 sha256 767e22bddb2bfb59458b76eb37cab3791bf1bfbe33fc7ad11ca29038343b5dea26 checksums rmd160 488fadd37b5f1c7047035d791e21863d5d258b9c \ 27 sha256 dcdd59727185d4df85d68e644cc8f2ce6d9e9132cab3a7d8a0b981b0d7eb926a 30 28 31 29 use_parallel_build no 32 30 … … 42 40 43 41 configure.args -DCMAKE_BUILD_TYPE=Release -DBOB_VERSION=${version} -DBOB_SOVERSION=${soversion} 44 42 45 compiler.blacklist clang46 47 43 universal_variant no 48 44 default_variants +qt4 +opencv 49 45 … … 51 47 default_variants-append +python27 52 48 } 53 49 54 variant python26 conflicts python27 description "Builds for python 2.6." { 55 depends_lib-append port:py26-numpy \ 50 variant python26 conflicts python27 description "Build for python 2.6" { 51 depends_build-append port:py26-sphinx 52 53 depends_lib-append port:py26-distribute \ 54 port:py26-numpy \ 56 55 port:py26-matplotlib \ 57 56 port:py26-sqlalchemy \ 58 57 port:py26-argparse \ 59 port:py26-scipy 58 port:py26-scipy \ 59 port:py26-nose 60 60 } 61 61 62 variant python27 conflicts python26 description "Builds for python 2.7." { 63 depends_lib-append port:py27-numpy \ 62 variant python27 conflicts python26 description "Build for python 2.7" { 63 depends_build-append port:py27-sphinx 64 65 depends_lib-append port:py27-distribute \ 66 port:py27-numpy \ 64 67 port:py27-matplotlib \ 65 68 port:py27-sqlalchemy \ 66 port:py27-scipy 69 port:py27-scipy \ 70 port:py27-nose 67 71 } 68 72 69 variant qt4 description "Compile Qt4 extensions ." {73 variant qt4 description "Compile Qt4 extensions" { 70 74 depends_lib-append port:qt4-mac 71 75 } 72 76 73 variant opencv description "Compile OpenCV extensions ." {77 variant opencv description "Compile OpenCV extensions" { 74 78 depends_lib-append port:opencv 75 79 } 76 80 77 variant doc description "Build s documentation." {81 variant doc description "Build documentation" { 78 82 depends_build-append port:dvipng \ 79 83 port:doxygen \ 80 84 port:texlive-latex-extra \ 81 85 port:texlive-fonts-recommended 82 86 destroot.target-append sphinx-latex install-sphinx install-doxygen 83 87 84 if {[variant_isset python26]} {85 depends_build-append port:py26-sphinx86 }87 if {[variant_isset python27]} {88 depends_build-append port:py27-sphinx89 }90 88 test.run yes 91 89 test.target sphinx-doctest 92 90 }