<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/319dfadb4ba550c622efa2aa1deaf776e408c9e8">https://github.com/macports/macports-ports/commit/319dfadb4ba550c622efa2aa1deaf776e408c9e8</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 319dfadb4ba dog: properly install shell completions
</span>319dfadb4ba is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 319dfadb4ba550c622efa2aa1deaf776e408c9e8
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Mon Jul 5 05:47:04 2021 -0400
<span style='display:block; white-space:pre;color:#404040;'> dog: properly install shell completions
</span>---
net/dog/Portfile | 29 ++++++++++++++++-------------
1 file changed, 16 insertions(+), 13 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/dog/Portfile b/net/dog/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index cf24194c943..466f58fde7d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/dog/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/dog/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem 1.0
</span> PortGroup github 1.0
github.setup ogham dog 0.1.0 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span>
homepage https://dns.lookup.dog
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -35,23 +35,26 @@ worksrcdir
</span>
use_configure no
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set dog_share_path ${prefix}/share/doc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set dog_comp_path ${dog_share_path}/completions
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> build {}
destroot {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Install binary
</span> move ${workpath}/bin/dog ${destroot}${prefix}/bin/
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d -m 0755 ${destroot}${dog_share_path}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d -m 0755 ${destroot}${dog_comp_path}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Install man page
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${prefix}/share/man/man1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${workpath}/man/dog.1 ${destroot}${prefix}/share/man/man1/
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach _shell {bash fish zsh} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- move ${workpath}/completions/dog.${_shell} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${dog_comp_path}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Install completions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${prefix}/share/bash-completion/completions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 ${workpath}/completions/${name}.bash \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/bash-completion/completions/${name}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- move ${workpath}/man/dog.1 ${destroot}${prefix}/share/man/man1/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${prefix}/share/zsh/site-functions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 ${workpath}/completions/${name}.zsh \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/zsh/site-functions/_${name}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-notes "Shell completions for ${name} can be found at: ${dog_comp_path}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${prefix}/share/fish/vendor_completions.d
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 ${workpath}/completions/${name}.fish \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/fish/vendor_completions.d/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>