git: 3f210ce0ecfc - main - textproc/termshot: Update to 0.2.5

From: Loïc Bartoletti <lbartoletti_at_FreeBSD.org>
Date: Thu, 27 Oct 2022 09:35:46 UTC
The branch main has been updated by lbartoletti:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3f210ce0ecfca8d2a52e778404338f5bcee2bdd8

commit 3f210ce0ecfca8d2a52e778404338f5bcee2bdd8
Author:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
AuthorDate: 2022-10-27 09:33:46 +0000
Commit:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
CommitDate: 2022-10-27 09:34:38 +0000

    textproc/termshot: Update to 0.2.5
    
    fix --version
    
    PR:             266567
    Reported by:    eduardo
---
 textproc/termshot/Makefile |  5 ++---
 textproc/termshot/distinfo | 10 +++++-----
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/textproc/termshot/Makefile b/textproc/termshot/Makefile
index 7ac9bd71fe49..08e1f38b6ced 100644
--- a/textproc/termshot/Makefile
+++ b/textproc/termshot/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	termshot
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.2.4
-PORTREVISION=	1
+DISTVERSION=	0.2.5
 CATEGORIES=	textproc graphics
 
 MAINTAINER=	lbartoletti@FreeBSD.org
@@ -17,7 +16,7 @@ GO_TARGET=	./cmd/${PORTNAME}
 GO_BUILDFLAGS=	-tags noupdater \
 		-ldflags "\
 		-s -w \
-		-X ${GO_MODULE}/internal.Version=${DISTVERSION}"
+		-X ${GO_MODULE}/internal/cmd.version=${DISTVERSION}"
 
 PLIST_FILES=	bin/${PORTNAME}
 
diff --git a/textproc/termshot/distinfo b/textproc/termshot/distinfo
index 3c0ef9f4501d..9679ce0a755e 100644
--- a/textproc/termshot/distinfo
+++ b/textproc/termshot/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1663936620
-SHA256 (go/textproc_termshot/termshot-v0.2.4/v0.2.4.mod) = 4cfbae01334e0617458a92ce19e4c1a1b06a85200ec806b6cd94e150ff733af8
-SIZE (go/textproc_termshot/termshot-v0.2.4/v0.2.4.mod) = 1337
-SHA256 (go/textproc_termshot/termshot-v0.2.4/v0.2.4.zip) = c4eeb410a5ce01c21632578c1c7dcb208e9e98e708d4c2cd75f372899547b99a
-SIZE (go/textproc_termshot/termshot-v0.2.4/v0.2.4.zip) = 703133
+TIMESTAMP = 1666862339
+SHA256 (go/textproc_termshot/termshot-v0.2.5/v0.2.5.mod) = a369130895d36a76f69bb63b1f7ca55b19b75f61ae16bc84f56711a7934388e4
+SIZE (go/textproc_termshot/termshot-v0.2.5/v0.2.5.mod) = 1379
+SHA256 (go/textproc_termshot/termshot-v0.2.5/v0.2.5.zip) = c716c4eed4999f8c683940cb74b4ec109f5ecfead1f875c6c503c6fc7e2d92e2
+SIZE (go/textproc_termshot/termshot-v0.2.5/v0.2.5.zip) = 680329