git: 09729d4f9042 - main - x11-fonts/noto-sans-tamil: Add noto-sans-tamil 2.004

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

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

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

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

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 2cb6af1dfd60..15d7d036c0c0 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -221,6 +221,7 @@
     SUBDIR += noto-sans-symbols-basic
     SUBDIR += noto-sans-symbols-extra
     SUBDIR += noto-sans-symbols2
+    SUBDIR += noto-sans-tamil
     SUBDIR += noto-sans-tc
     SUBDIR += noto-sans-telugu
     SUBDIR += noto-sans-thai
diff --git a/x11-fonts/noto-sans-tamil/Makefile b/x11-fonts/noto-sans-tamil/Makefile
new file mode 100644
index 000000000000..04ef622ddb6e
--- /dev/null
+++ b/x11-fonts/noto-sans-tamil/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	noto
+PORTVERSION=	2.004
+CATEGORIES=	x11-fonts
+MASTER_SITES=	https://github.com/notofonts/tamil/releases/download/NotoSansTamil-v${PORTVERSION}/
+PKGNAMESUFFIX=	-sans-tamil
+DISTNAME=	NotoSansTamil-v${PORTVERSION}
+DIST_SUBDIR=	Noto
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Google Noto Sans Tamil
+WWW=		https://fonts.google.com/noto \
+		https://notofonts.github.io/ \
+		https://github.com/notofonts/tamil
+
+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}/NotoSansTamil/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/noto-sans-tamil/distinfo b/x11-fonts/noto-sans-tamil/distinfo
new file mode 100644
index 000000000000..a0827db60a1f
--- /dev/null
+++ b/x11-fonts/noto-sans-tamil/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1710676097
+SHA256 (Noto/NotoSansTamil-v2.004.zip) = f8284e0f200a7f29a439b4ec88280d864b2b31f8479111c5b658ba6da38b3005
+SIZE (Noto/NotoSansTamil-v2.004.zip) = 15229102
diff --git a/x11-fonts/noto-sans-tamil/pkg-descr b/x11-fonts/noto-sans-tamil/pkg-descr
new file mode 100644
index 000000000000..d736daf94a7a
--- /dev/null
+++ b/x11-fonts/noto-sans-tamil/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 Tamil.
diff --git a/x11-fonts/noto-sans-tamil/pkg-plist b/x11-fonts/noto-sans-tamil/pkg-plist
new file mode 100644
index 000000000000..ebf5f8a27828
--- /dev/null
+++ b/x11-fonts/noto-sans-tamil/pkg-plist
@@ -0,0 +1,72 @@
+%%FONTSDIR%%/NotoSansTamil-Black.ttf
+%%FONTSDIR%%/NotoSansTamil-Bold.ttf
+%%FONTSDIR%%/NotoSansTamil-Condensed.ttf
+%%FONTSDIR%%/NotoSansTamil-CondensedBlack.ttf
+%%FONTSDIR%%/NotoSansTamil-CondensedBold.ttf
+%%FONTSDIR%%/NotoSansTamil-CondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSansTamil-CondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSansTamil-CondensedLight.ttf
+%%FONTSDIR%%/NotoSansTamil-CondensedMedium.ttf
+%%FONTSDIR%%/NotoSansTamil-CondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSansTamil-CondensedThin.ttf
+%%FONTSDIR%%/NotoSansTamil-ExtraBold.ttf
+%%FONTSDIR%%/NotoSansTamil-ExtraCondensed.ttf
+%%FONTSDIR%%/NotoSansTamil-ExtraCondensedBlack.ttf
+%%FONTSDIR%%/NotoSansTamil-ExtraCondensedBold.ttf
+%%FONTSDIR%%/NotoSansTamil-ExtraCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSansTamil-ExtraCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSansTamil-ExtraCondensedLight.ttf
+%%FONTSDIR%%/NotoSansTamil-ExtraCondensedMedium.ttf
+%%FONTSDIR%%/NotoSansTamil-ExtraCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSansTamil-ExtraCondensedThin.ttf
+%%FONTSDIR%%/NotoSansTamil-ExtraLight.ttf
+%%FONTSDIR%%/NotoSansTamil-Light.ttf
+%%FONTSDIR%%/NotoSansTamil-Medium.ttf
+%%FONTSDIR%%/NotoSansTamil-Regular.ttf
+%%FONTSDIR%%/NotoSansTamil-SemiBold.ttf
+%%FONTSDIR%%/NotoSansTamil-SemiCondensed.ttf
+%%FONTSDIR%%/NotoSansTamil-SemiCondensedBlack.ttf
+%%FONTSDIR%%/NotoSansTamil-SemiCondensedBold.ttf
+%%FONTSDIR%%/NotoSansTamil-SemiCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSansTamil-SemiCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSansTamil-SemiCondensedLight.ttf
+%%FONTSDIR%%/NotoSansTamil-SemiCondensedMedium.ttf
+%%FONTSDIR%%/NotoSansTamil-SemiCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSansTamil-SemiCondensedThin.ttf
+%%FONTSDIR%%/NotoSansTamil-Thin.ttf
+%%FONTSDIR%%/NotoSansTamilUI-Black.ttf
+%%FONTSDIR%%/NotoSansTamilUI-Bold.ttf
+%%FONTSDIR%%/NotoSansTamilUI-Condensed.ttf
+%%FONTSDIR%%/NotoSansTamilUI-CondensedBlack.ttf
+%%FONTSDIR%%/NotoSansTamilUI-CondensedBold.ttf
+%%FONTSDIR%%/NotoSansTamilUI-CondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSansTamilUI-CondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSansTamilUI-CondensedLight.ttf
+%%FONTSDIR%%/NotoSansTamilUI-CondensedMedium.ttf
+%%FONTSDIR%%/NotoSansTamilUI-CondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSansTamilUI-CondensedThin.ttf
+%%FONTSDIR%%/NotoSansTamilUI-ExtraBold.ttf
+%%FONTSDIR%%/NotoSansTamilUI-ExtraCondensed.ttf
+%%FONTSDIR%%/NotoSansTamilUI-ExtraCondensedBlack.ttf
+%%FONTSDIR%%/NotoSansTamilUI-ExtraCondensedBold.ttf
+%%FONTSDIR%%/NotoSansTamilUI-ExtraCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSansTamilUI-ExtraCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSansTamilUI-ExtraCondensedLight.ttf
+%%FONTSDIR%%/NotoSansTamilUI-ExtraCondensedMedium.ttf
+%%FONTSDIR%%/NotoSansTamilUI-ExtraCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSansTamilUI-ExtraCondensedThin.ttf
+%%FONTSDIR%%/NotoSansTamilUI-ExtraLight.ttf
+%%FONTSDIR%%/NotoSansTamilUI-Light.ttf
+%%FONTSDIR%%/NotoSansTamilUI-Medium.ttf
+%%FONTSDIR%%/NotoSansTamilUI-Regular.ttf
+%%FONTSDIR%%/NotoSansTamilUI-SemiBold.ttf
+%%FONTSDIR%%/NotoSansTamilUI-SemiCondensed.ttf
+%%FONTSDIR%%/NotoSansTamilUI-SemiCondensedBlack.ttf
+%%FONTSDIR%%/NotoSansTamilUI-SemiCondensedBold.ttf
+%%FONTSDIR%%/NotoSansTamilUI-SemiCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSansTamilUI-SemiCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSansTamilUI-SemiCondensedLight.ttf
+%%FONTSDIR%%/NotoSansTamilUI-SemiCondensedMedium.ttf
+%%FONTSDIR%%/NotoSansTamilUI-SemiCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSansTamilUI-SemiCondensedThin.ttf
+%%FONTSDIR%%/NotoSansTamilUI-Thin.ttf