<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/f43849cae68c89626755d12ad0bd69904f024bb6">https://github.com/macports/macports-ports/commit/f43849cae68c89626755d12ad0bd69904f024bb6</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit f43849cae68c89626755d12ad0bd69904f024bb6
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sun Jul 21 09:22:57 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> diy2: new port
</span>---
devel/diy2/Portfile | 37 +++++++++++++++++++++++++++++++++++++
devel/diy2/files/patch-install.diff | 29 +++++++++++++++++++++++++++++
2 files changed, 66 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/diy2/Portfile b/devel/diy2/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..e235a3a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/diy2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,37 @@
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup diatomic diy 2.0.0 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name diy2
</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 39ddd00e2b3c3cac9658c0e408fbe8b21b79ab5c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 ff0fa7603309aab8ada024ab04ebe2a7f7158978cf4e871d609c1eb73463de61 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 200746
</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;'>+# add code to install
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-install.diff
</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/diy2/diy2Config.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(DIY2_INCLUDE_DIRS \"${prefix}/include/diy2\")"
</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/diy2/files/patch-install.diff b/devel/diy2/files/patch-install.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..7354209
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/diy2/files/patch-install.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,29 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- CMakeLists.txt.orig 2016-08-09 12:52:52.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ CMakeLists.txt 2019-07-17 07:10:26.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -43,3 +43,26 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ enable_testing ()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ add_subdirectory (examples)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ add_subdirectory (tests)
</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/diy2)
</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/diy2"
</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/diy2"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ FILE "diy2Config.cmake"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++)
</span></pre><pre style='margin:0'>
</pre>