aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2020-04-24 09:31:47 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2020-04-24 09:31:47 +0000
commit545dfae2532878341bf83ef6069ab5e10b2cbd29 (patch)
tree7ae568106fb79f34ddbe724249f271be866f5758 /chinese
parentc8ecc9502811a4d1eff4bcb9cbdd485510f785aa (diff)
Notes
Diffstat (limited to 'chinese')
-rw-r--r--chinese/Makefile1
-rw-r--r--chinese/open-huninn-font/Makefile24
-rw-r--r--chinese/open-huninn-font/distinfo3
-rw-r--r--chinese/open-huninn-font/pkg-descr4
4 files changed, 32 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile
index d710534aa521..59f3b14c8046 100644
--- a/chinese/Makefile
+++ b/chinese/Makefile
@@ -66,6 +66,7 @@
SUBDIR += moettf
SUBDIR += muni
SUBDIR += oicq
+ SUBDIR += open-huninn-font
SUBDIR += opencc
SUBDIR += opendesktop-fonts
SUBDIR += oto
diff --git a/chinese/open-huninn-font/Makefile b/chinese/open-huninn-font/Makefile
new file mode 100644
index 000000000000..d5f587bc8ef1
--- /dev/null
+++ b/chinese/open-huninn-font/Makefile
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+PORTNAME= open-huninn-font
+PORTVERSION= 1.1
+CATEGORIES= chinese x11-fonts
+MASTER_SITES= https://github.com/justfont/${PORTNAME}/releases/download/v${DISTVERSION}/
+DISTNAME= jf-openhuninn-${DISTVERSION}
+
+MAINTAINER= lwhsu@FreeBSD.org
+COMMENT= Font based on Kosugi Maru and optimized for common usage in Taiwan
+
+LICENSE= OFL11
+
+USES= fonts zip
+
+NO_ARCH= yes
+NO_BUILD= yes
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${FONTSDIR}
+ ${LS} ${STAGEDIR}${FONTSDIR}/*.ttf | ${SED} -e's,^${STAGEDIR},,' >> ${TMPPLIST}
+
+.include <bsd.port.mk>
diff --git a/chinese/open-huninn-font/distinfo b/chinese/open-huninn-font/distinfo
new file mode 100644
index 000000000000..dbf020700655
--- /dev/null
+++ b/chinese/open-huninn-font/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1587720061
+SHA256 (jf-openhuninn-1.1.zip) = 1b5a8d0204f5763408609d5e8182455d23a2ebc7450730aed19cc13c619bca37
+SIZE (jf-openhuninn-1.1.zip) = 4039902
diff --git a/chinese/open-huninn-font/pkg-descr b/chinese/open-huninn-font/pkg-descr
new file mode 100644
index 000000000000..df347f58e400
--- /dev/null
+++ b/chinese/open-huninn-font/pkg-descr
@@ -0,0 +1,4 @@
+jf open huninn font is an open source font based on Kosugi Maru and
+optimized by justfont designers for common usage in Taiwan.
+
+WWW: https://justfont.com/huninn/