aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2019-11-24 11:47:35 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2019-11-24 11:47:35 +0000
commit8fbb0397a55d500cc154c0d36356a73f832c1449 (patch)
tree99b42e45994de7b05c2a941ff285959f225d4496 /chinese
parenteb762260bbbc73ebd8bf083b8dc007ac2d912f2e (diff)
downloadports-8fbb0397a55d500cc154c0d36356a73f832c1449.tar.gz
ports-8fbb0397a55d500cc154c0d36356a73f832c1449.zip
Add chinese/taipeisanstc:
Taipei Sans TC is re-edited based on the KR version of Source Han Sans. Most Han characters in daily life of the Traditional Chinese world have been applied unified print style and contemporary Han character characteristics.
Notes
Notes: svn path=/head/; revision=518320
Diffstat (limited to 'chinese')
-rw-r--r--chinese/Makefile1
-rw-r--r--chinese/taipeisanstc/Makefile35
-rw-r--r--chinese/taipeisanstc/distinfo7
-rw-r--r--chinese/taipeisanstc/pkg-descr10
4 files changed, 53 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile
index 7449046992d1..b6bdfffc8656 100644
--- a/chinese/Makefile
+++ b/chinese/Makefile
@@ -102,6 +102,7 @@
SUBDIR += sourcehanserif-sc-otf
SUBDIR += sourcehanserif-tc-otf
SUBDIR += sunpinyin
+ SUBDIR += taipeisanstc
SUBDIR += tin
SUBDIR += tintin++
SUBDIR += ttf2pt1
diff --git a/chinese/taipeisanstc/Makefile b/chinese/taipeisanstc/Makefile
new file mode 100644
index 000000000000..00394b453c8a
--- /dev/null
+++ b/chinese/taipeisanstc/Makefile
@@ -0,0 +1,35 @@
+# $FreeBSD$
+
+PORTNAME= taipeisanstc
+DISTVERSION= Beta
+CATEGORIES= chinese x11-fonts
+MASTER_SITES= https://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/taipeisanstc/
+
+MAINTAINER= lwhsu@FreeBSD.org
+COMMENT= Taipei Sans TC
+
+LICENSE= OFL11
+
+USES= fonts
+
+TYPES= Bold Light Regular
+.for type in ${TYPES}
+DISTFILES+= TaipeiSansTC${DISTVERSION}-${type}.ttf
+PLIST_FILES+= ${FONTSDIR}/TaipeiSansTC${DISTVERSION}-${type}.ttf
+.endfor
+
+EXTRACT_CMD= ${CP}
+EXTRACT_BEFORE_ARGS= -a
+EXTRACT_AFTER_ARGS= .
+
+NO_ARCH= yes
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${FONTSDIR}
+.for type in ${TYPES}
+ ${INSTALL_DATA} ${WRKSRC}/TaipeiSansTC${DISTVERSION}-${type}.ttf ${STAGEDIR}${FONTSDIR}
+.endfor
+
+.include <bsd.port.mk>
diff --git a/chinese/taipeisanstc/distinfo b/chinese/taipeisanstc/distinfo
new file mode 100644
index 000000000000..f4d45d3511b2
--- /dev/null
+++ b/chinese/taipeisanstc/distinfo
@@ -0,0 +1,7 @@
+TIMESTAMP = 1574593960
+SHA256 (TaipeiSansTCBeta-Bold.ttf) = 5249d3bdda9c9f4c62840e804b4d2530b7f4dfab6d68fb508c120b0e7e600419
+SIZE (TaipeiSansTCBeta-Bold.ttf) = 21737516
+SHA256 (TaipeiSansTCBeta-Light.ttf) = d69a9ea6a77f694c3a1a1fb766c764aa74cb3e2c4c69f1b532edf98b3f2bb662
+SIZE (TaipeiSansTCBeta-Light.ttf) = 20279264
+SHA256 (TaipeiSansTCBeta-Regular.ttf) = 8cc967e1e428c552701c461e8169e6ae76c7a23694ea1a6a786d6746adec53c4
+SIZE (TaipeiSansTCBeta-Regular.ttf) = 20659344
diff --git a/chinese/taipeisanstc/pkg-descr b/chinese/taipeisanstc/pkg-descr
new file mode 100644
index 000000000000..a5412fd3d10d
--- /dev/null
+++ b/chinese/taipeisanstc/pkg-descr
@@ -0,0 +1,10 @@
+Taipei Sans TC is re-edited based on the KR version of Source Han Sans. Most
+Han characters in daily life of the Traditional Chinese world have been applied
+unified print style and contemporary Han character characteristics.
+
+Taipei Sans TC retains all Han characters (including Chinese simplified Hanzi,
+Japanese Kanji and Korean Hanja) and Japanese Kana from Source Han Sans. Han
+characters not originally included in the KR version still retain their
+characteristics from the CN (SC), JP or TW (TC) version.
+
+WWW: https://sites.google.com/view/jtfoundry/