<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/9ac2193f7103bb8add187fbea3b3457e5106665b">https://github.com/macports/macports-ports/commit/9ac2193f7103bb8add187fbea3b3457e5106665b</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 9ac2193f710 goreleaser: add shell completions
</span>9ac2193f710 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 9ac2193f7103bb8add187fbea3b3457e5106665b
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Tue Jul 27 15:24:46 2021 -0400
<span style='display:block; white-space:pre;color:#404040;'> goreleaser: add shell completions
</span>---
devel/goreleaser/Portfile | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/goreleaser/Portfile b/devel/goreleaser/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 365d0471d3c..2d51e9d49ce 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/goreleaser/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/goreleaser/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem 1.0
</span> PortGroup golang 1.0
go.setup github.com/goreleaser/goreleaser 0.174.1 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span>
homepage https://goreleaser.com
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -32,6 +32,22 @@ build.pre_args-append \
</span> -X main.version=${version} -X main.builtBy=macports \
\"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+post-build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "${build.env} ./scripts/completions.sh"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> destroot {
xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set bash_comp_dir ${destroot}${prefix}/share/bash-completion/completions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${bash_comp_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${worksrcpath}/completions/${name}.bash ${bash_comp_dir}/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set fish_comp_dir ${destroot}${prefix}/share/fish/vendor_completions.d
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${fish_comp_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${worksrcpath}/completions/${name}.fish ${fish_comp_dir}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set zsh_comp_dir ${destroot}${prefix}/share/zsh/site-functions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${zsh_comp_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${worksrcpath}/completions/${name}.zsh ${zsh_comp_dir}/_${name}
</span> }
</pre><pre style='margin:0'>
</pre>