git: 616be358b9d7 - main - x11-fonts/noto-sans-telugu: Add noto-sans-telugu 2.005

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 23 Mar 2024 15:12:30 UTC
The branch main has been updated by sunpoet:

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

commit 616be358b9d7ba2525e62ff69cba8a6e95cdcb89
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-23 15:10:39 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-23 15:10:39 +0000

    x11-fonts/noto-sans-telugu: Add noto-sans-telugu 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 Sans Telugu.
---
 x11-fonts/Makefile                   |  1 +
 x11-fonts/noto-sans-telugu/Makefile  | 28 ++++++++++++++
 x11-fonts/noto-sans-telugu/distinfo  |  3 ++
 x11-fonts/noto-sans-telugu/pkg-descr | 12 ++++++
 x11-fonts/noto-sans-telugu/pkg-plist | 72 ++++++++++++++++++++++++++++++++++++
 5 files changed, 116 insertions(+)

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 792d14bd82ef..1d13b11ba236 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -222,6 +222,7 @@
     SUBDIR += noto-sans-symbols-extra
     SUBDIR += noto-sans-symbols2
     SUBDIR += noto-sans-tc
+    SUBDIR += noto-sans-telugu
     SUBDIR += noto-sc
     SUBDIR += noto-serif-hk
     SUBDIR += noto-serif-jp
diff --git a/x11-fonts/noto-sans-telugu/Makefile b/x11-fonts/noto-sans-telugu/Makefile
new file mode 100644
index 000000000000..484b0f8b7a61
--- /dev/null
+++ b/x11-fonts/noto-sans-telugu/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	noto
+PORTVERSION=	2.005
+CATEGORIES=	x11-fonts
+MASTER_SITES=	https://github.com/notofonts/telugu/releases/download/NotoSansTelugu-v${PORTVERSION}/
+PKGNAMESUFFIX=	-sans-telugu
+DISTNAME=	NotoSansTelugu-v${PORTVERSION}
+DIST_SUBDIR=	Noto
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Google Noto Sans Telugu
+WWW=		https://fonts.google.com/noto \
+		https://notofonts.github.io/ \
+		https://github.com/notofonts/telugu
+
+LICENSE=	OFL11
+LICENSE_FILE=	${WRKSRC}/OFL.txt
+
+USES=		fonts zip
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+NO_WRKSUBDIR=	yes
+
+do-install:
+	${MKDIR} ${STAGEDIR}${FONTSDIR}
+	${INSTALL_DATA} ${WRKSRC}/NotoSansTelugu/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/noto-sans-telugu/distinfo b/x11-fonts/noto-sans-telugu/distinfo
new file mode 100644
index 000000000000..f15ac8ef1b53
--- /dev/null
+++ b/x11-fonts/noto-sans-telugu/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1710676093
+SHA256 (Noto/NotoSansTelugu-v2.005.zip) = 3553e00ca341dc06f4a143c604dd93a1342553169b5a06dc8b0ff50ab6eba0a2
+SIZE (Noto/NotoSansTelugu-v2.005.zip) = 34749676
diff --git a/x11-fonts/noto-sans-telugu/pkg-descr b/x11-fonts/noto-sans-telugu/pkg-descr
new file mode 100644
index 000000000000..132471538226
--- /dev/null
+++ b/x11-fonts/noto-sans-telugu/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 Sans Telugu.
diff --git a/x11-fonts/noto-sans-telugu/pkg-plist b/x11-fonts/noto-sans-telugu/pkg-plist
new file mode 100644
index 000000000000..aeaab418391d
--- /dev/null
+++ b/x11-fonts/noto-sans-telugu/pkg-plist
@@ -0,0 +1,72 @@
+%%FONTSDIR%%/NotoSansTelugu-Black.ttf
+%%FONTSDIR%%/NotoSansTelugu-Bold.ttf
+%%FONTSDIR%%/NotoSansTelugu-Condensed.ttf
+%%FONTSDIR%%/NotoSansTelugu-CondensedBlack.ttf
+%%FONTSDIR%%/NotoSansTelugu-CondensedBold.ttf
+%%FONTSDIR%%/NotoSansTelugu-CondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSansTelugu-CondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSansTelugu-CondensedLight.ttf
+%%FONTSDIR%%/NotoSansTelugu-CondensedMedium.ttf
+%%FONTSDIR%%/NotoSansTelugu-CondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSansTelugu-CondensedThin.ttf
+%%FONTSDIR%%/NotoSansTelugu-ExtraBold.ttf
+%%FONTSDIR%%/NotoSansTelugu-ExtraCondensed.ttf
+%%FONTSDIR%%/NotoSansTelugu-ExtraCondensedBlack.ttf
+%%FONTSDIR%%/NotoSansTelugu-ExtraCondensedBold.ttf
+%%FONTSDIR%%/NotoSansTelugu-ExtraCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSansTelugu-ExtraCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSansTelugu-ExtraCondensedLight.ttf
+%%FONTSDIR%%/NotoSansTelugu-ExtraCondensedMedium.ttf
+%%FONTSDIR%%/NotoSansTelugu-ExtraCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSansTelugu-ExtraCondensedThin.ttf
+%%FONTSDIR%%/NotoSansTelugu-ExtraLight.ttf
+%%FONTSDIR%%/NotoSansTelugu-Light.ttf
+%%FONTSDIR%%/NotoSansTelugu-Medium.ttf
+%%FONTSDIR%%/NotoSansTelugu-Regular.ttf
+%%FONTSDIR%%/NotoSansTelugu-SemiBold.ttf
+%%FONTSDIR%%/NotoSansTelugu-SemiCondensed.ttf
+%%FONTSDIR%%/NotoSansTelugu-SemiCondensedBlack.ttf
+%%FONTSDIR%%/NotoSansTelugu-SemiCondensedBold.ttf
+%%FONTSDIR%%/NotoSansTelugu-SemiCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSansTelugu-SemiCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSansTelugu-SemiCondensedLight.ttf
+%%FONTSDIR%%/NotoSansTelugu-SemiCondensedMedium.ttf
+%%FONTSDIR%%/NotoSansTelugu-SemiCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSansTelugu-SemiCondensedThin.ttf
+%%FONTSDIR%%/NotoSansTelugu-Thin.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-Black.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-Bold.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-Condensed.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-CondensedBlack.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-CondensedBold.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-CondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-CondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-CondensedLight.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-CondensedMedium.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-CondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-CondensedThin.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-ExtraBold.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-ExtraCondensed.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-ExtraCondensedBlack.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-ExtraCondensedBold.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-ExtraCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-ExtraCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-ExtraCondensedLight.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-ExtraCondensedMedium.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-ExtraCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-ExtraCondensedThin.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-ExtraLight.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-Light.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-Medium.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-Regular.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-SemiBold.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-SemiCondensed.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-SemiCondensedBlack.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-SemiCondensedBold.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-SemiCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-SemiCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-SemiCondensedLight.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-SemiCondensedMedium.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-SemiCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-SemiCondensedThin.ttf
+%%FONTSDIR%%/NotoSansTeluguUI-Thin.ttf