x11-fonts/noto-sans-sc: Add noto-sans-sc 2.004

Noto Sans CJK and Noto Serif CJK comprehensively cover Simplified Chinese,
Traditional Chinese, Japanese, and Korean in a unified font family. This
includes the full coverage of CJK Ideographs with variation support for 4
regions, Kangxi radicals, Japanese Kana, Korean Hangul, and other CJK symbols
and letters in the Basic Multilingual Plane of Unicode. It also provides limited
coverage of CJK Ideographs in Plane 2 of Unicode as necessary to support
standards from China and Japan.

This port is the Sans set of Simplified Chinese fonts which supports GB 18030
and China's latest standard Table of General Chinese Characters published in
2013.
This commit is contained in:
Po-Chuan Hsieh 2022-12-30 16:36:02 +08:00
parent ee157b8e4f
commit aaaf0b62f8
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
5 changed files with 113 additions and 0 deletions

View File

@ -191,6 +191,7 @@
SUBDIR += noto-sans-hk
SUBDIR += noto-sans-jp
SUBDIR += noto-sans-kr
SUBDIR += noto-sans-sc
SUBDIR += noto-sc
SUBDIR += noto-tc
SUBDIR += nucleus

View File

@ -0,0 +1,50 @@
PORTNAME= noto
PORTVERSION= 2.004
CATEGORIES= x11-fonts
MASTER_SITES= https://github.com/googlefonts/noto-cjk/raw/Sans${PORTVERSION}/ \
https://github.com/googlefonts/noto-cjk/raw/Sans${PORTVERSION}/Sans/OTF/SimplifiedChinese/:cjk \
https://github.com/googlefonts/noto-cjk/raw/Sans${PORTVERSION}/Sans/Mono/:mono \
https://github.com/googlefonts/noto-cjk/raw/Sans${PORTVERSION}/Sans/SubsetOTF/SC/:subset
PKGNAMESUFFIX= -sans-sc
DISTFILES= LICENSE \
${CJK_FONTS:S|$|:cjk|} \
${MONO_FONTS:S|$|:mono|} \
${SUBSET_FONTS:S|$|:subset|}
DIST_SUBDIR= Noto/CJK/${PORTVERSION}
EXTRACT_ONLY= # empty
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Google Noto Sans (Simplified Chinese)
WWW= https://www.google.com/get/noto/ \
https://github.com/googlefonts/noto-cjk
LICENSE= OFL11
LICENSE_FILE= ${DISTDIR}/${DIST_SUBDIR}/LICENSE
USES= fonts
NO_ARCH= yes
NO_BUILD= yes
CJK_FONTS= NotoSansCJKsc-Black.otf \
NotoSansCJKsc-Bold.otf \
NotoSansCJKsc-DemiLight.otf \
NotoSansCJKsc-Light.otf \
NotoSansCJKsc-Medium.otf \
NotoSansCJKsc-Regular.otf \
NotoSansCJKsc-Thin.otf
MONO_FONTS= NotoSansMonoCJKsc-Bold.otf \
NotoSansMonoCJKsc-Regular.otf
SUBSET_FONTS= NotoSansSC-Black.otf \
NotoSansSC-Bold.otf \
NotoSansSC-DemiLight.otf \
NotoSansSC-Light.otf \
NotoSansSC-Medium.otf \
NotoSansSC-Regular.otf \
NotoSansSC-Thin.otf
do-install:
${MKDIR} ${STAGEDIR}${FONTSDIR}
cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${CJK_FONTS} ${MONO_FONTS} ${SUBSET_FONTS} ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>

View File

