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 |
|