View | Details | Raw Unified | Return to bug 266155
Collapse All | Expand All

(-)b/www/gohugo/Makefile (-2 / +4 lines)
Lines 1-7 Link Here
1
PORTNAME=	hugo
1
PORTNAME=	hugo
2
DISTVERSIONPREFIX=	v
2
DISTVERSIONPREFIX=	v
3
DISTVERSION=	0.101.0
3
DISTVERSION=	0.102.2
4
PORTREVISION=	3
5
CATEGORIES=	www
4
CATEGORIES=	www
6
PKGNAMEPREFIX=	go
5
PKGNAMEPREFIX=	go
7
DIST_SUBDIR=	${PKGNAMEPREFIX}${PORTNAME}
6
DIST_SUBDIR=	${PKGNAMEPREFIX}${PORTNAME}
Lines 18-23 CPE_VENDOR= gohugo Link Here
18
GO_MODULE=	github.com/gohugoio/hugo
17
GO_MODULE=	github.com/gohugoio/hugo
19
GO_BUILDFLAGS=	-ldflags="\
18
GO_BUILDFLAGS=	-ldflags="\
20
		-s -w \
19
		-s -w \
20
		-X github.com/gohugoio/hugo/common/hugo.buildDate=${SOURCE_DATE_EPOCH:U${SOURCE_DATE_EPOCH_CMD:sh}} \
21
		-X github.com/gohugoio/hugo/common/hugo.vendorInfo=freebsd" \
21
		-X github.com/gohugoio/hugo/common/hugo.vendorInfo=freebsd" \
22
		${BUILD_TAGS}
22
		${BUILD_TAGS}
23
23
Lines 51-56 PORTMANS= hugo-completion-bash.1 hugo-completion-fish.1 hugo-completion-powershe Link Here
51
# needed to get DISTINFO_FILE in scope for the shell command evaluation by go.mk
51
# needed to get DISTINFO_FILE in scope for the shell command evaluation by go.mk
52
.include <bsd.port.pre.mk>
52
.include <bsd.port.pre.mk>
53
53
54
SOURCE_DATE_EPOCH_CMD=	date -r $$(grep TIMESTAMP ${DISTINFO_FILE} | ${SED} -e 's/[^0-9]//g') '+%FT%TZ%z'
55
54
do-build-MANPAGES-on:
56
do-build-MANPAGES-on:
55
	@cd ${GO_WRKSRC} && ${GO_WRKDIR_BIN}/${PORTNAME} gen man --dir man/man1/
57
	@cd ${GO_WRKSRC} && ${GO_WRKDIR_BIN}/${PORTNAME} gen man --dir man/man1/
56
58
(-)b/www/gohugo/distinfo (-5 / +5 lines)
Lines 1-5 Link Here
1
TIMESTAMP = 1655640306
1
TIMESTAMP = 1661984219
2
SHA256 (go/www_gohugo/hugo-v0.101.0/v0.101.0.mod) = 01f1d039714f40c55bfacc2f5c95fd3cb2e0fda891eda48d50da78d8315dc5a8
2
SHA256 (go/www_gohugo/hugo-v0.102.2/v0.102.2.mod) = 020a31d7b401102e91bf19161bedee06d59d49c9060abf748ba66b0360baeb02
3
SIZE (go/www_gohugo/hugo-v0.101.0/v0.101.0.mod) = 5494
3
SIZE (go/www_gohugo/hugo-v0.102.2/v0.102.2.mod) = 5494
4
SHA256 (go/www_gohugo/hugo-v0.101.0/v0.101.0.zip) = 10607f0af404e7cd61abf3a7f7cbcd22a48ee11c37d1071ba176cd673b34ac13
4
SHA256 (go/www_gohugo/hugo-v0.102.2/v0.102.2.zip) = 99e4c7b03edb0a08cba78c5b47c7b91bfa99ffff4390a572b511fe0522fabb87
5
SIZE (go/www_gohugo/hugo-v0.101.0/v0.101.0.zip) = 5984997
5
SIZE (go/www_gohugo/hugo-v0.102.2/v0.102.2.zip) = 5974325

Return to bug 266155