diff --git a/www/gohugo/Makefile b/www/gohugo/Makefile index 907e1f1f6c4d..08549c6b8ca0 100644 --- a/www/gohugo/Makefile +++ b/www/gohugo/Makefile @@ -1,67 +1,66 @@ PORTNAME= hugo DISTVERSIONPREFIX= v -DISTVERSION= 0.155.3 -PORTREVISION= 1 +DISTVERSION= 0.156.0 PORTEPOCH= 1 CATEGORIES= www PKGNAMEPREFIX= go DIST_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME} MAINTAINER= doceng@FreeBSD.org COMMENT= Fast and Flexible Static Site Generator built with love in GoLang WWW= https://gohugo.io LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe go:modules CPE_VENDOR= gohugo GO_MODULE= github.com/gohugoio/hugo GO_BUILDFLAGS= -ldflags="\ ${STRIP} -w \ -X github.com/gohugoio/hugo/common/hugo.buildDate=${SOURCE_DATE_EPOCH:U${SOURCE_DATE_EPOCH_CMD:sh}} \ -X github.com/gohugoio/hugo/common/hugo.vendorInfo=freebsd" \ ${BUILD_TAGS} CONFLICTS_INSTALL= hugo # bin/hugo OPTIONS_DEFINE= MANPAGES EXTENDED OPTIONS_DEFAULT= MANPAGES EXTENDED OPTIONS_SUB= yes EXTENDED_DESC= Enable SCSS/SASS support EXTENDED_LIB_DEPENDS= libsass.so:textproc/libsass \ libwebp.so:graphics/webp EXTENDED_VARS= CGO_ENABLED=1 \ CGO_CFLAGS="-DLIBWEBP_NO_SRC -DUSE_LIBSASS_SRC" \ CGO_LDFLAGS="-lm -lwebp -lsass" \ BUILD_TAGS="-tags extended" EXTENDED_VARS_OFF= CGO_ENABLED=0 PORTMANS= hugo-completion-bash.1 hugo-completion-fish.1 hugo-completion-powershell.1 \ hugo-completion-zsh.1 hugo-completion.1 hugo-config-mounts.1 \ hugo-config.1 hugo-convert-toJSON.1 hugo-convert-toTOML.1 hugo-convert-toYAML.1 \ hugo-convert.1 hugo-env.1 hugo-gen-chromastyles.1 hugo-gen-doc.1 \ hugo-gen-man.1 hugo-gen.1 hugo-import-jekyll.1 hugo-import.1 hugo-list-all.1 \ hugo-list-drafts.1 hugo-list-expired.1 hugo-list-future.1 hugo-list.1 \ hugo-mod-clean.1 hugo-mod-get.1 hugo-mod-graph.1 hugo-mod-init.1 \ hugo-mod-npm-pack.1 hugo-mod-npm.1 hugo-mod-tidy.1 hugo-mod-vendor.1 \ - hugo-mod-verify.1 hugo-mod.1 hugo-new-site.1 hugo-new-theme.1 hugo-new.1 \ + hugo-mod-verify.1 hugo-mod.1 hugo-new-theme.1 hugo-new.1 \ hugo-server.1 hugo-version.1 hugo.1 # needed to get DISTINFO_FILE in scope for the shell command evaluation by go.mk .include SOURCE_DATE_EPOCH_CMD= date -r $$(grep TIMESTAMP ${DISTINFO_FILE} | ${SED} -e 's/[^0-9]//g') '+%FT%TZ%z' do-build-MANPAGES-on: @cd ${GO_WRKSRC} && ${GO_WRKDIR_BIN}/${PORTNAME} gen man --dir man/man1/ do-install-MANPAGES-on: .for i in ${PORTMANS} ${INSTALL_MAN} ${WRKSRC}/man/man1/$i ${STAGEDIR}/${PREFIX}/share/man/man1 .endfor .include diff --git a/www/gohugo/distinfo b/www/gohugo/distinfo index 3bbdb06fde2b..41b7b32d9541 100644 --- a/www/gohugo/distinfo +++ b/www/gohugo/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1770574830 -SHA256 (go/www_gohugo/hugo-v0.155.3/v0.155.3.mod) = 64267f4f582534ad038511e055507ed36592d57b5c93807fdff1fc7f89fa72a3 -SIZE (go/www_gohugo/hugo-v0.155.3/v0.155.3.mod) = 9397 -SHA256 (go/www_gohugo/hugo-v0.155.3/v0.155.3.zip) = ffbc4334765b4a0178d0e9b9cddb5d2d214a848fa54e8df48c516d71e2266196 -SIZE (go/www_gohugo/hugo-v0.155.3/v0.155.3.zip) = 7020926 +TIMESTAMP = 1771489179 +SHA256 (go/www_gohugo/hugo-v0.156.0/v0.156.0.mod) = 63f6d5f15ff917c5c55964144817451cf5512e1662b7b89e8f71c32d19261283 +SIZE (go/www_gohugo/hugo-v0.156.0/v0.156.0.mod) = 9292 +SHA256 (go/www_gohugo/hugo-v0.156.0/v0.156.0.zip) = 2ef512ec64c83e4d99f7c44ec5ce131abac18ffe48604954aa066311780ea8b3 +SIZE (go/www_gohugo/hugo-v0.156.0/v0.156.0.zip) = 7015479 diff --git a/www/gohugo/pkg-plist b/www/gohugo/pkg-plist index 28a8d4df4aaf..c44fe353c11d 100644 --- a/www/gohugo/pkg-plist +++ b/www/gohugo/pkg-plist @@ -1,40 +1,39 @@ bin/hugo %%MANPAGES%%share/man/man1/hugo-completion-bash.1.gz %%MANPAGES%%share/man/man1/hugo-completion-fish.1.gz %%MANPAGES%%share/man/man1/hugo-completion-powershell.1.gz %%MANPAGES%%share/man/man1/hugo-completion-zsh.1.gz %%MANPAGES%%share/man/man1/hugo-completion.1.gz %%MANPAGES%%share/man/man1/hugo-config-mounts.1.gz %%MANPAGES%%share/man/man1/hugo-config.1.gz %%MANPAGES%%share/man/man1/hugo-convert-toJSON.1.gz %%MANPAGES%%share/man/man1/hugo-convert-toTOML.1.gz %%MANPAGES%%share/man/man1/hugo-convert-toYAML.1.gz %%MANPAGES%%share/man/man1/hugo-convert.1.gz %%MANPAGES%%share/man/man1/hugo-env.1.gz %%MANPAGES%%share/man/man1/hugo-gen-chromastyles.1.gz %%MANPAGES%%share/man/man1/hugo-gen-doc.1.gz %%MANPAGES%%share/man/man1/hugo-gen-man.1.gz %%MANPAGES%%share/man/man1/hugo-gen.1.gz %%MANPAGES%%share/man/man1/hugo-import-jekyll.1.gz %%MANPAGES%%share/man/man1/hugo-import.1.gz %%MANPAGES%%share/man/man1/hugo-list-all.1.gz %%MANPAGES%%share/man/man1/hugo-list-drafts.1.gz %%MANPAGES%%share/man/man1/hugo-list-expired.1.gz %%MANPAGES%%share/man/man1/hugo-list-future.1.gz %%MANPAGES%%share/man/man1/hugo-list.1.gz %%MANPAGES%%share/man/man1/hugo-mod-clean.1.gz %%MANPAGES%%share/man/man1/hugo-mod-get.1.gz %%MANPAGES%%share/man/man1/hugo-mod-graph.1.gz %%MANPAGES%%share/man/man1/hugo-mod-init.1.gz %%MANPAGES%%share/man/man1/hugo-mod-npm-pack.1.gz %%MANPAGES%%share/man/man1/hugo-mod-npm.1.gz %%MANPAGES%%share/man/man1/hugo-mod-tidy.1.gz %%MANPAGES%%share/man/man1/hugo-mod-vendor.1.gz %%MANPAGES%%share/man/man1/hugo-mod-verify.1.gz %%MANPAGES%%share/man/man1/hugo-mod.1.gz -%%MANPAGES%%share/man/man1/hugo-new-site.1.gz %%MANPAGES%%share/man/man1/hugo-new-theme.1.gz %%MANPAGES%%share/man/man1/hugo-new.1.gz %%MANPAGES%%share/man/man1/hugo-server.1.gz %%MANPAGES%%share/man/man1/hugo-version.1.gz %%MANPAGES%%share/man/man1/hugo.1.gz