aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-08-08 14:32:11 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-08-08 14:53:53 +0000
commitf3caf3258f7a59c4beb9020ba19d6f38bd941dc4 (patch)
tree18770176a3e76b8281a1c6bff8b0847b86e47f5e
parent253582c7d3f31581a50eaee72f29f598f4eb8d88 (diff)
downloadports-f3caf3258f7a59c4beb9020ba19d6f38bd941dc4.tar.gz
ports-f3caf3258f7a59c4beb9020ba19d6f38bd941dc4.zip
x11-fonts/genyo: Add genyo 1.501
GenYo Ming (源樣明體) is a free font family derived from Adobe Source Han Serif. WWW: https://github.com/ButTaiwan/genyo-font
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/genyo/Makefile27
-rw-r--r--x11-fonts/genyo/distinfo3
-rw-r--r--x11-fonts/genyo/pkg-descr3
-rw-r--r--x11-fonts/genyo/pkg-plist7
5 files changed, 41 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index caad92e0472b..4375f1997135 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -120,6 +120,7 @@
SUBDIR += gentium-basic
SUBDIR += gentium-plus
SUBDIR += genwan
+ SUBDIR += genyo
SUBDIR += gnu-unifont
SUBDIR += gnu-unifont-ttf
SUBDIR += gofont-ttf
diff --git a/x11-fonts/genyo/Makefile b/x11-fonts/genyo/Makefile
new file mode 100644
index 000000000000..da1c32f7cce7
--- /dev/null
+++ b/x11-fonts/genyo/Makefile
@@ -0,0 +1,27 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= genyo
+PORTVERSION= 1.501
+DISTVERSIONPREFIX= v
+CATEGORIES= x11-fonts
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Free Ming font family derived from Adobe Source Han Serif
+
+LICENSE= OFL11
+LICENSE_FILE= ${WRKSRC}/SIL_Open_Font_License_1.1.txt
+
+USES= fonts
+
+NO_ARCH= yes
+NO_BUILD= yes
+
+GH_ACCOUNT= ButTaiwan
+GH_PROJECT= genyo-font
+USE_GITHUB= yes
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${FONTSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/ttc/*.ttc ${STAGEDIR}${FONTSDIR}/
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/genyo/distinfo b/x11-fonts/genyo/distinfo
new file mode 100644
index 000000000000..67e958515adb
--- /dev/null
+++ b/x11-fonts/genyo/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1628103008
+SHA256 (ButTaiwan-genyo-font-v1.501_GH0.tar.gz) = aedaa3f63aff101eada1422290a886b0134c2dc23915fc57f1eecfc9b9ee8876
+SIZE (ButTaiwan-genyo-font-v1.501_GH0.tar.gz) = 56046923
diff --git a/x11-fonts/genyo/pkg-descr b/x11-fonts/genyo/pkg-descr
new file mode 100644
index 000000000000..b037b7fea847
--- /dev/null
+++ b/x11-fonts/genyo/pkg-descr
@@ -0,0 +1,3 @@
+GenYo Ming (源樣明體) is a free font family derived from Adobe Source Han Serif.
+
+WWW: https://github.com/ButTaiwan/genyo-font
diff --git a/x11-fonts/genyo/pkg-plist b/x11-fonts/genyo/pkg-plist
new file mode 100644
index 000000000000..6387d860eb10
--- /dev/null
+++ b/x11-fonts/genyo/pkg-plist
@@ -0,0 +1,7 @@
+%%FONTSDIR%%/GenYoMin-B.ttc
+%%FONTSDIR%%/GenYoMin-EL.ttc
+%%FONTSDIR%%/GenYoMin-H.ttc
+%%FONTSDIR%%/GenYoMin-L.ttc
+%%FONTSDIR%%/GenYoMin-M.ttc
+%%FONTSDIR%%/GenYoMin-R.ttc
+%%FONTSDIR%%/GenYoMin-SB.ttc