aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-08-08 14:32:12 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-08-08 14:53:53 +0000
commit5567b0e5a36be17a236fb55f40e7edf4c605ea85 (patch)
tree2b6af1b3db7dc03deff3a7aaf42e905c4ad52f88 /x11-fonts
parentf3caf3258f7a59c4beb9020ba19d6f38bd941dc4 (diff)
downloadports-5567b0e5a36be17a236fb55f40e7edf4c605ea85.tar.gz
ports-5567b0e5a36be17a236fb55f40e7edf4c605ea85.zip
x11-fonts/genyog: Add genyog 1.501
GenYo Gothic (源樣黑體) is a free font family derived from Adobe Source Han Sans. WWW: https://github.com/ButTaiwan/genyog-font
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/genyog/Makefile27
-rw-r--r--x11-fonts/genyog/distinfo3
-rw-r--r--x11-fonts/genyog/pkg-descr4
-rw-r--r--x11-fonts/genyog/pkg-plist7
5 files changed, 42 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 4375f1997135..39ef8f235bca 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -121,6 +121,7 @@
SUBDIR += gentium-plus
SUBDIR += genwan
SUBDIR += genyo
+ SUBDIR += genyog
SUBDIR += gnu-unifont
SUBDIR += gnu-unifont-ttf
SUBDIR += gofont-ttf
diff --git a/x11-fonts/genyog/Makefile b/x11-fonts/genyog/Makefile
new file mode 100644
index 000000000000..28e46213e5df
--- /dev/null
+++ b/x11-fonts/genyog/Makefile
@@ -0,0 +1,27 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= genyog
+PORTVERSION= 1.501
+DISTVERSIONPREFIX= v
+CATEGORIES= x11-fonts
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Free Gothic font family derived from Adobe Source Han Sans
+
+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= genyog-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/genyog/distinfo b/x11-fonts/genyog/distinfo
new file mode 100644
index 000000000000..ee65c102f2ca
--- /dev/null
+++ b/x11-fonts/genyog/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1628103010
+SHA256 (ButTaiwan-genyog-font-v1.501_GH0.tar.gz) = b467897daecf74ecb299a3b274f51d07410c664e6f67c50d0e06e541d4588b17
+SIZE (ButTaiwan-genyog-font-v1.501_GH0.tar.gz) = 43265298
diff --git a/x11-fonts/genyog/pkg-descr b/x11-fonts/genyog/pkg-descr
new file mode 100644
index 000000000000..168fb241e1d9
--- /dev/null
+++ b/x11-fonts/genyog/pkg-descr
@@ -0,0 +1,4 @@
+GenYo Gothic (源樣黑體) is a free font family derived from Adobe Source Han
+Sans.
+
+WWW: https://github.com/ButTaiwan/genyog-font
diff --git a/x11-fonts/genyog/pkg-plist b/x11-fonts/genyog/pkg-plist
new file mode 100644
index 000000000000..6d7f3565a301
--- /dev/null
+++ b/x11-fonts/genyog/pkg-plist
@@ -0,0 +1,7 @@
+%%FONTSDIR%%/GenYoGothic-B.ttc
+%%FONTSDIR%%/GenYoGothic-EL.ttc
+%%FONTSDIR%%/GenYoGothic-H.ttc
+%%FONTSDIR%%/GenYoGothic-L.ttc
+%%FONTSDIR%%/GenYoGothic-M.ttc
+%%FONTSDIR%%/GenYoGothic-N.ttc
+%%FONTSDIR%%/GenYoGothic-R.ttc