<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/5cea069496ad54b149b725e20676a5a7bc72576e">https://github.com/macports/macports-ports/commit/5cea069496ad54b149b725e20676a5a7bc72576e</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 5cea069496a kitty: Add terminfo to prefix
</span>5cea069496a is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5cea069496ad54b149b725e20676a5a7bc72576e
</span>Author: Vadim-Valdis Yudaev <judaew@outlook.de>
AuthorDate: Fri May 7 18:02:56 2021 +0300
<span style='display:block; white-space:pre;color:#404040;'> kitty: Add terminfo to prefix
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Although terminfo is included inside Kitty.app, terminfo is not
</span><span style='display:block; white-space:pre;color:#404040;'> handled correctly when executing commands with sudo.
</span>---
aqua/kitty/Portfile | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/kitty/Portfile b/aqua/kitty/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d0f166c152a..7de59d886c0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/kitty/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/kitty/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,7 +7,7 @@ PortGroup gpg_verify 1.0
</span>
github.setup kovidgoyal kitty 0.20.3 v
github.tarball_from releases
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span>
categories aqua
platforms macosx
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -66,6 +66,7 @@ python.default_version \
</span> depends_build-append \
port:lcms2 \
port:librsvg \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:ncurses \
</span> port:optipng \
port:pkgconfig
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -85,6 +86,13 @@ pre-build {
</span> destroot {
copy ${worksrcpath}/kitty.app ${destroot}${applications_dir}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Add terminfo to $prefix for is handled correctly when executing
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # commands with sudo.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set terminfo_path ${prefix}/share/terminfo/78
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${terminfo_path}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 ${worksrcpath}/terminfo/x/xterm-kitty \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${terminfo_path}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # add shell completion files
set bash_complete ${prefix}/share/bash-completion/completions
xinstall -d ${destroot}${bash_complete}
</pre><pre style='margin:0'>
</pre>