summaryrefslogtreecommitdiff
path: root/www/go-anubis/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/go-anubis/Makefile')
-rw-r--r--www/go-anubis/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/go-anubis/Makefile b/www/go-anubis/Makefile
index 518bf473ff87..5b2d3aaee7b2 100644
--- a/www/go-anubis/Makefile
+++ b/www/go-anubis/Makefile
@@ -1,7 +1,6 @@
PORTNAME= anubis
DISTVERSIONPREFIX= v
-DISTVERSION= 1.21.3
-PORTREVISION= 3
+DISTVERSION= 1.22.0
CATEGORIES= www
MASTER_SITES= https://github.com/techarohq/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/
PKGNAMEPREFIX= go-
@@ -19,6 +18,8 @@ USE_RC_SUBR= ${PORTNAME}
ALL_TARGET= prebaked-build
+MAKE_FLAGS= VERSION=${DISTVERSION} GOFLAGS="-buildvcs=false"
+
post-patch:
@${FIND} ${WRKSRC}/data \( -name "*.yaml" -or -name "*.json" \) \
| ${XARGS} ${REINPLACE_CMD} -i '' -e 's|(data)|${DATADIR}|g'