git: 8aef391449b4 - main - graphics/ttygif: update to 1.6.0

From: Olivier Cochard <olivier_at_FreeBSD.org>
Date: Mon, 07 Sep 2026 15:25:34 UTC
The branch main has been updated by olivier:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8aef391449b4250edf09abfb53c8040152abbb38

commit 8aef391449b4250edf09abfb53c8040152abbb38
Author:     Olivier Cochard <olivier@FreeBSD.org>
AuthorDate: 2026-09-07 15:21:13 +0000
Commit:     Olivier Cochard <olivier@FreeBSD.org>
CommitDate: 2026-09-07 15:23:04 +0000

    graphics/ttygif: update to 1.6.0
---
 graphics/ttygif/Makefile | 10 ++++++----
 graphics/ttygif/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/graphics/ttygif/Makefile b/graphics/ttygif/Makefile
index c6d9d2b58606..32fe1e0ec898 100644
--- a/graphics/ttygif/Makefile
+++ b/graphics/ttygif/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	ttygif
-PORTVERSION=	1.4.0
-PORTREVISION=	3
+PORTVERSION=	1.6.0
 CATEGORIES=	graphics
 
 MAINTAINER=	olivier@FreeBSD.org
@@ -10,15 +9,18 @@ WWW=		https://github.com/icholy/ttygif
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+USES=		gmake magick:run
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	icholy
 
-USES=		gmake magick:6,run
-
 PLIST_FILES=	bin/${PORTNAME}
 
+# Upstream forgets to bump VERSION in its Makefile on release
 post-patch:
 	@${REINPLACE_CMD} 's:gcc:${CC}:' ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} "s:^VERSION = .*:VERSION = '\"${PORTVERSION}\"':" \
+		${WRKSRC}/Makefile
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
diff --git a/graphics/ttygif/distinfo b/graphics/ttygif/distinfo
index 5edaf80f2fc8..bbcf4382d36a 100644
--- a/graphics/ttygif/distinfo
+++ b/graphics/ttygif/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1497849034
-SHA256 (icholy-ttygif-1.4.0_GH0.tar.gz) = 6ca3dc5dcade2bdcf8000068ae991eac518204960c157634d92f87248c3cee2a
-SIZE (icholy-ttygif-1.4.0_GH0.tar.gz) = 8166
+TIMESTAMP = 1787341235
+SHA256 (icholy-ttygif-1.6.0_GH0.tar.gz) = 050b9e86f98fb790a2925cea6148f82f95808d707735b2650f3856cb6f53e0ae
+SIZE (icholy-ttygif-1.6.0_GH0.tar.gz) = 19288