<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/1644a55bccde2737d494e0a676148c0e72ebf002">https://github.com/macports/macports-ports/commit/1644a55bccde2737d494e0a676148c0e72ebf002</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 1644a55bccde2737d494e0a676148c0e72ebf002
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sun Jul 21 09:22:06 2019 -0700

<span style='display:block; white-space:pre;color:#404040;'>    diy: new port
</span>---
 devel/diy/Portfile               | 40 ++++++++++++++++++++++++++++++++++++++++
 devel/diy/files/patch-cmake.diff | 26 ++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/diy/Portfile b/devel/diy/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..1adfb18
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/diy/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,40 @@
</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               github 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               cxx11  1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup            diatomic diy 3.5.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision                0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories              devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license                 BSD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers             {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms               darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description             data-parallel out-of-core library
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description        DIY is a block-parallel library for implementing scalable algorithms that can execute both in-core and out-of-core.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums               rmd160  940a8052e158e2a5a437c5c2e2c0c56a8b36b9b6 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        sha256  a7fdff1bb7986f730da337d3c091df9fdc9d4f01a16b4c75cfded685afb5f301 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        size    283299
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+mpi.setup               require
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# project is header only
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+installs_libs           no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs         noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# install CMake config files
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append       patch-cmake.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append   -Dbuild_examples=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        -Dbuild_tests=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # allow project to be found by VTK and ParaView
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    set cmake [open "${destroot}${prefix}/lib/cmake/diy/diyConfig.cmake" a 0644]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    puts ${cmake} ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    puts ${cmake} "set(DIY_INCLUDE_DIRS \"${prefix}/include\")"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    close ${cmake}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/diy/files/patch-cmake.diff b/devel/diy/files/patch-cmake.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..f805f30
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/diy/files/patch-cmake.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,26 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- CMakeLists.txt.orig    2018-09-28 14:20:56.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ CMakeLists.txt 2019-07-19 17:49:59.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -81,3 +81,23 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ install                     (DIRECTORY   ${CMAKE_SOURCE_DIR}/include/diy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                              DESTINATION ${CMAKE_INSTALL_PREFIX}/include)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++add_library(diy INTERFACE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++target_include_directories(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++    diy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++    INTERFACE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++    "$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/include>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++    "$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>"
</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;'>++install(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++    TARGETS diy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++    EXPORT diyExport
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++    INCLUDES DESTINATION "${CMAKE_INSTALL_PREFIX}/include/diy"
</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;'>++install(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++    EXPORT diyExport
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++    DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/cmake/diy"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++    FILE "diyConfig.cmake"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++)
</span></pre><pre style='margin:0'>

</pre>