diff --git a/www/gohugo/Makefile b/www/gohugo/Makefile index b1d89ab0a71d..a3e19c24d8e2 100644 --- a/www/gohugo/Makefile +++ b/www/gohugo/Makefile @@ -1,67 +1,66 @@ PORTNAME= hugo DISTVERSIONPREFIX= v -DISTVERSION= 0.147.9 -PORTREVISION= 1 +DISTVERSION= 0.148.1 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-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 70113b1e84c0..0ab0da8bf593 100644 --- a/www/gohugo/distinfo +++ b/www/gohugo/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1750673799 -SHA256 (go/www_gohugo/hugo-v0.147.9/v0.147.9.mod) = 4eabefe3f49be65e019641fd5bfdea1e982365f77f1d6f905a9380f630bc4885 -SIZE (go/www_gohugo/hugo-v0.147.9/v0.147.9.mod) = 9177 -SHA256 (go/www_gohugo/hugo-v0.147.9/v0.147.9.zip) = 2dd3bada71c54f7e1067eaf657f68bd2c3ad289d86b33af273bd7504b28709e4 -SIZE (go/www_gohugo/hugo-v0.147.9/v0.147.9.zip) = 5744318 +TIMESTAMP = 1753036010 +SHA256 (go/www_gohugo/hugo-v0.148.1/v0.148.1.mod) = 815be7e1ac9ad5296cefa7c383c1113de7881e9b0291af104ed155fd93acc0a9 +SIZE (go/www_gohugo/hugo-v0.148.1/v0.148.1.mod) = 9177 +SHA256 (go/www_gohugo/hugo-v0.148.1/v0.148.1.zip) = 852004915d0840b0ee62cc41d5f883340df53a4e57307f0db410145f20e11542 +SIZE (go/www_gohugo/hugo-v0.148.1/v0.148.1.zip) = 5747585