git: ee157b8e4f88 - main - x11-fonts/noto-sans-kr: Add noto-sans-kr 2.004

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 30 Dec 2022 09:07:41 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ee157b8e4f886bf8c290962ac1ff35ffcb0cfe04

commit ee157b8e4f886bf8c290962ac1ff35ffcb0cfe04
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-12-30 08:36:01 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-12-30 09:03:57 +0000

    x11-fonts/noto-sans-kr: Add noto-sans-kr 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 Korean fonts which supports over 1.5 million
    archaic Hangul syllables and 11,172 modern syllables as well as all CJK
    ideographs in KS X 1001 and KS X 1002.
---
 x11-fonts/Makefile               |  1 +
 x11-fonts/noto-sans-kr/Makefile  | 50 ++++++++++++++++++++++++++++++++++++++++
 x11-fonts/noto-sans-kr/distinfo  | 35 ++++++++++++++++++++++++++++
 x11-fonts/noto-sans-kr/pkg-descr | 11 +++++++++
 x11-fonts/noto-sans-kr/pkg-plist | 16 +++++++++++++
 5 files changed, 113 insertions(+)

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 39de7aeb00c6..45cd2bf121ea 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -190,6 +190,7 @@
     SUBDIR += noto-kr
     SUBDIR += noto-sans-hk
     SUBDIR += noto-sans-jp
+    SUBDIR += noto-sans-kr
     SUBDIR += noto-sc
     SUBDIR += noto-tc
     SUBDIR += nucleus
