git: 484ad6fb14d4 - main - x11-fonts/gensen: Use upstream release zipball

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 24 Jul 2024 21:18:26 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=484ad6fb14d4068a6ea1a3b74d0b8a7e85aa598d

commit 484ad6fb14d4068a6ea1a3b74d0b8a7e85aa598d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-24 21:16:15 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-24 21:16:15 +0000

    x11-fonts/gensen: Use upstream release zipball
---
 x11-fonts/gensen/Makefile | 12 +++++-------
 x11-fonts/gensen/distinfo |  6 +++---
 2 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/x11-fonts/gensen/Makefile b/x11-fonts/gensen/Makefile
index d69fb83e1510..6c2ead89b03e 100644
--- a/x11-fonts/gensen/Makefile
+++ b/x11-fonts/gensen/Makefile
@@ -1,7 +1,8 @@
 PORTNAME=	gensen
 PORTVERSION=	1.501
-DISTVERSIONPREFIX=	v
 CATEGORIES=	x11-fonts
+MASTER_SITES=	https://github.com/ButTaiwan/gensen-font/releases/download/v${PORTVERSION}/
+DISTNAME=	GenSenRounded
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Free Rounded font family derived from Adobe Source Han Sans
@@ -10,17 +11,14 @@ WWW=		https://github.com/ButTaiwan/gensen-font
 LICENSE=	OFL11
 LICENSE_FILE=	${WRKSRC}/SIL_Open_Font_License_1.1.txt
 
-USES=		fonts
+USES=		fonts zip
 
 NO_ARCH=	yes
 NO_BUILD=	yes
-
-GH_ACCOUNT=	ButTaiwan
-GH_PROJECT=	gensen-font
-USE_GITHUB=	yes
+NO_WRKSUBDIR=	yes
 
 do-install:
 	${MKDIR} ${STAGEDIR}${FONTSDIR}/
-	${INSTALL_DATA} ${WRKSRC}/ttc/*.ttc ${STAGEDIR}${FONTSDIR}/
+	${INSTALL_DATA} ${WRKSRC}/*.ttc ${STAGEDIR}${FONTSDIR}/
 
 .include <bsd.port.mk>
diff --git a/x11-fonts/gensen/distinfo b/x11-fonts/gensen/distinfo
index 2f7714a524e3..74b3edd4a2d4 100644
--- a/x11-fonts/gensen/distinfo
+++ b/x11-fonts/gensen/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1628103004
-SHA256 (ButTaiwan-gensen-font-v1.501_GH0.tar.gz) = 219e2a3bd55d4af50e5cf79539b4d72527479485320fb673984b71da26736d16
-SIZE (ButTaiwan-gensen-font-v1.501_GH0.tar.gz) = 53422916
+TIMESTAMP = 1721823014
+SHA256 (GenSenRounded.zip) = 13fffdee6e3b3358164f136ecee1d8f9fbe3a3346a2b2e61767556b472fc962f
+SIZE (GenSenRounded.zip) = 52636486