summaryrefslogtreecommitdiff
path: root/devel/git-who/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/git-who/Makefile')
-rw-r--r--devel/git-who/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/devel/git-who/Makefile b/devel/git-who/Makefile
index 0088ac959f08..6f4bd44439bb 100644
--- a/devel/git-who/Makefile
+++ b/devel/git-who/Makefile
@@ -1,6 +1,7 @@
PORTNAME= git-who
DISTVERSIONPREFIX= v
-DISTVERSION= 1.1
+DISTVERSION= 1.2
+PORTREVISION= 2
CATEGORIES= devel
MAINTAINER= nxjoseph@protonmail.com
@@ -10,7 +11,9 @@ WWW= https://github.com/sinclairtarget/git-who
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go:1.23,modules
+RUN_DEPENDS= git:devel/git
+
+USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= sinclairtarget
GH_TUPLE= bmatcuk:doublestar:v4.8.1:bmatcuk_doublestar_v4/vendor/github.com/bmatcuk/doublestar/v4 \
@@ -20,6 +23,8 @@ GH_TUPLE= bmatcuk:doublestar:v4.8.1:bmatcuk_doublestar_v4/vendor/github.com/bmat
mattn:go-runewidth:v0.0.16:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \
rivo:uniseg:v0.2.0:rivo_uniseg/vendor/github.com/rivo/uniseg
+GO_BUILDFLAGS= -ldflags="-s -w -X main.Commit=${DISTVERSIONFULL} -X main.Version=${DISTVERSIONFULL}"
+
PLIST_FILES= bin/${PORTNAME}
post-extract: