<pre style='margin:0'>
Frank Schima (mf2k) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/276a9df3f9e141c2b1699b71fe97f0ae2b3623d0">https://github.com/macports/macports-ports/commit/276a9df3f9e141c2b1699b71fe97f0ae2b3623d0</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 276a9df3f9e nektarpp: new port
</span>276a9df3f9e is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 276a9df3f9e141c2b1699b71fe97f0ae2b3623d0
</span>Author: David Moxey <dave@xyloid.org>
AuthorDate: Tue Nov 10 22:20:13 2020 +0000
<span style='display:block; white-space:pre;color:#404040;'> nektarpp: new port
</span>---
science/nektarpp/Portfile | 156 ++++++++++++++++++++++
science/nektarpp/files/avoid-python-install.patch | 21 +++
science/nektarpp/files/no-homebrew.patch | 44 ++++++
science/nektarpp/files/thirdparty-sources.patch | 23 ++++
4 files changed, 244 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/nektarpp/Portfile b/science/nektarpp/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..c43b3a359b9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/nektarpp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,156 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cmake 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup mpi 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup gitlab 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+gitlab.instance https://gitlab.nektar.info
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+gitlab.setup nektar nektar 5.0.0 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name nektarpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories science
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license MIT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage http://www.nektar.info/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {xyloid.org:dave @mdave} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description spectral/hp element framework
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description Nektar++ is a spectral/hp element framework which aims to be easy \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ to use and support a wide range of features, including 1D, 2D and \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 3D element support, hybrid shaped elements and continuous and \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ discontinuous implementations. As well as a modern C++ API, it \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ships with a range of solvers including CFD, advection-diffusion \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ equations and cardiac electrophysiology.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Additional dependencies for Tetgen and Triangle
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites ${master_sites}:main \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${homepage}thirdparty/:thirdparty
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set main_distfile ${distfiles}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distfiles ${main_distfile}:main \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ tetgen-1.5.zip:thirdparty \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ triangle-1.6.zip:thirdparty
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums nektar-5.0.0.tar.bz2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 f588a4d6429b1ffc85be538885cbb09886ac9cba \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 d98c87af64e6d5cce04f8f60045a63fe63a79274c72a0ba368716fe603a4b625 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 48486184 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ tetgen-1.5.zip \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 d8785f4ca6b26608ec9423f7574a0e736380370a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 52207793198746de14abcb30a0aeed617d7348ff37544e7d7e65aaaa76d7fa70 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 264128 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ triangle-1.6.zip \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 c92c011c442157cae5abcf246935d61bdfeede26 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 7d74d7efbe35dc5a497bd179bdc87b4670740e466f67043d41e0b0546ce76cb5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 130331
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Only the full Nektar++ source should be extracted - CMake will extract any
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# third-party dependencies.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+extract.only ${main_distfile}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles no-homebrew.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ avoid-python-install.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ thirdparty-sources.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard 2011
</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;'>+mpi.setup
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:arpack \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:boost \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:fftw-3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:opencascade \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:scotch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:tinyxml \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:zlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Don't build demos and tests by default.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append -DNEKTAR_BUILD_DEMOS=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DNEKTAR_BUILD_TESTS=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DNEKTAR_BUILD_UNIT_TESTS=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DNEKTAR_SOLVER_DIFFUSION=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DNEKTAR_SOLVER_DUMMY=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DNEKTAR_SOLVER_ELASTICITY=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DNEKTAR_SOLVER_MMF=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DNEKTAR_USE_ARPACK=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DNEKTAR_USE_FFTW=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DNEKTAR_USE_MESHGEN=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DNEKTAR_USE_SCOTCH=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant petsc description {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Enable PETSc support for linear algebra solvers.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:petsc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DNEKTAR_USE_PETSC=ON
</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;'>+ distfiles-append gsmpi-1.2.1_1.tar.bz2:thirdparty
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums-append gsmpi-1.2.1_1.tar.bz2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 3a1ad71c552ea9d62bebabd4ed528531f9c0eec6 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 c9bc966c92f45e81f4e9d1887dd7c59808e7a4ef9ec41e1e5f1e6c5c01745211 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 39737
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:hdf5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ require_active_variants hdf5 [mpi_variant_name]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ require_active_variants scotch [mpi_variant_name]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DNEKTAR_USE_HDF5=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DNEKTAR_USE_MPI=ON
</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;'>+variant oce description {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use Community Edition version of OpenCASCADE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-replace port:opencascade port:oce
</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;'>+post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Copy additional third-party sources into correct position.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mkdir ${worksrcpath}/ThirdParty
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach distfile ${distfiles} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set distfile [lindex [split ${distfile} :] 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${distfile} ne ${main_distfile}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${distpath}/${distfile} ${worksrcpath}/ThirdParty/
</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;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set pythons_suffixes {37 38}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set pythons_ports {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach s ${pythons_suffixes} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend pythons_ports python${s}
</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;'>+foreach s ${pythons_suffixes} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set p python${s}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set v [string index ${s} 0].[string index ${s} 1]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set pe ${prefix}/bin/python${v}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set i [lsearch -exact ${pythons_ports} ${p}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set c [lreplace ${pythons_ports} ${i} ${i}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant ${p} description "Build the Python ${v} bindings" conflicts {*}${c} "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:${p} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${s}-numpy \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:boost-numpy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DNEKTAR_BUILD_PYTHON=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DNEKTAR_PYTHON3_STATUS=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DNEKTAR_USE_PYTHON3=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DPYTHON_EXECUTABLE=${pe}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Install Python libraries using setup.py.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${build.dir} \"${pe} setup.py install --root=${destroot}\"
</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;'>+ require_active_variants boost ${p}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ require_active_variants boost-numpy ${p}
</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;color:#808080;'>diff --git a/science/nektarpp/files/avoid-python-install.patch b/science/nektarpp/files/avoid-python-install.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..dc084222203
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/nektarpp/files/avoid-python-install.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,21 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Avoid setting Python libraries as install targets to avoid DESTDIR
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+installation issues.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- cmake/NektarCommon.cmake.orig 2020-07-10 10:19:58.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ cmake/NektarCommon.cmake 2020-07-10 10:20:47.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -268,6 +268,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Python requires a .so extension, even on OS X.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SET_TARGET_PROPERTIES(_${name} PROPERTIES PREFIX "")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SET_TARGET_PROPERTIES(_${name} PROPERTIES SUFFIX ".so")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ SET_TARGET_PROPERTIES(_${name} PROPERTIES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/NekPy/${name})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ADD_DEPENDENCIES(_${name} boost-numpy)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -287,7 +289,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SET(TMPOUT "${TMPOUT}from ._${name} import *")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ FILE(WRITE ${CMAKE_BINARY_DIR}/NekPy/${name}/__init__.py ${TMPOUT})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- INSTALL(TARGETS _${name} DESTINATION ${CMAKE_BINARY_DIR}/NekPy/${name})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ENDMACRO()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MACRO(ADD_NEKPY_EXECUTABLE name source)
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/nektarpp/files/no-homebrew.patch b/science/nektarpp/files/no-homebrew.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..eb458b8bd08
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/nektarpp/files/no-homebrew.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,44 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Don't automatically use Homebrew paths.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+MacPorts already sets the correct paths to use.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- CMakeLists.txt.orig 2019-11-19 10:55:14.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ CMakeLists.txt 2020-07-07 12:40:45.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -69,39 +69,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SET(CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR}/dist CACHE PATH "" FORCE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ENDIF()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-# Find default search paths for OS X; adapted from Stack Overflow question
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-# 1487752.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-IF (APPLE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- EXECUTE_PROCESS(COMMAND which port
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- RESULT_VARIABLE DETECT_MACPORTS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- OUTPUT_VARIABLE MACPORTS_PREFIX
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- EXECUTE_PROCESS(COMMAND brew --prefix
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- RESULT_VARIABLE DETECT_HOMEBREW
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- OUTPUT_VARIABLE HOMEBREW_PREFIX
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- IF (${DETECT_MACPORTS} EQUAL 0)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- GET_FILENAME_COMPONENT(MACPORTS_PREFIX ${MACPORTS_PREFIX} DIRECTORY)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- GET_FILENAME_COMPONENT(MACPORTS_PREFIX ${MACPORTS_PREFIX} DIRECTORY)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- SET(CMAKE_LIBRARY_PATH ${MACPORTS_PREFIX}/lib ${CMAKE_LIBRARY_PATH})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- SET(CMAKE_INCLUDE_PATH ${MACPORTS_PREFIX}/include ${CMAKE_INCLUDE_PATH})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- MESSAGE(STATUS "Detected MacPorts installation: ${MACPORTS_PREFIX}")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ELSE()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- UNSET(MACPORTS_PREFIX)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ENDIF()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- IF (${DETECT_HOMEBREW} EQUAL 0)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- SET(CMAKE_LIBRARY_PATH ${HOMEBREW_PREFIX}/lib ${CMAKE_LIBRARY_PATH})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- SET(CMAKE_INCLUDE_PATH ${HOMEBREW_PREFIX}/include ${CMAKE_INCLUDE_PATH})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- MESSAGE(STATUS "Detected Homebrew installation: ${HOMEBREW_PREFIX}")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ELSE()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- UNSET(HOMEBREW_PREFIX)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ENDIF()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- UNSET(DETECT_HOMEBREW)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- UNSET(DETECT_MACPORTS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-ENDIF()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Attempt to retrieve git branch and SHA1 hash of current changeset.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ INCLUDE(GetGitRevisionDescription)
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/nektarpp/files/thirdparty-sources.patch b/science/nektarpp/files/thirdparty-sources.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..ed1306149d9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/nektarpp/files/thirdparty-sources.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,23 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Patch filenames of third-party sources to include version numbers.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- cmake/ThirdPartyTriangle.cmake.orig 2020-07-10 11:22:33.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ cmake/ThirdPartyTriangle.cmake 2020-07-10 11:22:52.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -25,7 +25,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ EXTERNALPROJECT_ADD(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ triangle-1.6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PREFIX ${TPSRC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- URL ${TPURL}/triangle.zip
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ URL ${TPURL}/triangle-1.6.zip
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ URL_MD5 357cb7107f51f3f89940c47435d4fa49
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ STAMP_DIR ${TPBUILD}/stamp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ DOWNLOAD_DIR ${TPSRC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- cmake/ThirdPartyTetGen.cmake.orig 2020-07-10 11:23:15.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ cmake/ThirdPartyTetGen.cmake 2019-11-19 16:55:14.000000000 +0000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -25,7 +25,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ EXTERNALPROJECT_ADD(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ tetgen-1.5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PREFIX ${TPSRC}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- URL ${TPURL}/tetgen.zip
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ URL ${TPURL}/tetgen-1.5.zip
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ URL_MD5 6d62e63f9b1e7a8ce53d5bc87e6a0a09
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ STAMP_DIR ${TPBUILD}/stamp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ DOWNLOAD_DIR ${TPSRC}
</span></pre><pre style='margin:0'>
</pre>