<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/8cc9988510ba52234fdad6dd1c87205cf2636949">https://github.com/macports/macports-ports/commit/8cc9988510ba52234fdad6dd1c87205cf2636949</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 8cc9988 vtk: Add hdf5/mpi variants. Update version to 8.1.1
</span>8cc9988 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 8cc9988510ba52234fdad6dd1c87205cf2636949
</span>Author: Ruben Di Battista <ruben.di-battista@polytechnique.edu>
AuthorDate: Mon Jul 2 00:07:55 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> vtk: Add hdf5/mpi variants. Update version to 8.1.1
</span>---
graphics/vtk/Portfile | 32 ++++++++++++++++++++++++++++----
1 file changed, 28 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/vtk/Portfile b/graphics/vtk/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ec6d5b1..6c408b9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/vtk/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/vtk/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,10 +2,11 @@
</span>
PortSystem 1.0
PortGroup cmake 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup mpi 1.0
</span> PortGroup muniversal 1.0
name vtk
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 7.1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 8.1.1
</span> revision 0
categories graphics devel
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,20 +27,24 @@ master_sites http://www.vtk.org/files/release/${branch}
</span>
distname VTK-${version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 bfc1baf925ba1f497f14a4576fd0a7956ee42d29 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 2d5cdd048540144d821715c718932591418bb48f5b6bb19becdae62339efa75a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 aa711fbd3e7e8a60b300b0045233fdfe0110d7d7 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 71a09b4340f0a9c58559fe946dc745ab68a866cf20636a41d97b6046cb736324 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 33482287
</span>
cmake.out_of_source yes
<span style='display:block; white-space:pre;background:#e0ffe0;'>+mpi.setup
</span>
configure.args-delete \
-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
configure.args-append \
../${distname}/ \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DBUILD_SHARED_LIBS=ON \
</span> -DBUILD_EXAMPLES:BOOL=OFF \
-DVTK_WRAP_PYTHON:BOOL=OFF \
-DVTK_WRAP_JAVA:BOOL=OFF \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DVTK_WRAP_TCL:BOOL=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DVTK_WRAP_TCL:BOOL=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DVTK_USE_COCOA=ON
</span>
# As proposed at #46890
if {${os.major} <= 10} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -89,6 +94,25 @@ variant python36 conflicts python27 python35 description {Add Python 3.6 support
</span> -DVTK_INSTALL_PYTHON_MODULE_DIR=${frameworks_dir}/Python.framework/Versions/3.6/lib/python3.6/site-packages
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant hdf5 description {Add hdf5 readers} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:hdf5 port:boost port:netcdf-cxx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DVTK_USE_SYSTEM_HDF5=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DVTK_USE_SYSTEM_NETCDF=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DNETCDF_DIR=${prefix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DBOOST_ROOT=${prefix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DModule_vtkIOXdmf2:BOOL=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DModule_vtkxdmf2:BOOL=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DModule_vtkxdmf3:BOOL=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DModule_vtkIOXdmf3:BOOL=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mpi.enforce_variant hdf5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[mpi_variant_isset]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DVTK_Group_MPI:BOOL=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> if {![variant_isset python35] && ![variant_isset python36]} {
default_variants +python27
}
</pre><pre style='margin:0'>
</pre>