git: fca381942837 - main - x11-fonts/noto-serif-kannada: Add noto-serif-kannada 2.005

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 04 Aug 2024 17:21:38 UTC
The branch main has been updated by sunpoet:

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

commit fca381942837b7948d1d5fc5793c67cd82d29fce
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-08-04 16:43:56 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-08-04 17:13:50 +0000

    x11-fonts/noto-serif-kannada: Add noto-serif-kannada 2.005
    
    When text is rendered by a computer, sometimes characters are displayed as
    "tofu". They are little boxes to indicate your device doesn't have a font to
    display the text.
    
    Google has been developing a font family called Noto, which aims to support all
    languages with a harmonious look and feel. Noto is Google's answer to tofu. The
    name noto is to convey the idea that Google's goal is to see no more "tofu".
    Noto has multiple styles and weights, and is freely available to all. The
    comprehensive set of fonts and tools used in our development is available in our
    GitHub repositories.
    
    This port provides the fonts set of Noto Serif Kannada.
---
 x11-fonts/Makefile                     |  1 +
 x11-fonts/noto-serif-kannada/Makefile  | 42 ++++++++++++++++++++++++++++++++++
 x11-fonts/noto-serif-kannada/distinfo  | 21 +++++++++++++++++
 x11-fonts/noto-serif-kannada/pkg-descr | 12 ++++++++++
 x11-fonts/noto-serif-kannada/pkg-plist |  9 ++++++++
 5 files changed, 85 insertions(+)

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 556748936e3e..b2ae33246c6b 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -241,6 +241,7 @@
     SUBDIR += noto-serif-hebrew
     SUBDIR += noto-serif-hk
     SUBDIR += noto-serif-jp
+    SUBDIR += noto-serif-kannada
     SUBDIR += noto-serif-khmer
     SUBDIR += noto-serif-kr
     SUBDIR += noto-serif-lao
