Ticket #50931: Portfile.diff

File Portfile.diff, 3.3 KB (added by BSeppke (Benjamin Seppke), 8 years ago)
  • Portfile

    old new  
    88PortGroup           cmake 1.0
    99PortGroup           github 1.0
    1010
    11 github.setup        ukoethe vigra 1-10-0 Version-
     11github.setup        ukoethe vigra 1-11-0 Version-
    1212version             [strsed ${github.version} {g/-/./}]
    1313revision            8
    1414categories          graphics
     
    2222                    those in the C++ Standard Template Library, you can \
    2323                    easily adapt any VIGRA component to the needs of your \
    2424                    application, without thereby giving up execution speed.
    25 homepage            http://hci.iwr.uni-heidelberg.de/vigra/
     25homepage            http://ukoethe.github.io/vigra/
    2626
    27 checksums           rmd160  f54b7742ab74592f404b2af9636ea28ffdbcde51 \
    28                     sha256  5ac7d71c89b6a70e6be1b30a73b9f81f4373e933d9dede175d97ee8024807a8a
     27checksums           rmd160  d9d1c20bdc3c930223aef29c66840434be294685 \
     28                    sha256  61beb9c1a432ca666e80e11e85e4b8c875b9e2bfe954c6a9646465f9e0ad77dd
    2929
    3030depends_lib         port:jpeg \
    3131                    port:tiff \
     
    8181    configure.args-append -DWITH_VALGRIND=NO
    8282}
    8383
    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" {
     84variant python27 conflicts python34 python35 description "Also build vigranumpy python27 bindings" {
    9585    configure.args-append   -DPYTHON_EXECUTABLE=${prefix}/bin/python2.7 \
    9686                            -DPYTHON_SPHINX=${prefix}/bin/sphinx-build-2.7
    9787    depends_lib-append  port:boost \
     
    10191    require_active_variants boost python27
    10292}
    10393
    104 if {![variant_isset python26]} {
     94variant 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
     104variant 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
     114if {![variant_isset python34] && ![variant_isset python35]} {
    105115    default_variants +python27
    106116}
    107117
    108 if {![variant_isset python26] && ![variant_isset python27]} {
     118if {![variant_isset python27] && ![variant_isset python34] && ![variant_isset python35]} {
    109119    configure.args-append -DWITH_VIGRANUMPY=NO
    110120}
    111121