@ -0,0 +1,35 @@
TIMESTAMP = 1671956124
SHA256 (Noto/CJK/2.004/LICENSE) = 6a73f9541c2de74158c0e7cf6b0a58ef774f5a780bf191f2d7ec9cc53efe2bf2
SIZE (Noto/CJK/2.004/LICENSE) = 4301
SHA256 (Noto/CJK/2.004/NotoSansCJKsc-Black.otf) = 2267c4a0312d267dff8c0d1609948f7d949a3da8be3e126f5e2690cb9cc883b4
SIZE (Noto/CJK/2.004/NotoSansCJKsc-Black.otf) = 17797908
SHA256 (Noto/CJK/2.004/NotoSansCJKsc-Bold.otf) = b5f0d1a190a7f9b43c310a8850630af12553df32c4c050543f9059732d9b4c0a
SIZE (Noto/CJK/2.004/NotoSansCJKsc-Bold.otf) = 17002248
SHA256 (Noto/CJK/2.004/NotoSansCJKsc-DemiLight.otf) = 4600700d1b10c8e82074de7c91fa60d2ff5d0a7b9588edea6ab0929424b1699f
SIZE (Noto/CJK/2.004/NotoSansCJKsc-DemiLight.otf) = 16414760
SHA256 (Noto/CJK/2.004/NotoSansCJKsc-Light.otf) = e78bbbe1573bbb006156c1198f5c8cd6329470cb6e0b6702c7a3c83913db4abf
SIZE (Noto/CJK/2.004/NotoSansCJKsc-Light.otf) = 16329648
SHA256 (Noto/CJK/2.004/NotoSansCJKsc-Medium.otf) = ca094f6b0001fb048ca39ddd797a0cdb0179e1e55c6561e111c49c3e6a61d7b7
SIZE (Noto/CJK/2.004/NotoSansCJKsc-Medium.otf) = 16523632
SHA256 (Noto/CJK/2.004/NotoSansCJKsc-Regular.otf) = 2c76254f6fc379fddfce0a7e84fb5385bb135d3e399294f6eeb6680d0365b74b
SIZE (Noto/CJK/2.004/NotoSansCJKsc-Regular.otf) = 16437364
SHA256 (Noto/CJK/2.004/NotoSansCJKsc-Thin.otf) = 89bb8179d1b285ac0ca236b37ff29929ee3cc4526048dc11630a55728063e5ba
SIZE (Noto/CJK/2.004/NotoSansCJKsc-Thin.otf) = 14896688
SHA256 (Noto/CJK/2.004/NotoSansMonoCJKsc-Bold.otf) = a452fedfc0619e43e080b7b861ce34cbd3ec4fbcea495bf8c402a5a02a5dcbdc
SIZE (Noto/CJK/2.004/NotoSansMonoCJKsc-Bold.otf) = 16958476
SHA256 (Noto/CJK/2.004/NotoSansMonoCJKsc-Regular.otf) = ec04cc376b34887cedbdf84074e2e226ed2761eeabdcb9173fc1dd7bfd153ef7
SIZE (Noto/CJK/2.004/NotoSansMonoCJKsc-Regular.otf) = 16393784
SHA256 (Noto/CJK/2.004/NotoSansSC-Black.otf) = ccb496022356b7dd14d117538a472ae40feff8f6e8f3fe8bffc5616785d2f3f9
SIZE (Noto/CJK/2.004/NotoSansSC-Black.otf) = 8855916
SHA256 (Noto/CJK/2.004/NotoSansSC-Bold.otf) = c6cb5a93abaa9edc8ee7463b7ebb7f42d618d40e6ed2f7a5371c97b0b64767c0
SIZE (Noto/CJK/2.004/NotoSansSC-Bold.otf) = 8543168
SHA256 (Noto/CJK/2.004/NotoSansSC-DemiLight.otf) = 63a895a808a155fe69d67f742e60ee708fe0eaaef0650904bb4eead3941e98dc
SIZE (Noto/CJK/2.004/NotoSansSC-DemiLight.otf) = 8325948
SHA256 (Noto/CJK/2.004/NotoSansSC-Light.otf) = 35cca31cea56b2720c096efaea2cfdffdf1b523bf5de0a80552d16edccfa9c70
SIZE (Noto/CJK/2.004/NotoSansSC-Light.otf) = 8299104
SHA256 (Noto/CJK/2.004/NotoSansSC-Medium.otf) = 7633f5a016d4dd95e685a69633d818aabc4644c4b08e26bd35b1b30c45ed5dda
SIZE (Noto/CJK/2.004/NotoSansSC-Medium.otf) = 8345436
SHA256 (Noto/CJK/2.004/NotoSansSC-Regular.otf) = faa6c9df652116dde789d351359f3d7e5d2285a2b2a1f04a2d7244df706d5ea9
SIZE (Noto/CJK/2.004/NotoSansSC-Regular.otf) = 8331336
SHA256 (Noto/CJK/2.004/NotoSansSC-Thin.otf) = 1e665b570a16ff4076d1a11cdb358bae3984a9c74b0f404b22634142618cb96b
SIZE (Noto/CJK/2.004/NotoSansSC-Thin.otf) = 7574608

View File

@ -0,0 +1,11 @@
Noto Sans CJK and Noto Serif CJK comprehensively cover Simplified Chinese,
Traditional Chinese, Japanese, and Korean in a unified font family. This
includes the full coverage of CJK Ideographs with variation support for 4
regions, Kangxi radicals, Japanese Kana, Korean Hangul, and other CJK symbols
and letters in the Basic Multilingual Plane of Unicode. It also provides limited
coverage of CJK Ideographs in Plane 2 of Unicode as necessary to support
standards from China and Japan.
This port is the Sans set of Simplified Chinese fonts which supports GB 18030
and China's latest standard Table of General Chinese Characters published in
2013.

View File

@ -0,0 +1,16 @@
%%FONTSDIR%%/NotoSansCJKsc-Black.otf
%%FONTSDIR%%/NotoSansCJKsc-Bold.otf
%%FONTSDIR%%/NotoSansCJKsc-DemiLight.otf
%%FONTSDIR%%/NotoSansCJKsc-Light.otf
%%FONTSDIR%%/NotoSansCJKsc-Medium.otf
%%FONTSDIR%%/NotoSansCJKsc-Regular.otf
%%FONTSDIR%%/NotoSansCJKsc-Thin.otf
%%FONTSDIR%%/NotoSansMonoCJKsc-Bold.otf
%%FONTSDIR%%/NotoSansMonoCJKsc-Regular.otf
%%FONTSDIR%%/NotoSansSC-Black.otf
%%FONTSDIR%%/NotoSansSC-Bold.otf
%%FONTSDIR%%/NotoSansSC-DemiLight.otf
%%FONTSDIR%%/NotoSansSC-Light.otf
%%FONTSDIR%%/NotoSansSC-Medium.otf
%%FONTSDIR%%/NotoSansSC-Regular.otf
%%FONTSDIR%%/NotoSansSC-Thin.otf