<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d50d714f5fe856605f928269546693fa7463e4b7">https://github.com/macports/macports-ports/commit/d50d714f5fe856605f928269546693fa7463e4b7</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit d50d714f5fe856605f928269546693fa7463e4b7
</span>Author: Josh de Kock <josh@itanimul.li>
AuthorDate: Mon Jul 8 11:04:28 2019 +0100
<span style='display:block; white-space:pre;color:#404040;'> spirv-tools: new port
</span>---
graphics/spirv-tools/Portfile | 56 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/spirv-tools/Portfile b/graphics/spirv-tools/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..87a3379
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/spirv-tools/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,56 @@
</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 KhronosGroup SPIRV-Tools 2019.3 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name spirv-tools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {itanimul.li:josh @eintw1ck} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Various SPIRV tools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description SPIRV assembler, binary module parser, disassembler, validator, and optimizer
</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;'>+homepage https://vulkan.lunarg.com
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_zip no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums SPIRV-Tools-2019.3.tar.gz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 d6e361bb4f027f5ab78476e4bf9cfd9d337a5c4b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 921830ce15f2de8ff9062eb149c9082998653ce90c03b7dda0a1894ca0e473d6 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1613535 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SPIRV-Headers-de99d4d834aeb51dd9f099baa285bd44fd04bb3d.tar.gz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 2598c9789988590edc78b04f9a88e437de6c22be \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 e4c5af53ed10a90a8d665a09a575c9dea845fa6e13785417303a33617b9a2568 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 365208
</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:python37
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+pre-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mkdir ${workpath}/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file link -symbolic ${workpath}/bin/python ${prefix}/bin/python3.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append PATH="${workpath}/bin:$::env(PATH)"
</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 submodules {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ KhronosGroup SPIRV-Headers de99d4d834aeb51dd9f099baa285bd44fd04bb3d external/spirv-headers
</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 {sub_author sub_project sub_commit sub_dest} ${submodules} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites-append https://github.com/${sub_author}/${sub_project}/archive/${sub_commit}.tar.gz?dummy=:${sub_project}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distfiles-append ${sub_project}-${sub_commit}.tar.gz:${sub_project}
</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;'>+ ln -s {*}[glob -directory ${workpath} -tails ${github.project}-*] ${worksrcpath}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach {sub_author sub_project sub_commit sub_dest} ${submodules} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s {*}[glob ${workpath}/${sub_project}-*] ${worksrcpath}/${sub_dest}
</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;'>+configure.args-append -DSPIRV_WERROR=OFF
</span></pre><pre style='margin:0'>
</pre>