aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2022-01-18 09:27:03 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2022-01-18 09:27:03 +0000
commit3fc3cfad6027bb766a03989bb0c85c48128ba916 (patch)
tree4c6576bf52efbb3fa3c0047f29b21a5012f45d0b
parent363203e3a0fb20212fb473247a4d4e06d8236cd7 (diff)
downloadports-3fc3cfad6027bb766a03989bb0c85c48128ba916.tar.gz
ports-3fc3cfad6027bb766a03989bb0c85c48128ba916.zip
Add x11-fonts/iansui: Open source Chinese font derived from Klee One (Fontworks)
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/iansui/Makefile28
-rw-r--r--x11-fonts/iansui/distinfo3
-rw-r--r--x11-fonts/iansui/pkg-descr4
4 files changed, 36 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 3150648388ab..d115b6985765 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -131,6 +131,7 @@
SUBDIR += hack-font
SUBDIR += hanazono-fonts-ttf
SUBDIR += hermit
+ SUBDIR += iansui
SUBDIR += inconsolata-lgc-ttf
SUBDIR += inconsolata-ttf
SUBDIR += intlfonts
diff --git a/x11-fonts/iansui/Makefile b/x11-fonts/iansui/Makefile
new file mode 100644
index 000000000000..82caa0e9e45d
--- /dev/null
+++ b/x11-fonts/iansui/Makefile
@@ -0,0 +1,28 @@
+PORTNAME= iansui
+PORTVERSION= 0.910
+DISTVERSIONPREFIX= v
+CATEGORIES= x11-fonts
+
+MAINTAINER= lwhsu@FreeBSD.org
+COMMENT= Open source Chinese font derived from Klee One (Fontworks)
+
+LICENSE= OFL11
+LICENSE_FILE= ${WRKSRC}/OFL.txt
+
+USES= fonts
+
+USE_GITHUB= yes
+GH_ACCOUNT= ButTaiwan
+
+NO_ARCH= yes
+NO_BUILD= yes
+
+FONT_FILE= Iansui${PORTVERSION:C/0+$//}-Regular.ttf
+
+PLIST_FILES= ${FONTSDIR}/${FONT_FILE}
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${FONT_FILE} ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/iansui/distinfo b/x11-fonts/iansui/distinfo
new file mode 100644
index 000000000000..789ac4140046
--- /dev/null
+++ b/x11-fonts/iansui/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1642496888
+SHA256 (ButTaiwan-iansui-v0.910_GH0.tar.gz) = 4694f9b4fa477c0e51d41abe1f88d04371fc98670721576abe3c6ee33554ce75
+SIZE (ButTaiwan-iansui-v0.910_GH0.tar.gz) = 5360237
diff --git a/x11-fonts/iansui/pkg-descr b/x11-fonts/iansui/pkg-descr
new file mode 100644
index 000000000000..795bbc676d2c
--- /dev/null
+++ b/x11-fonts/iansui/pkg-descr
@@ -0,0 +1,4 @@
+iansui (芫荽, iân-sui) is an open source Chinese font derived from
+Klee One (Fontworks).
+
+WWW: https://github.com/ButTaiwan/iansui