git: 1c5129c084d8 - main - x11-fonts/noto-serif-tamil: Add noto-serif-tamil 2.004

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

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

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

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

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 2642b49856a2..95f940056c9c 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -243,6 +243,7 @@
     SUBDIR += noto-serif-myanmar
     SUBDIR += noto-serif-sc
     SUBDIR += noto-serif-sinhala
+    SUBDIR += noto-serif-tamil
     SUBDIR += noto-serif-tc
     SUBDIR += noto-tc
     SUBDIR += nucleus
diff --git a/x11-fonts/noto-serif-tamil/Makefile b/x11-fonts/noto-serif-tamil/Makefile
new file mode 100644
index 000000000000..5c34d78e6f7e
--- /dev/null
+++ b/x11-fonts/noto-serif-tamil/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	noto
+PORTVERSION=	2.004
+CATEGORIES=	x11-fonts
+MASTER_SITES=	https://github.com/notofonts/tamil/releases/download/NotoSerifTamil-v${PORTVERSION}/
+PKGNAMESUFFIX=	-serif-tamil
+DISTNAME=	NotoSerifTamil-v${PORTVERSION}
+DIST_SUBDIR=	Noto
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Google Noto Serif 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}/NotoSerifTamil/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/noto-serif-tamil/distinfo b/x11-fonts/noto-serif-tamil/distinfo
new file mode 100644
index 000000000000..85b78abdd9f4
--- /dev/null
+++ b/x11-fonts/noto-serif-tamil/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1710676123
+SHA256 (Noto/NotoSerifTamil-v2.004.zip) = 96b61d2f72b8fd69adc7ef644918cdaab9dd6c83f6440587fe93e6461a0aa82c
+SIZE (Noto/NotoSerifTamil-v2.004.zip) = 17279776
diff --git a/x11-fonts/noto-serif-tamil/pkg-descr b/x11-fonts/noto-serif-tamil/pkg-descr
new file mode 100644
index 000000000000..c781fa1e39c7
--- /dev/null
+++ b/x11-fonts/noto-serif-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 Serif Tamil.
diff --git a/x11-fonts/noto-serif-tamil/pkg-plist b/x11-fonts/noto-serif-tamil/pkg-plist
new file mode 100644
index 000000000000..3202398164cc
--- /dev/null
+++ b/x11-fonts/noto-serif-tamil/pkg-plist
@@ -0,0 +1,72 @@
+%%FONTSDIR%%/NotoSerifTamil-Black.ttf
+%%FONTSDIR%%/NotoSerifTamil-BlackItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-Bold.ttf
+%%FONTSDIR%%/NotoSerifTamil-BoldItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-Condensed.ttf
+%%FONTSDIR%%/NotoSerifTamil-CondensedBlack.ttf
+%%FONTSDIR%%/NotoSerifTamil-CondensedBlackItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-CondensedBold.ttf
+%%FONTSDIR%%/NotoSerifTamil-CondensedBoldItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-CondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSerifTamil-CondensedExtraBoldItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-CondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSerifTamil-CondensedExtraLightItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-CondensedItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-CondensedLight.ttf
+%%FONTSDIR%%/NotoSerifTamil-CondensedLightItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-CondensedMedium.ttf
+%%FONTSDIR%%/NotoSerifTamil-CondensedMediumItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-CondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSerifTamil-CondensedSemiBoldItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-CondensedThin.ttf
+%%FONTSDIR%%/NotoSerifTamil-CondensedThinItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-ExtraBold.ttf
+%%FONTSDIR%%/NotoSerifTamil-ExtraBoldItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-ExtraCondensed.ttf
+%%FONTSDIR%%/NotoSerifTamil-ExtraCondensedBlack.ttf
+%%FONTSDIR%%/NotoSerifTamil-ExtraCondensedBlackItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-ExtraCondensedBold.ttf
+%%FONTSDIR%%/NotoSerifTamil-ExtraCondensedBoldItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-ExtraCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSerifTamil-ExtraCondensedExtraBoldItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-ExtraCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSerifTamil-ExtraCondensedExtraLightItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-ExtraCondensedItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-ExtraCondensedLight.ttf
+%%FONTSDIR%%/NotoSerifTamil-ExtraCondensedLightItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-ExtraCondensedMedium.ttf
+%%FONTSDIR%%/NotoSerifTamil-ExtraCondensedMediumItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-ExtraCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSerifTamil-ExtraCondensedSemiBoldItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-ExtraCondensedThin.ttf
+%%FONTSDIR%%/NotoSerifTamil-ExtraCondensedThinItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-ExtraLight.ttf
+%%FONTSDIR%%/NotoSerifTamil-ExtraLightItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-Italic.ttf
+%%FONTSDIR%%/NotoSerifTamil-Light.ttf
+%%FONTSDIR%%/NotoSerifTamil-LightItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-Medium.ttf
+%%FONTSDIR%%/NotoSerifTamil-MediumItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-Regular.ttf
+%%FONTSDIR%%/NotoSerifTamil-SemiBold.ttf
+%%FONTSDIR%%/NotoSerifTamil-SemiBoldItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-SemiCondensed.ttf
+%%FONTSDIR%%/NotoSerifTamil-SemiCondensedBlack.ttf
+%%FONTSDIR%%/NotoSerifTamil-SemiCondensedBlackItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-SemiCondensedBold.ttf
+%%FONTSDIR%%/NotoSerifTamil-SemiCondensedBoldItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-SemiCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSerifTamil-SemiCondensedExtraBoldItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-SemiCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSerifTamil-SemiCondensedExtraLightItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-SemiCondensedItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-SemiCondensedLight.ttf
+%%FONTSDIR%%/NotoSerifTamil-SemiCondensedLightItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-SemiCondensedMedium.ttf
+%%FONTSDIR%%/NotoSerifTamil-SemiCondensedMediumItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-SemiCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSerifTamil-SemiCondensedSemiBoldItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-SemiCondensedThin.ttf
+%%FONTSDIR%%/NotoSerifTamil-SemiCondensedThinItalic.ttf
+%%FONTSDIR%%/NotoSerifTamil-Thin.ttf
+%%FONTSDIR%%/NotoSerifTamil-ThinItalic.ttf