git: cd04fc8ca1e5 - main - x11-fonts/noto-serif-kr: Add noto-serif-kr 2.001

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

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

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

    x11-fonts/noto-serif-kr: Add noto-serif-kr 2.001
    
    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 Serif 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-serif-kr/Makefile  | 46 +++++++++++++++++++++++++++++++++++++++
 x11-fonts/noto-serif-kr/distinfo  | 31 ++++++++++++++++++++++++++
 x11-fonts/noto-serif-kr/pkg-descr | 11 ++++++++++
 x11-fonts/noto-serif-kr/pkg-plist | 14 ++++++++++++
 5 files changed, 103 insertions(+)

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 7eae5cc5267b..a4ef1d46f49f 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -196,6 +196,7 @@
     SUBDIR += noto-sc
     SUBDIR += noto-serif-hk
     SUBDIR += noto-serif-jp
+    SUBDIR += noto-serif-kr
     SUBDIR += noto-tc
     SUBDIR += nucleus
     SUBDIR += office-code-pro
diff --git a/x11-fonts/noto-serif-kr/Makefile b/x11-fonts/noto-serif-kr/Makefile
new file mode 100644
index 000000000000..7d705922db8a
--- /dev/null
+++ b/x11-fonts/noto-serif-kr/Makefile
@@ -0,0 +1,46 @@
+PORTNAME=	noto
+PORTVERSION=	2.001
+CATEGORIES=	x11-fonts
+MASTER_SITES=	https://github.com/googlefonts/noto-cjk/raw/Serif${PORTVERSION}/ \
+		https://github.com/googlefonts/noto-cjk/raw/Serif${PORTVERSION}/Serif/OTF/Korean/:cjk \
+		https://github.com/googlefonts/noto-cjk/raw/Serif${PORTVERSION}/Serif/SubsetOTF/KR/:subset
+PKGNAMESUFFIX=	-serif-kr
+DISTFILES=	LICENSE \
+		${CJK_FONTS:S|$|:cjk|} \
+		${SUBSET_FONTS:S|$|:subset|}
+DIST_SUBDIR=	Noto/CJK/${PORTVERSION}
+EXTRACT_ONLY=	# empty
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Google Noto Serif (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=	NotoSerifCJKkr-Black.otf \
+		NotoSerifCJKkr-Bold.otf \
+		NotoSerifCJKkr-ExtraLight.otf \
+		NotoSerifCJKkr-Light.otf \
+		NotoSerifCJKkr-Medium.otf \
+		NotoSerifCJKkr-Regular.otf \
+		NotoSerifCJKkr-SemiBold.otf
+SUBSET_FONTS=	NotoSerifKR-Black.otf \
+		NotoSerifKR-Bold.otf \
+		NotoSerifKR-ExtraLight.otf \
+		NotoSerifKR-Light.otf \
+		NotoSerifKR-Medium.otf \
+		NotoSerifKR-Regular.otf \
+		NotoSerifKR-SemiBold.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-serif-kr/distinfo b/x11-fonts/noto-serif-kr/distinfo
new file mode 100644
index 000000000000..2f980739119e
--- /dev/null
+++ b/x11-fonts/noto-serif-kr/distinfo
@@ -0,0 +1,31 @@
+TIMESTAMP = 1671956132
+SHA256 (Noto/CJK/2.001/LICENSE) = 6a73f9541c2de74158c0e7cf6b0a58ef774f5a780bf191f2d7ec9cc53efe2bf2
+SIZE (Noto/CJK/2.001/LICENSE) = 4301
+SHA256 (Noto/CJK/2.001/NotoSerifCJKkr-Black.otf) = 5eb2a83c06dfe5a2509d815c67523b91c4aec4654f9a0bdc6f3e5df5df04bae9
+SIZE (Noto/CJK/2.001/NotoSerifCJKkr-Black.otf) = 24001316
+SHA256 (Noto/CJK/2.001/NotoSerifCJKkr-Bold.otf) = b478ed93855569f156d7bb00451330c1cd30c1ab2fe4b79502794bf74404b60f
+SIZE (Noto/CJK/2.001/NotoSerifCJKkr-Bold.otf) = 25412664
+SHA256 (Noto/CJK/2.001/NotoSerifCJKkr-ExtraLight.otf) = c1e807b34795d1c24c36199242a0c93eafaf7bd092261cf24c15b5b8e3641c80
+SIZE (Noto/CJK/2.001/NotoSerifCJKkr-ExtraLight.otf) = 21276940
+SHA256 (Noto/CJK/2.001/NotoSerifCJKkr-Light.otf) = 173735da9cd87e597c685e5f0acd46e58993232b9333841b473971e08c08222d
+SIZE (Noto/CJK/2.001/NotoSerifCJKkr-Light.otf) = 24099484
+SHA256 (Noto/CJK/2.001/NotoSerifCJKkr-Medium.otf) = 4265254d01d8e19d3cd3413cc5fa846514db9005bded0045ea5c89c55f8ce74a
+SIZE (Noto/CJK/2.001/NotoSerifCJKkr-Medium.otf) = 24657576
+SHA256 (Noto/CJK/2.001/NotoSerifCJKkr-Regular.otf) = ec79fc32cb5b8789c1f03995be9498d0660df14f2ee7f494da9b92e122c633a6
+SIZE (Noto/CJK/2.001/NotoSerifCJKkr-Regular.otf) = 24426416
+SHA256 (Noto/CJK/2.001/NotoSerifCJKkr-SemiBold.otf) = d14c8912345de3830ea4a93b3509d9b06ac1f12dd2ffe43488189c969c784fc5
+SIZE (Noto/CJK/2.001/NotoSerifCJKkr-SemiBold.otf) = 24610560
+SHA256 (Noto/CJK/2.001/NotoSerifKR-Black.otf) = 4565529f70517004f05c75383e71ca222d9f9cbad4f2b9bd90e512d688a81501
+SIZE (Noto/CJK/2.001/NotoSerifKR-Black.otf) = 6596224
+SHA256 (Noto/CJK/2.001/NotoSerifKR-Bold.otf) = d35641984fb727fba36829dd7914872e11163dcdd14c4db2fc86efa657cebd77
+SIZE (Noto/CJK/2.001/NotoSerifKR-Bold.otf) = 7833548
+SHA256 (Noto/CJK/2.001/NotoSerifKR-ExtraLight.otf) = 1eb33f5f9079db2e39fa94dadac4a88e521003ede97dd9a1aa95dff2742f9d00
+SIZE (Noto/CJK/2.001/NotoSerifKR-ExtraLight.otf) = 6060272
+SHA256 (Noto/CJK/2.001/NotoSerifKR-Light.otf) = 275589d43a8dd36d0aba8af832da6af8ce45950430663f3522497e17663f85ec
+SIZE (Noto/CJK/2.001/NotoSerifKR-Light.otf) = 7508592
+SHA256 (Noto/CJK/2.001/NotoSerifKR-Medium.otf) = 81291d1c06fc93f8e24f8d7b1d2724141a587322f0d96f76c1cfd6a04fc4e302
+SIZE (Noto/CJK/2.001/NotoSerifKR-Medium.otf) = 7669976
+SHA256 (Noto/CJK/2.001/NotoSerifKR-Regular.otf) = 8ec875bfb50753f80712ad027596ad0e5fec9421374e80a36d0f301a8416c4bd
+SIZE (Noto/CJK/2.001/NotoSerifKR-Regular.otf) = 7582008
+SHA256 (Noto/CJK/2.001/NotoSerifKR-SemiBold.otf) = 1185a58f25e0135a4b5d928a66ed1654881592fa9858a210d03aae42bde5b6f9
+SIZE (Noto/CJK/2.001/NotoSerifKR-SemiBold.otf) = 7527116
diff --git a/x11-fonts/noto-serif-kr/pkg-descr b/x11-fonts/noto-serif-kr/pkg-descr
new file mode 100644
index 000000000000..49389ef214d8
--- /dev/null
+++ b/x11-fonts/noto-serif-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 Serif 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-serif-kr/pkg-plist b/x11-fonts/noto-serif-kr/pkg-plist
new file mode 100644
index 000000000000..2eb78d75d792
--- /dev/null
+++ b/x11-fonts/noto-serif-kr/pkg-plist
@@ -0,0 +1,14 @@
+%%FONTSDIR%%/NotoSerifCJKkr-Black.otf
+%%FONTSDIR%%/NotoSerifCJKkr-Bold.otf
+%%FONTSDIR%%/NotoSerifCJKkr-ExtraLight.otf
+%%FONTSDIR%%/NotoSerifCJKkr-Light.otf
+%%FONTSDIR%%/NotoSerifCJKkr-Medium.otf
+%%FONTSDIR%%/NotoSerifCJKkr-Regular.otf
+%%FONTSDIR%%/NotoSerifCJKkr-SemiBold.otf
+%%FONTSDIR%%/NotoSerifKR-Black.otf
+%%FONTSDIR%%/NotoSerifKR-Bold.otf
+%%FONTSDIR%%/NotoSerifKR-ExtraLight.otf
+%%FONTSDIR%%/NotoSerifKR-Light.otf
+%%FONTSDIR%%/NotoSerifKR-Medium.otf
+%%FONTSDIR%%/NotoSerifKR-Regular.otf
+%%FONTSDIR%%/NotoSerifKR-SemiBold.otf