<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/428722fcdf498f77bfe861d83a391d9e57252b66">https://github.com/macports/macports-ports/commit/428722fcdf498f77bfe861d83a391d9e57252b66</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 428722fcdf4 hub: fix installation for zsh completion
</span>428722fcdf4 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 428722fcdf498f77bfe861d83a391d9e57252b66
</span>Author: laggardkernel <laggardkernel@gmail.com>
AuthorDate: Tue Dec 14 14:52:49 2021 +0800

<span style='display:block; white-space:pre;color:#404040;'>    hub: fix installation for zsh completion
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    - put hub completion file with the correct name
</span><span style='display:block; white-space:pre;color:#404040;'>    - set correct permissions for hub files, mainly for the zsh completion file
</span>---
 devel/hub/Portfile | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/hub/Portfile b/devel/hub/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2dead32afc1..49ced3ba36f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/hub/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/hub/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,6 +4,7 @@ PortSystem          1.0
</span> PortGroup           github 1.0
 
 github.setup        github hub 2.14.2 v
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            1
</span> categories          devel
 platforms           darwin
 license             MIT
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -39,18 +40,18 @@ post-extract {
</span> }
 
 destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    xinstall -W ${worksrcpath} bin/hub ${destroot}${prefix}/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    xinstall -m 0755 -W ${worksrcpath} bin/hub ${destroot}${prefix}/bin
</span>     set man-pages ${destroot}${prefix}/share/man/man1
     xinstall -d ${man-pages}
     foreach m [glob -directory ${worksrcpath}/share/man/man1 *.1] {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        xinstall -W ${worksrcpath} ${m} ${man-pages}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        xinstall -m 0644 -W ${worksrcpath} ${m} ${man-pages}/
</span>     }
     set bash-completions ${destroot}${prefix}/share/bash-completion/completions
     xinstall -d ${bash-completions}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    xinstall -W ${worksrcpath} etc/hub.bash_completion.sh ${bash-completions}/hub
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    xinstall -m 0644 -W ${worksrcpath} etc/hub.bash_completion.sh ${bash-completions}/hub
</span>     set site-functions ${destroot}${prefix}/share/zsh/site-functions
     xinstall -d ${site-functions}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    xinstall -W ${worksrcpath} etc/hub.zsh_completion ${site-functions}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    xinstall -m 0644 -W ${worksrcpath} etc/hub.zsh_completion ${site-functions}/_hub
</span> }
 
 notes "
</pre><pre style='margin:0'>

</pre>