diff --git a/x11-fonts/noto-sans-kr/Makefile b/x11-fonts/noto-sans-kr/Makefile
new file mode 100644
index 000000000000..b404f3ed5b1c
--- /dev/null
+++ b/x11-fonts/noto-sans-kr/Makefile
@@ -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/Korean/:cjk \
+		https://github.com/googlefonts/noto-cjk/raw/Sans${PORTVERSION}/Sans/Mono/:mono \
+		https://github.com/googlefonts/noto-cjk/raw/Sans${PORTVERSION}/Sans/SubsetOTF/KR/:subset
+PKGNAMESUFFIX=	-sans-kr
+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 (Korean)
+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=	NotoSansCJKkr-Black.otf \
+		NotoSansCJKkr-Bold.otf \
+		NotoSansCJKkr-DemiLight.otf \
+		NotoSansCJKkr-Light.otf \
+		NotoSansCJKkr-Medium.otf \
+		NotoSansCJKkr-Regular.otf \
+		NotoSansCJKkr-Thin.otf
+MONO_FONTS=	NotoSansMonoCJKkr-Bold.otf \
+		NotoSansMonoCJKkr-Regular.otf
+SUBSET_FONTS=	NotoSansKR-Black.otf \
+		NotoSansKR-Bold.otf \
+		NotoSansKR-DemiLight.otf \
+		NotoSansKR-Light.otf \
+		NotoSansKR-Medium.otf \
+		NotoSansKR-Regular.otf \
+		NotoSansKR-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>
diff --git a/x11-fonts/noto-sans-kr/distinfo b/x11-fonts/noto-sans-kr/distinfo
new file mode 100644
index 000000000000..cf98c34721d5
--- /dev/null
+++ b/x11-fonts/noto-sans-kr/distinfo
@@ -0,0 +1,35 @@
+TIMESTAMP = 1671956122
+SHA256 (Noto/CJK/2.004/LICENSE) = 6a73f9541c2de74158c0e7cf6b0a58ef774f5a780bf191f2d7ec9cc53efe2bf2
+SIZE (Noto/CJK/2.004/LICENSE) = 4301
+SHA256 (Noto/CJK/2.004/NotoSansCJKkr-Black.otf) = dd7b46485c0796583aa1bed3576535af6047cff5b055db9e20a1de2ed027e57a
+SIZE (Noto/CJK/2.004/NotoSansCJKkr-Black.otf) = 17793656
+SHA256 (Noto/CJK/2.004/NotoSansCJKkr-Bold.otf) = 26d0c6748500a0444844280b308f5b62c7ae92ac6c6ac88148e502dd211eb52a
+SIZE (Noto/CJK/2.004/NotoSansCJKkr-Bold.otf) = 16997996
+SHA256 (Noto/CJK/2.004/NotoSansCJKkr-DemiLight.otf) = 6b8aabf9086140e8846be0316e06159db400e6867f4b3042af0f82a03edeff0e
+SIZE (Noto/CJK/2.004/NotoSansCJKkr-DemiLight.otf) = 16410508
+SHA256 (Noto/CJK/2.004/NotoSansCJKkr-Light.otf) = 2f45abf3908d88ee45d2831484c920ec4a65e214ec14a8e0341ff2213579d5fc
+SIZE (Noto/CJK/2.004/NotoSansCJKkr-Light.otf) = 16325396
+SHA256 (Noto/CJK/2.004/NotoSansCJKkr-Medium.otf) = 15c12166634936c31307b91bd049d95b4ba30c248e8c389b5388f75ae8ba90d6
+SIZE (Noto/CJK/2.004/NotoSansCJKkr-Medium.otf) = 16519380
+SHA256 (Noto/CJK/2.004/NotoSansCJKkr-Regular.otf) = 6bcb2a0703aa137e874fc2dffa85f6c21ba9a67fa329e81b8c801663af7e992a
+SIZE (Noto/CJK/2.004/NotoSansCJKkr-Regular.otf) = 16433112
+SHA256 (Noto/CJK/2.004/NotoSansCJKkr-Thin.otf) = 436e2833751f692e69dd09e9d878da2a2aa6b683457f0947a857c3dc334f17f1
+SIZE (Noto/CJK/2.004/NotoSansCJKkr-Thin.otf) = 14892436
+SHA256 (Noto/CJK/2.004/NotoSansMonoCJKkr-Bold.otf) = 8b82692e9d54205655efd620ab6ff4ad55df94e149021d99529d95e1120621e4
+SIZE (Noto/CJK/2.004/NotoSansMonoCJKkr-Bold.otf) = 16954224
+SHA256 (Noto/CJK/2.004/NotoSansMonoCJKkr-Regular.otf) = d5afed9988a28ae96afb0f4791754d3c9f4f08d08477eb1a7d6e2d905679a472
+SIZE (Noto/CJK/2.004/NotoSansMonoCJKkr-Regular.otf) = 16389532
+SHA256 (Noto/CJK/2.004/NotoSansKR-Black.otf) = a9977a588488d2a7f544bb2b589b01bed071dca64a4655d438696301b527884b
+SIZE (Noto/CJK/2.004/NotoSansKR-Black.otf) = 5033248
+SHA256 (Noto/CJK/2.004/NotoSansKR-Bold.otf) = 5a6ceb287ed2fc6cfc6213144ebea68cbd94b20fc9eb873d8486493bf02d9bda
+SIZE (Noto/CJK/2.004/NotoSansKR-Bold.otf) = 4816044
+SHA256 (Noto/CJK/2.004/NotoSansKR-DemiLight.otf) = 8da8c5b84dfa0e843027fddf95748c6fdce15ae7c958279a047f041861bdd415
+SIZE (Noto/CJK/2.004/NotoSansKR-DemiLight.otf) = 4651712
+SHA256 (Noto/CJK/2.004/NotoSansKR-Light.otf) = 5971aca275255797a75c7fc43d5058487668069da93c45ad4a24be5aa1e67c85
+SIZE (Noto/CJK/2.004/NotoSansKR-Light.otf) = 4629056
+SHA256 (Noto/CJK/2.004/NotoSansKR-Medium.otf) = b46988ef13e8bac08f3933af686eaf770972994f9b6d335be0184d60169b5431
+SIZE (Noto/CJK/2.004/NotoSansKR-Medium.otf) = 4669816
+SHA256 (Noto/CJK/2.004/NotoSansKR-Regular.otf) = 69975a0ac8472717870aefeab0a4d52739308d90856b9955313b2ad5e0148d68
+SIZE (Noto/CJK/2.004/NotoSansKR-Regular.otf) = 4644748
+SHA256 (Noto/CJK/2.004/NotoSansKR-Thin.otf) = 820514af3397871f21709b540814c5c26276469a8b4d0f78cad1b69458c5f1cd
+SIZE (Noto/CJK/2.004/NotoSansKR-Thin.otf) = 4254020
diff --git a/x11-fonts/noto-sans-kr/pkg-descr b/x11-fonts/noto-sans-kr/pkg-descr
new file mode 100644
index 000000000000..5d594ad9371a
--- /dev/null
+++ b/x11-fonts/noto-sans-kr/pkg-descr
@@ -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 Korean fonts which supports over 1.5 million
+archaic Hangul syllables and 11,172 modern syllables as well as all CJK
+ideographs in KS X 1001 and KS X 1002.
diff --git a/x11-fonts/noto-sans-kr/pkg-plist b/x11-fonts/noto-sans-kr/pkg-plist
new file mode 100644
index 000000000000..e0fd487726c4
--- /dev/null
+++ b/x11-fonts/noto-sans-kr/pkg-plist
@@ -0,0 +1,16 @@
+%%FONTSDIR%%/NotoSansCJKkr-Black.otf
+%%FONTSDIR%%/NotoSansCJKkr-Bold.otf
+%%FONTSDIR%%/NotoSansCJKkr-DemiLight.otf
+%%FONTSDIR%%/NotoSansCJKkr-Light.otf
+%%FONTSDIR%%/NotoSansCJKkr-Medium.otf
+%%FONTSDIR%%/NotoSansCJKkr-Regular.otf
+%%FONTSDIR%%/NotoSansCJKkr-Thin.otf
+%%FONTSDIR%%/NotoSansMonoCJKkr-Bold.otf
+%%FONTSDIR%%/NotoSansMonoCJKkr-Regular.otf
+%%FONTSDIR%%/NotoSansKR-Black.otf
+%%FONTSDIR%%/NotoSansKR-Bold.otf
+%%FONTSDIR%%/NotoSansKR-DemiLight.otf
+%%FONTSDIR%%/NotoSansKR-Light.otf
+%%FONTSDIR%%/NotoSansKR-Medium.otf
+%%FONTSDIR%%/NotoSansKR-Regular.otf
+%%FONTSDIR%%/NotoSansKR-Thin.otf