Ticket #51020: patch-Portfile-vtk.diff
File patch-Portfile-vtk.diff, 1.8 KB (added by samuel.bateman@…, 9 years ago) |
---|
-
Portfile
old new 5 5 PortGroup cmake 1.0 6 6 7 7 name vtk 8 version 6.3.08 version 7.0.0 9 9 revision 0 10 10 categories graphics devel 11 11 platforms darwin … … 26 26 27 27 distname VTK-${version} 28 28 29 checksums rmd160 c14df81322961e6c4617b1b50fb9a2b1d574d3ce\30 sha256 92a493354c5fa66bea73b5fc014154af5d9f3f6cee8d20a826f4cd5d4b0e8a5e29 checksums rmd160 94b4865f9cb371203039470dcbc5c068b12ab720 \ 30 sha256 78a990a15ead79cdc752e86b83cfab7dbf5b7ef51ba409db02570dbdd9ec32c3 31 31 32 32 cmake.out_of_source yes 33 33 … … 59 59 PortGroup qt5 1.0 60 60 } 61 61 62 variant python27 description {Add Python 2.7 support.} {62 variant python27 conflicts python35 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 … … 69 69 -DVTK_INSTALL_PYTHON_MODULE_DIR=${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages 70 70 } 71 71 72 default_variants +python27 72 variant python35 conflicts python27 description {Add Python 3.5 support.} { 73 depends_lib-append port:python35 74 configure.args-delete \ 75 -DVTK_WRAP_PYTHON:BOOL=OFF 76 configure.args-append \ 77 -DVTK_WRAP_PYTHON:BOOL=ON \ 78 -DPYTHON_EXECUTABLE:STRING=${prefix}/bin/python3.5 \ 79 -DVTK_INSTALL_PYTHON_MODULE_DIR=${frameworks_dir}/Python.framework/Versions/3.5/lib/python3.5/site-packages 80 } 81 82 #default_variants +python27 73 83 74 84 livecheck.type regex 75 85 livecheck.url http://www.vtk.org/VTK/resources/software.html