diff --git a/x11-fonts/noto-serif-kannada/Makefile b/x11-fonts/noto-serif-kannada/Makefile
new file mode 100644
index 000000000000..bb3c8cbde83a
--- /dev/null
+++ b/x11-fonts/noto-serif-kannada/Makefile
@@ -0,0 +1,42 @@
+PORTNAME=	noto
+PORTVERSION=	2.005
+CATEGORIES=	x11-fonts
+MASTER_SITES=	https://github.com/notofonts/notofonts.github.io/raw/NotoSerifKannada-v${PORTVERSION}/fonts/ \
+		https://github.com/notofonts/notofonts.github.io/raw/NotoSerifKannada-v${PORTVERSION}/fonts/NotoSerifKannada/hinted/ttf/:fonts
+PKGNAMESUFFIX=	-serif-kannada
+DISTFILES=	LICENSE \
+		${FONTS:S|$|:fonts|}
+DIST_SUBDIR=	Noto/SerifKannada/${PORTVERSION}
+EXTRACT_ONLY=	# empty
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Google Noto Serif Kannada
+WWW=		https://fonts.google.com/noto \
+		https://notofonts.github.io/ \
+		https://github.com/notofonts/kannada \
+		https://github.com/notofonts/notofonts.github.io/tree/main/fonts/NotoSerifKannada
+
+LICENSE=	OFL11
+LICENSE_FILE=	${DISTDIR}/${DIST_SUBDIR}/LICENSE
+
+USES=		fonts
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+NO_WRKSUBDIR=	yes
+
+FONTS=		NotoSerifKannada-Black.ttf \
+		NotoSerifKannada-Bold.ttf \
+		NotoSerifKannada-ExtraBold.ttf \
+		NotoSerifKannada-ExtraLight.ttf \
+		NotoSerifKannada-Light.ttf \
+		NotoSerifKannada-Medium.ttf \
+		NotoSerifKannada-Regular.ttf \
+		NotoSerifKannada-SemiBold.ttf \
+		NotoSerifKannada-Thin.ttf
+
+do-install:
+	${MKDIR} ${STAGEDIR}${FONTSDIR}
+	cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${FONTS} ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/noto-serif-kannada/distinfo b/x11-fonts/noto-serif-kannada/distinfo
new file mode 100644
index 000000000000..83b4f13f2951
--- /dev/null
+++ b/x11-fonts/noto-serif-kannada/distinfo
@@ -0,0 +1,21 @@
+TIMESTAMP = 1722711117
+SHA256 (Noto/SerifKannada/2.005/LICENSE) = f2095b08bed08b23a6fe26112fcd679a2bee3f002eef077eb05d215ed1051bd8
+SIZE (Noto/SerifKannada/2.005/LICENSE) = 4374
+SHA256 (Noto/SerifKannada/2.005/NotoSerifKannada-Black.ttf) = ee843825ce17df297e89db947c299c38bef1840080838b715c8cdda82edaf0d7
+SIZE (Noto/SerifKannada/2.005/NotoSerifKannada-Black.ttf) = 189696
+SHA256 (Noto/SerifKannada/2.005/NotoSerifKannada-Bold.ttf) = 1286a1fd0bad103672bbd9783c227cf806603dd744502b706f7a01f33345e424
+SIZE (Noto/SerifKannada/2.005/NotoSerifKannada-Bold.ttf) = 180648
+SHA256 (Noto/SerifKannada/2.005/NotoSerifKannada-ExtraBold.ttf) = 5dbcfd44c908405be44ad272ac6883a2f18a284d5034b4159138c4df3d23325a
+SIZE (Noto/SerifKannada/2.005/NotoSerifKannada-ExtraBold.ttf) = 188048
+SHA256 (Noto/SerifKannada/2.005/NotoSerifKannada-ExtraLight.ttf) = d96131361a9f46eec2a752a41165d707b7d9407366e81cd5258d598747236b31
+SIZE (Noto/SerifKannada/2.005/NotoSerifKannada-ExtraLight.ttf) = 151500
+SHA256 (Noto/SerifKannada/2.005/NotoSerifKannada-Light.ttf) = 747dc8ff1fe185e0d04d40daa007f2c9ec51d2ef185b1e8af147993d281ff9a3
+SIZE (Noto/SerifKannada/2.005/NotoSerifKannada-Light.ttf) = 164904
+SHA256 (Noto/SerifKannada/2.005/NotoSerifKannada-Medium.ttf) = eee0b89898e5b1d0595116cd0a6534865c358ef1657e0965630847cd604c498b
+SIZE (Noto/SerifKannada/2.005/NotoSerifKannada-Medium.ttf) = 160580
+SHA256 (Noto/SerifKannada/2.005/NotoSerifKannada-Regular.ttf) = 95a78c95359dc59b9ec56bdc5bdf8a9642394d2ef87ded945fb3885893b3eac6
+SIZE (Noto/SerifKannada/2.005/NotoSerifKannada-Regular.ttf) = 194376
+SHA256 (Noto/SerifKannada/2.005/NotoSerifKannada-SemiBold.ttf) = f3b0295e9b54cdd9bf97dbd6ede91828e172ba04f2ac3bf7f73ed9932b6aa111
+SIZE (Noto/SerifKannada/2.005/NotoSerifKannada-SemiBold.ttf) = 169396
+SHA256 (Noto/SerifKannada/2.005/NotoSerifKannada-Thin.ttf) = 1d85b4149328b99244212c5cd30d8073fc3ab9149f04433367d975e6bbd73392
+SIZE (Noto/SerifKannada/2.005/NotoSerifKannada-Thin.ttf) = 151164
diff --git a/x11-fonts/noto-serif-kannada/pkg-descr b/x11-fonts/noto-serif-kannada/pkg-descr
new file mode 100644
index 000000000000..992b0851ac4d
--- /dev/null
+++ b/x11-fonts/noto-serif-kannada/pkg-descr
@@ -0,0 +1,12 @@
+When text is rendered by a computer, sometimes characters are displayed as
+"tofu". They are little boxes to indicate your device doesn't have a font to
+display the text.
+
+Google has been developing a font family called Noto, which aims to support all
+languages with a harmonious look and feel. Noto is Google's answer to tofu. The
+name noto is to convey the idea that Google's goal is to see no more "tofu".
+Noto has multiple styles and weights, and is freely available to all. The
+comprehensive set of fonts and tools used in our development is available in our
+GitHub repositories.
+
+This port provides the fonts set of Noto Serif Kannada.
diff --git a/x11-fonts/noto-serif-kannada/pkg-plist b/x11-fonts/noto-serif-kannada/pkg-plist
new file mode 100644
index 000000000000..2fb5769c5b4f
--- /dev/null
+++ b/x11-fonts/noto-serif-kannada/pkg-plist
@@ -0,0 +1,9 @@
+%%FONTSDIR%%/NotoSerifKannada-Black.ttf
+%%FONTSDIR%%/NotoSerifKannada-Bold.ttf
+%%FONTSDIR%%/NotoSerifKannada-ExtraBold.ttf
+%%FONTSDIR%%/NotoSerifKannada-ExtraLight.ttf
+%%FONTSDIR%%/NotoSerifKannada-Light.ttf
+%%FONTSDIR%%/NotoSerifKannada-Medium.ttf
+%%FONTSDIR%%/NotoSerifKannada-Regular.ttf
+%%FONTSDIR%%/NotoSerifKannada-SemiBold.ttf
+%%FONTSDIR%%/NotoSerifKannada-Thin.ttf