summaryrefslogtreecommitdiff
path: root/filesystems/zrepl-dsh2dsh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'filesystems/zrepl-dsh2dsh/Makefile')
-rw-r--r--filesystems/zrepl-dsh2dsh/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/filesystems/zrepl-dsh2dsh/Makefile b/filesystems/zrepl-dsh2dsh/Makefile
index cd3ef74a74b7..6647f2b1129a 100644
--- a/filesystems/zrepl-dsh2dsh/Makefile
+++ b/filesystems/zrepl-dsh2dsh/Makefile
@@ -1,21 +1,24 @@
PORTNAME= zrepl
DISTVERSIONPREFIX= v
-DISTVERSION= 0.9.6
-PORTREVISION= 3
+DISTVERSION= 0.9.11
CATEGORIES= filesystems sysutils
-PKGNAMESUFFIX= -dsh2dsh
+PKGNAMESUFFIX= -${GH_ACCOUNT}
MAINTAINER= dsh@bamus.cz
COMMENT= ZFS dataset replication tool (fork with more features)
-WWW= https://github.com/dsh2dsh/${PORTNAME}
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go:1.23,modules ncurses
+USE_GITHUB= yes
+GH_ACCOUNT= dsh2dsh
-GO_MODULE= github.com/dsh2dsh/${PORTNAME}
-GO_BUILDFLAGS= -ldflags "${STRIP} -w -X github.com/dsh2dsh/${PORTNAME}/internal/version.${PORTNAME}Version=${DISTVERSIONFULL}"
+USES= go:modules ncurses
+
+GO_MODULE= github.com/${GH_ACCOUNT}/${PORTNAME}
+GO_MOD_DIST= github
+_BUILD_XFLAGS= version.${PORTNAME}Version=${DISTVERSIONFULL}
+GO_BUILDFLAGS= -ldflags "${STRIP} ${_BUILD_XFLAGS:S!^!-X ${GO_MODULE}/internal/!}"
CONFLICTS_INSTALL= ${PORTNAME}