git: 8284af3d9932 - main - x11-fonts/genyo: Use upstream release zipball

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=8284af3d99320339b7a57d664a68224b6f6f6c82

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

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

diff --git a/x11-fonts/genyo/Makefile b/x11-fonts/genyo/Makefile
index 674fbe86a43b..19a51b3f8fa2 100644
--- a/x11-fonts/genyo/Makefile
+++ b/x11-fonts/genyo/Makefile
@@ -1,7 +1,8 @@
 PORTNAME=	genyo
 PORTVERSION=	1.501
-DISTVERSIONPREFIX=	v
 CATEGORIES=	x11-fonts
+MASTER_SITES=	https://github.com/ButTaiwan/genyo-font/releases/download/v${PORTVERSION}/
+DISTNAME=	GenYoMin
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Free Ming font family derived from Adobe Source Han Serif
@@ -10,17 +11,14 @@ WWW=		https://github.com/ButTaiwan/genyo-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=	genyo-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/genyo/distinfo b/x11-fonts/genyo/distinfo
index 67e958515adb..8baab80b5277 100644
--- a/x11-fonts/genyo/distinfo
+++ b/x11-fonts/genyo/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1628103008
-SHA256 (ButTaiwan-genyo-font-v1.501_GH0.tar.gz) = aedaa3f63aff101eada1422290a886b0134c2dc23915fc57f1eecfc9b9ee8876
-SIZE (ButTaiwan-genyo-font-v1.501_GH0.tar.gz) = 56046923
+TIMESTAMP = 1721823018
+SHA256 (GenYoMin.zip) = 6feafd61b261bdeccc4e69eba8661f5f1dd7ec79d8ef3a78b19fb20759cf366f
+SIZE (GenYoMin.zip) = 55389532