diff --git a/graphics/vtk/Portfile b/graphics/vtk/Portfile
index 69286e1ea3..b01e7c3e37 100644
a
|
b
|
PortGroup cmake 1.0 |
5 | 5 | PortGroup muniversal 1.0 |
6 | 6 | |
7 | 7 | name vtk |
8 | | version 7.1.0 |
| 8 | version 7.1.1 |
9 | 9 | revision 0 |
10 | 10 | categories graphics devel |
11 | 11 | platforms darwin |
… |
… |
master_sites http://www.vtk.org/files/release/${branch} |
26 | 26 | |
27 | 27 | distname VTK-${version} |
28 | 28 | |
29 | | checksums rmd160 0544631ac78816d649578511a19b8f14d8e228af \ |
30 | | sha256 5f3ea001204d4f714be972a810a62c0f2277fbb9d8d2f8df39562988ca37497a |
| 29 | checksums rmd160 bfc1baf925ba1f497f14a4576fd0a7956ee42d29 \ |
| 30 | sha256 2d5cdd048540144d821715c718932591418bb48f5b6bb19becdae62339efa75a |
31 | 31 | |
32 | 32 | cmake.out_of_source yes |
33 | 33 | |
… |
… |
if {${os.major} <= 10} { |
48 | 48 | } |
49 | 49 | |
50 | 50 | # As proposed at #46853 |
51 | | variant qt4 description {Add Qt4 support.} { |
| 51 | variant qt4 description conflicts qt5 {Add Qt4 support.} { |
52 | 52 | PortGroup qt4 1.0 |
53 | 53 | configure.args-append \ |
54 | 54 | -DQT_QMAKE_EXECUTABLE:PATH=${qt_qmake_cmd} \ |
55 | 55 | -DVTK_Group_Qt:BOOL=ON |
56 | 56 | } |
57 | 57 | |
58 | | variant qt5 description {Add Qt5 support.} { |
| 58 | variant qt5 description conflicts qt4 {Add Qt5 support.} { |
59 | 59 | PortGroup qt5 1.0 |
60 | 60 | } |
61 | 61 | |
62 | | variant python27 conflicts python35 description {Add Python 2.7 support.} { |
| 62 | variant python27 conflicts python35 python36 description {Add Python 2.7 support.} { |
63 | 63 | depends_lib-append port:python27 |
64 | 64 | configure.args-delete \ |
65 | 65 | -DVTK_WRAP_PYTHON:BOOL=OFF |
… |
… |
variant python27 conflicts python35 description {Add Python 2.7 support.} { |
69 | 69 | -DVTK_INSTALL_PYTHON_MODULE_DIR=${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages |
70 | 70 | } |
71 | 71 | |
72 | | variant python35 conflicts python27 description {Add Python 3.5 support.} { |
| 72 | variant python35 conflicts python27 python36 description {Add Python 3.5 support.} { |
73 | 73 | depends_lib-append port:python35 |
74 | 74 | configure.args-delete \ |
75 | 75 | -DVTK_WRAP_PYTHON:BOOL=OFF |
… |
… |
variant python35 conflicts python27 description {Add Python 3.5 support.} { |
79 | 79 | -DVTK_INSTALL_PYTHON_MODULE_DIR=${frameworks_dir}/Python.framework/Versions/3.5/lib/python3.5/site-packages |
80 | 80 | } |
81 | 81 | |
82 | | if {![variant_isset python35]} { |
| 82 | variant python36 conflicts python27 python35 description {Add Python 3.6 support.} { |
| 83 | depends_lib-append port:python36 |
| 84 | configure.args-delete \ |
| 85 | -DVTK_WRAP_PYTHON:BOOL=OFF |
| 86 | configure.args-append \ |
| 87 | -DVTK_WRAP_PYTHON:BOOL=ON \ |
| 88 | -DPYTHON_EXECUTABLE:STRING=${prefix}/bin/python3.6 \ |
| 89 | -DVTK_INSTALL_PYTHON_MODULE_DIR=${frameworks_dir}/Python.framework/Versions/3.6/lib/python3.6/site-packages |
| 90 | } |
| 91 | |
| 92 | if {![variant_isset python35] && ![variant_isset python36]} { |
83 | 93 | default_variants +python27 |
84 | 94 | } |
85 | 95 | |