git: d8416253884c - main - x11-fonts/genwan: Use upstream release zipball

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

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

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

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

diff --git a/x11-fonts/genwan/Makefile b/x11-fonts/genwan/Makefile
index 9d210b483a4f..95a8e2b3d808 100644
--- a/x11-fonts/genwan/Makefile
+++ b/x11-fonts/genwan/Makefile
@@ -1,7 +1,8 @@
 PORTNAME=	genwan
 PORTVERSION=	1.501
-DISTVERSIONPREFIX=	v
 CATEGORIES=	x11-fonts
+MASTER_SITES=	https://github.com/ButTaiwan/genwan-font/releases/download/v${PORTVERSION}/
+DISTNAME=	GenWanMin
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Free Ming font family derived from Adobe Source Han Serif
@@ -10,17 +11,14 @@ WWW=		https://github.com/ButTaiwan/genwan-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=	genwan-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/genwan/distinfo b/x11-fonts/genwan/distinfo
index 3fd30b4041c5..589a9846905c 100644
--- a/x11-fonts/genwan/distinfo
+++ b/x11-fonts/genwan/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1628103006
-SHA256 (ButTaiwan-genwan-font-v1.501_GH0.tar.gz) = a240fd1130bb1836748e8e7c4667829e66dff44c09ad32ef1c56e311d45629df
-SIZE (ButTaiwan-genwan-font-v1.501_GH0.tar.gz) = 90759074
+TIMESTAMP = 1721823016
+SHA256 (GenWanMin.zip) = 8eb2b17f7c4d3fc1bd16a51f2e70e55a51f1ea39afc967640fa35af1102da1d6
+SIZE (GenWanMin.zip) = 88078680