Created attachment 200538 [details] svn diff to upgrade to 0.53 gohugo has been updated to 0.53 (https://github.com/gohugoio/hugo/releases/tag/v0.53) The attached svn diff brings this port up from 0.52 to 0.53 Change log: - You can now split your configuration into directories per environment. Hugo did support multiple configuration files before this release, but it was hard to manage for bigger sites, especially those with multiple languages. With this we have also formalized the concept of an environment; the defaults are production (when running hugo) or development (when running hugo server) but you can create any environment you like. We will update the documentation, but all the details are in this issue. Also, see this PR for how the refactored configuration for the Hugo website looks like. - transform.Unmarshal (see the documentation is a new and powerful template function that can turn Resource objects or strings with JSON, TOML, YAML or CSV into maps/arrays. - Two new global variables in site and hugo. hugo gives you version info etc. ({{ hugo.Version }}, {{ hugo.Environment }}), but the site is probably more useful, as it allows you to access the current site's variables (e.g. {{ site.RegularPages }}) without any context (or "."). Build successfully against amd64/i386 11.2-RELEASE, 11.2-STABLE, 12.0-RELEASE, and 13.0-CURRENT. portlint -AC: looks fine.
Landed. Thanks :-)
A commit references this bug: Author: joneum Date: Tue Jan 1 11:47:55 UTC 2019 New revision: 488866 URL: https://svnweb.freebsd.org/changeset/ports/488866 Log: Update to 0.53 Changelog: https://github.com/gohugoio/hugo/releases/tag/v0.53 PR: 234424 Submitted by: ben.lavery@hashbang0.com (maintainer) Sponsored by: Netzkommune GmbH Changes: head/www/gohugo/Makefile head/www/gohugo/distinfo head/www/gohugo/pkg-plist