<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/122bda220180d048a02ac946c7e45f7e391cfbd8">https://github.com/macports/macports-ports/commit/122bda220180d048a02ac946c7e45f7e391cfbd8</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 122bda2 hugo: update to 0.49.2, use golang-1.0 portgroup
</span>122bda2 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 122bda220180d048a02ac946c7e45f7e391cfbd8
</span>Author: Calvin Ardi <calvin@isi.edu>
AuthorDate: Thu Oct 11 18:05:19 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> hugo: update to 0.49.2, use golang-1.0 portgroup
</span>---
www/hugo/Portfile | 41 +++++++++++++----------------------------
1 file changed, 13 insertions(+), 28 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 55dee0a..e54e272 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;'>@@ -1,9 +1,9 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup golang 1.0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup gohugoio hugo 0.49 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+go.setup github.com/gohugoio/hugo 0.49.2 v
</span> revision 0
categories www
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -12,53 +12,38 @@ maintainers {isi.edu:calvin @cardi} openmaintainer
</span> 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;'>-checksums rmd160 0a797ec25eee8031c9a3b569b2c6909008f220ea \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 c563aa8e1616af1a7b9a1f5a03b0e7749a708d18a06cad1a6a9334dbd6234ef8 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 19727317
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 bb3bef28545230a9c5bc52cd75a6f23479e7b22b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 00217658395cc8dbe08dc0b1b697e5556e236796bb5c2302811d78e386a7d1db \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 19736463
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build-append port:git \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:go
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append port:git
</span>
universal_variant no
<span style='display:block; white-space:pre;background:#ffe0e0;'>-worksrcdir src/github.com/${github.author}/${github.project}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.cmd ${prefix}/bin/go
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.target install
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.env ${configure.env} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- GOBIN=${workpath}/bin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-pre-extract {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d ${workpath}/src/github.com/${github.author}
</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-extract {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- move ${workpath}/${github.project}-${github.version} ${worksrcpath}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.env GOARCH=${goarch} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ GOOS=${goos}
</span>
destroot {
xinstall -d ${destroot}${prefix}/bin
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 ${workpath}/bin/${name} ${destroot}${prefix}/bin/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/${name}
</span> }
post-destroot {
# generate man pages then install them
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${workpath} "${workpath}/bin/${name} gen man"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "${worksrcpath}/${name} gen man"
</span> xinstall -d -m 0755 ${destroot}${prefix}/share/man/man1
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 0644 {*}[glob ${workpath}/man/*.1] ${destroot}${prefix}/share/man/man1/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 {*}[glob ${worksrcpath}/man/*.1] ${destroot}${prefix}/share/man/man1/
</span> }
variant bash_completion {
depends_run-append path:etc/bash_completion:bash-completion
post-build {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${workpath} "${workpath}/bin/${name} gen autocomplete --completionfile=hugo.sh"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "${worksrcpath}/${name} gen autocomplete --completionfile=hugo.sh"
</span> }
post-destroot {
xinstall -d ${destroot}${prefix}/share/bash-completion/completions/
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 ${workpath}/hugo.sh ${destroot}${prefix}/share/bash-completion/completions/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 644 ${worksrcpath}/hugo.sh ${destroot}${prefix}/share/bash-completion/completions/${name}
</span> }
}
</pre><pre style='margin:0'>
</pre>