<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5b41d3ec53857f0a4f56af39aa4fbf9036ec6c00">https://github.com/macports/macports-ports/commit/5b41d3ec53857f0a4f56af39aa4fbf9036ec6c00</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 5b41d3ec53857f0a4f56af39aa4fbf9036ec6c00
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Thu Jun 27 19:03:20 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> paraview: use cmake PortGroup version 1.1
</span>---
science/paraview/Portfile | 29 ++++++++++++++++++++---------
1 file changed, 20 insertions(+), 9 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/paraview/Portfile b/science/paraview/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e520f1c..4e8144c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/paraview/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/paraview/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,14 +2,14 @@
</span>
PortSystem 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup cmake 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cmake 1.1
</span> PortGroup cxx11 1.1
PortGroup qt5 1.0
PortGroup mpi 1.0
name paraview
version 5.5.2
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 4
</span>
categories science graphics
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -45,15 +45,26 @@ qt5.min_version 5.6
</span>
patchfiles patch-incomplete-types.patch
<span style='display:block; white-space:pre;background:#ffe0e0;'>-cmake.out_of_source yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+cmake.install_rpath
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.pre_args-delete\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DCMAKE_INSTALL_PREFIX=${prefix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# paraview sets its own optimization flags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.optflags
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-delete \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DCMAKE_INSTALL_RPATH=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# avoid `Unknown build type "MacPorts". Allowed values are Debug, Release,`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[variant_isset debug]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cmake.build_type Debug
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cmake.build_type Release
</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;'>+configure.pre_args-delete \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_INSTALL_PREFIX="${cmake.install_prefix}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.post_args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# avoid `Exit code: 2`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_parallel_build no
</span>
# ${destroot} needs to be part of MACOSX_APP_INSTALL_PREFIX; see further
# comments below, JJS 12/21/15
</pre><pre style='margin:0'>
</pre>