summaryrefslogtreecommitdiff
path: root/sysutils/gdu
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gdu')
-rw-r--r--sysutils/gdu/Makefile13
-rw-r--r--sysutils/gdu/distinfo10
2 files changed, 9 insertions, 14 deletions
diff --git a/sysutils/gdu/Makefile b/sysutils/gdu/Makefile
index 1f98be72b255..5a96caa4919a 100644
--- a/sysutils/gdu/Makefile
+++ b/sysutils/gdu/Makefile
@@ -1,7 +1,6 @@
PORTNAME= gdu
DISTVERSIONPREFIX= v
-DISTVERSION= 5.29.0
-PORTREVISION= 4
+DISTVERSION= 5.31.0
CATEGORIES= sysutils
MAINTAINER= lcook@FreeBSD.org
@@ -11,18 +10,14 @@ WWW= https://github.com/dundee/gdu
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
-USES= go:modules
+USES= go:1.22,modules
-_BUILD_VERSION= ${DISTVERSIONFULL}
-_BUILD_MAJOR= ${_BUILD_VERSION:C/\..*$//}
+_BUILD_MAJOR= ${DISTVERSIONFULL:C/\..*$//}
_BUILD_DATE= $$(date +%Y-%m-%d)
GO_MODULE= github.com/dundee/${PORTNAME}/${_BUILD_MAJOR}
GO_TARGET= ./cmd/${PORTNAME}
-GO_BUILDFLAGS= -ldflags "\
- -s -w \
- -X ${GO_MODULE}/build.Version=${_BUILD_VERSION} \
- -X ${GO_MODULE}/build.Time=${_BUILD_DATE}"
+GO_BUILDFLAGS+= -ldflags="-s -w -X ${GO_MODULE}/build.Version=${DISTVERSIONFULL} -X ${GO_MODULE}/build.Time=${_BUILD_DATE}"
CONFLICTS_INSTALL= coreutils
diff --git a/sysutils/gdu/distinfo b/sysutils/gdu/distinfo
index e8f75b3c3d5f..08df45952f2a 100644
--- a/sysutils/gdu/distinfo
+++ b/sysutils/gdu/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1743289587
-SHA256 (go/sysutils_gdu/gdu-v5.30.1/v5.30.1.mod) = 30088a874ba95a1ebffc9b5be7f5719408be2af6df6d7acd819aea9448632f66
-SIZE (go/sysutils_gdu/gdu-v5.30.1/v5.30.1.mod) = 1892
-SHA256 (go/sysutils_gdu/gdu-v5.30.1/v5.30.1.zip) = 7617726fdbbad2cc57e98445b2d3f28d7ca58206efad106d2f00d9126299bcf1
-SIZE (go/sysutils_gdu/gdu-v5.30.1/v5.30.1.zip) = 332486
+TIMESTAMP = 1749873055
+SHA256 (go/sysutils_gdu/gdu-v5.31.0/v5.31.0.mod) = d27542d3955f1dfd7737a2fd8b833be52a94119a935fbc2950a0653cd3e50f93
+SIZE (go/sysutils_gdu/gdu-v5.31.0/v5.31.0.mod) = 1892
+SHA256 (go/sysutils_gdu/gdu-v5.31.0/v5.31.0.zip) = 6487b8a2bb6ca4ecedcf6e2e2fa6a0615d8563e1fa82bc6026a2ac6190675abc
+SIZE (go/sysutils_gdu/gdu-v5.31.0/v5.31.0.zip) = 336248