Ticket #50931: Portfile.diff
File Portfile.diff, 3.3 KB (added by BSeppke (Benjamin Seppke), 9 years ago) |
---|
-
Portfile
old new 8 8 PortGroup cmake 1.0 9 9 PortGroup github 1.0 10 10 11 github.setup ukoethe vigra 1-1 0-0 Version-11 github.setup ukoethe vigra 1-11-0 Version- 12 12 version [strsed ${github.version} {g/-/./}] 13 13 revision 8 14 14 categories graphics … … 22 22 those in the C++ Standard Template Library, you can \ 23 23 easily adapt any VIGRA component to the needs of your \ 24 24 application, without thereby giving up execution speed. 25 homepage http:// hci.iwr.uni-heidelberg.de/vigra/25 homepage http://ukoethe.github.io/vigra/ 26 26 27 checksums rmd160 f54b7742ab74592f404b2af9636ea28ffdbcde51\28 sha256 5ac7d71c89b6a70e6be1b30a73b9f81f4373e933d9dede175d97ee8024807a8a27 checksums rmd160 d9d1c20bdc3c930223aef29c66840434be294685 \ 28 sha256 61beb9c1a432ca666e80e11e85e4b8c875b9e2bfe954c6a9646465f9e0ad77dd 29 29 30 30 depends_lib port:jpeg \ 31 31 port:tiff \ … … 81 81 configure.args-append -DWITH_VALGRIND=NO 82 82 } 83 83 84 variant python26 conflicts python27 description "Also build vigranumpy python26 bindings" { 85 configure.args-append -DPYTHON_EXECUTABLE=${prefix}/bin/python2.6 \ 86 -DPYTHON_SPHINX=${prefix}/bin/sphinx-build-2.6 87 depends_lib-append port:boost \ 88 port:python26 \ 89 port:py26-numpy \ 90 port:py26-sphinx 91 require_active_variants boost python26 92 } 93 94 variant python27 conflicts python26 description "Also build vigranumpy python27 bindings" { 84 variant python27 conflicts python34 python35 description "Also build vigranumpy python27 bindings" { 95 85 configure.args-append -DPYTHON_EXECUTABLE=${prefix}/bin/python2.7 \ 96 86 -DPYTHON_SPHINX=${prefix}/bin/sphinx-build-2.7 97 87 depends_lib-append port:boost \ … … 101 91 require_active_variants boost python27 102 92 } 103 93 104 if {![variant_isset python26]} { 94 variant python34 conflicts python27 python35 description "Also build vigranumpy python34 bindings" { 95 configure.args-append -DPYTHON_EXECUTABLE=${prefix}/bin/python3.4 \ 96 -DPYTHON_SPHINX=${prefix}/bin/sphinx-build-3.4 97 depends_lib-append port:boost \ 98 port:python34 \ 99 port:py34-numpy \ 100 port:py34-sphinx 101 require_active_variants boost python34 102 } 103 104 variant python35 conflicts python27 python34 description "Also build vigranumpy python35 bindings" { 105 configure.args-append -DPYTHON_EXECUTABLE=${prefix}/bin/python3.5 \ 106 -DPYTHON_SPHINX=${prefix}/bin/sphinx-build-3.5 107 depends_lib-append port:boost \ 108 port:python35 \ 109 port:py35-numpy \ 110 port:py35-sphinx 111 require_active_variants boost python35 112 } 113 114 if {![variant_isset python34] && ![variant_isset python35]} { 105 115 default_variants +python27 106 116 } 107 117 108 if {![variant_isset python2 6] && ![variant_isset python27]} {118 if {![variant_isset python27] && ![variant_isset python34] && ![variant_isset python35]} { 109 119 configure.args-append -DWITH_VIGRANUMPY=NO 110 120 } 111 121