<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ce0d8734c986c18d51592d63207cc26656b178dc">https://github.com/macports/macports-ports/commit/ce0d8734c986c18d51592d63207cc26656b178dc</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit ce0d8734c986c18d51592d63207cc26656b178dc
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Sun May 12 15:27:21 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> MicroTeX: new port in tex
</span>---
tex/MicroTeX/Portfile | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/tex/MicroTeX/Portfile b/tex/MicroTeX/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..48075edee7e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/tex/MicroTeX/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,35 @@
</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 compiler_blacklist_versions 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 meson 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup NanoMichael MicroTeX d87ebec8436ae01a1eb183d985c1375e39b2a542
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2023.05.29
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories tex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license MIT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {@barracuda156 gmail.com:vital.had} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Dynamic, cross-platform and embeddable LaTeX rendering library
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description {*}${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 6ac9bdda47f70a22a923f3b22ef1e68023a486fc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 c1bc2d77fe6dcc135a8b83cc8e0a602d8ac3d18bc66903d61b505690a1aba175 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1598140
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from archive
</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:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:gtkmm3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gtksourceviewmm3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:tinyxml2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard 2017
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Oddly, only macOS 12 fails to compile this.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# error: no matching function for call to 'not_fn'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# s.erase(s.begin(), std::find_if(s.begin(), s.end(), std::not_fn<int(int)>(isspace)));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} == 21} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.blacklist-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {clang}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>