git: 3f02e4ab7d06 - main - x11-fonts/genryu: Use upstream release zipball

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

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

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

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

diff --git a/x11-fonts/genryu/Makefile b/x11-fonts/genryu/Makefile
index cbce8245e0c6..7b065d2277c0 100644
--- a/x11-fonts/genryu/Makefile
+++ b/x11-fonts/genryu/Makefile
@@ -1,7 +1,8 @@
 PORTNAME=	genryu
 PORTVERSION=	1.501
-DISTVERSIONPREFIX=	v
 CATEGORIES=	x11-fonts
+MASTER_SITES=	https://github.com/ButTaiwan/genryu-font/releases/download/v${PORTVERSION}/
+DISTNAME=	GenRyuMin
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Free Ming font family derived from Adobe Source Han Serif
@@ -10,17 +11,14 @@ WWW=		https://github.com/ButTaiwan/genryu-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=	genryu-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/genryu/distinfo b/x11-fonts/genryu/distinfo
index ef349ce51734..5baf96b757f7 100644
--- a/x11-fonts/genryu/distinfo
+++ b/x11-fonts/genryu/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1628103000
-SHA256 (ButTaiwan-genryu-font-v1.501_GH0.tar.gz) = 9571cf9ada3d1bb8dfc355df3478f521928434fcc98083e887a845f7f813c26c
-SIZE (ButTaiwan-genryu-font-v1.501_GH0.tar.gz) = 64050108
+TIMESTAMP = 1721823010
+SHA256 (GenRyuMin.zip) = e0ddfef92cd319e829fb968a44ce17301e5b35a727824b3c03e3aa9d946e25cd
+SIZE (GenRyuMin.zip) = 63137975