<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c1f1f2b82d84e70023c653524751ea3650d8b0e6">https://github.com/macports/macports-ports/commit/c1f1f2b82d84e70023c653524751ea3650d8b0e6</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 c1f1f2b embree: new port
</span>c1f1f2b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c1f1f2b82d84e70023c653524751ea3650d8b0e6
</span>Author: Jason Liu <jasonliu--@users.noreply.github.com>
AuthorDate: Tue May 19 15:45:54 2020 -0400
<span style='display:block; white-space:pre;color:#404040;'> embree: new port
</span>---
graphics/embree/Portfile | 49 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/embree/Portfile b/graphics/embree/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..80589b5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/embree/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,49 @@
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup embree embree 3.10.0 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories graphics
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license Apache-2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers @jasonliu-- openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://www.embree.org
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description collection of high-performance ray tracing kernels
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description Embree is a ${description}, developed at Intel. It \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ contains algorithms optimized for incoherent \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ workloads (e.g. Monte Carlo ray tracing \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ algorithms) and coherent workloads (e.g. primary \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ visibility and hard shadow rays). It also supports \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dynamic scenes by implementing high-performance \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ two-level spatial index structure construction \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ algorithms.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 5de0fc01a9bf58704398171e4ceda9dd0f4f12b6 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 4cc054f9425a79b09561c1eed8586985ad43d43aae87966456f1a3bd08cece94 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 13547054
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:ispc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:tbb \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:glfw \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:jpeg \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libpng \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:openimageio
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Put tutorials in ${prefix}/share/embree instead of ${prefix}/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "/INCLUDE.GNUInstallDirs/a\\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+SET(CMAKE_INSTALL_BINDIR \${CMAKE_INSTALL_PREFIX}/share/embree\${EMBREE_VERSION_MAJOR})\\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/common/cmake/package.cmake
</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-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[file exists ${destroot}${prefix}/share/uninstall.command]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${destroot}${prefix}/share/uninstall.command
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>