aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-07-24 21:16:16 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-07-24 21:16:16 +0000
commitd8416253884c70c38898d057787e133c0f230bae (patch)
tree766d1a3b6746d6a3ad49711bd1c6b829a6cd69c9
parent484ad6fb14d4068a6ea1a3b74d0b8a7e85aa598d (diff)
x11-fonts/genwan: Use upstream release zipball
-rw-r--r--x11-fonts/genwan/Makefile12
-rw-r--r--x11-fonts/genwan/distinfo6
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