<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/82bc1efd22d1303f373b00898836e008863eca41">https://github.com/macports/macports-ports/commit/82bc1efd22d1303f373b00898836e008863eca41</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 82bc1efd22d hugo: update to 0.93.1
</span>82bc1efd22d is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 82bc1efd22d1303f373b00898836e008863eca41
</span>Author: Calvin Ardi <calvin@isi.edu>
AuthorDate: Mon Feb 28 04:38:28 2022 -0500

<span style='display:block; white-space:pre;color:#404040;'>    hugo: update to 0.93.1
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    * builds and installs bash_completion and extended by default
</span><span style='display:block; white-space:pre;color:#404040;'>      and remove corresponding variants
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Closes: https://trac.macports.org/ticket/64735
</span>---
 www/hugo/Portfile | 42 ++++++++++++++++++------------------------
 1 file changed, 18 insertions(+), 24 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/www/hugo/Portfile b/www/hugo/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index eca31846400..572c3f81ddd 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/www/hugo/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/www/hugo/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,29 +3,35 @@
</span> PortSystem          1.0
 PortGroup           golang 1.0
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-go.setup            github.com/gohugoio/hugo 0.92.2 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+go.setup            github.com/gohugoio/hugo 0.93.1 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from archive
</span> revision            0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums           rmd160  f5953f9829be8b48c5fcf398819931f21ca8e671 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha256  73d20ce55298f809a8f735c33a4c90e8e36fa56dbc94a6a36ba23fb19eb9ce07 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    size    28559747
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           rmd160  eb21a34a97b522240cf87733dc41158620597292 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  b21d83c1011a785ab28716227849d661671e00ed9c43b195789835d439d0d60e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    28562897
</span> 
 categories          www
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms           darwin
</span> license             Apache-2
 maintainers         {isi.edu:calvin @cardi} openmaintainer
 description         A Fast and Flexible Static Site Generator built with love in GoLang
 long_description    ${description}
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-build.env-append    GO111MODULE=on
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # FIXME: This port currently can't be built without allowing go mod to fetch
 # dependencies during the build phase. See
 # https://trac.macports.org/ticket/61192
 build.env-delete    GOPROXY=off GO111MODULE=off
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+build.pre_args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    -ldflags \"-X ${go.package}/common/hugo.vendorInfo=macports\"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# build hugo extended with Sass/SCSS support by default
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.args-append   --tags extended
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_run-append  path:etc/bash_completion:bash-completion
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> destroot {
     xinstall -d ${destroot}${prefix}/bin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/${name}
</span> }
 
 post-destroot {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,21 +39,9 @@ post-destroot {
</span>     system -W ${worksrcpath} "${worksrcpath}/${name} gen man"
     xinstall -d -m 0755 ${destroot}${prefix}/share/man/man1
     xinstall -m 0644 {*}[glob ${worksrcpath}/man/*.1] ${destroot}${prefix}/share/man/man1/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant bash_completion {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    depends_run-append path:etc/bash_completion:bash-completion
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    post-build {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        system -W ${worksrcpath} "${worksrcpath}/${name} gen autocomplete --completionfile=hugo.sh"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        xinstall -d ${destroot}${prefix}/share/bash-completion/completions/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        xinstall -m 644 ${worksrcpath}/hugo.sh ${destroot}${prefix}/share/bash-completion/completions/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant extended description {Builds Hugo Extended with Sass/SCSS support} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    build.args-append --tags extended
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # generate bash completion then install them
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    system -W ${worksrcpath} "${worksrcpath}/${name} completion bash > hugo.sh"
</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 ${worksrcpath}/hugo.sh ${destroot}${prefix}/share/bash-completion/completions/${name}
</span> }
</pre><pre style='margin:0'>

</pre>