git: 3376862dbfae - main - x11-fonts/noto-serif-bengali: Add noto-serif-bengali 2.003

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

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

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

    x11-fonts/noto-serif-bengali: Add noto-serif-bengali 2.003
    
    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 Bengali.
---
 x11-fonts/Makefile                     |  1 +
 x11-fonts/noto-serif-bengali/Makefile  | 28 ++++++++++++++++++++++++++
 x11-fonts/noto-serif-bengali/distinfo  |  3 +++
 x11-fonts/noto-serif-bengali/pkg-descr | 12 ++++++++++++
 x11-fonts/noto-serif-bengali/pkg-plist | 36 ++++++++++++++++++++++++++++++++++
 5 files changed, 80 insertions(+)

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 283c99d8f2fa..c83d2c4b3109 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -227,6 +227,7 @@
     SUBDIR += noto-sans-thai
     SUBDIR += noto-sc
     SUBDIR += noto-serif-basic
+    SUBDIR += noto-serif-bengali
     SUBDIR += noto-serif-hk
     SUBDIR += noto-serif-jp
     SUBDIR += noto-serif-kr
diff --git a/x11-fonts/noto-serif-bengali/Makefile b/x11-fonts/noto-serif-bengali/Makefile
new file mode 100644
index 000000000000..ef4f1138c63b
--- /dev/null
+++ b/x11-fonts/noto-serif-bengali/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	noto
+PORTVERSION=	2.003
+CATEGORIES=	x11-fonts
+MASTER_SITES=	https://github.com/notofonts/bengali/releases/download/NotoSerifBengali-v${PORTVERSION}/
+PKGNAMESUFFIX=	-serif-bengali
+DISTNAME=	NotoSerifBengali-v${PORTVERSION}
+DIST_SUBDIR=	Noto
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Google Noto Serif Bengali
+WWW=		https://fonts.google.com/noto \
+		https://notofonts.github.io/ \
+		https://github.com/notofonts/bengali
+
+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}/NotoSerifBengali/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/noto-serif-bengali/distinfo b/x11-fonts/noto-serif-bengali/distinfo
new file mode 100644
index 000000000000..9bb8e67a5293
--- /dev/null
+++ b/x11-fonts/noto-serif-bengali/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1710676101
+SHA256 (Noto/NotoSerifBengali-v2.003.zip) = 07f6fc8b2d03aeb1d21b0f7ea71fcf20b8853c42d9f5d89d06c29809813da616
+SIZE (Noto/NotoSerifBengali-v2.003.zip) = 26111417
diff --git a/x11-fonts/noto-serif-bengali/pkg-descr b/x11-fonts/noto-serif-bengali/pkg-descr
new file mode 100644
index 000000000000..1f8b28ca1598
--- /dev/null
+++ b/x11-fonts/noto-serif-bengali/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 Bengali.
diff --git a/x11-fonts/noto-serif-bengali/pkg-plist b/x11-fonts/noto-serif-bengali/pkg-plist
new file mode 100644
index 000000000000..7cca670948ad
--- /dev/null
+++ b/x11-fonts/noto-serif-bengali/pkg-plist
@@ -0,0 +1,36 @@
+%%FONTSDIR%%/NotoSerifBengali-Black.ttf
+%%FONTSDIR%%/NotoSerifBengali-Bold.ttf
+%%FONTSDIR%%/NotoSerifBengali-Condensed.ttf
+%%FONTSDIR%%/NotoSerifBengali-CondensedBlack.ttf
+%%FONTSDIR%%/NotoSerifBengali-CondensedBold.ttf
+%%FONTSDIR%%/NotoSerifBengali-CondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSerifBengali-CondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSerifBengali-CondensedLight.ttf
+%%FONTSDIR%%/NotoSerifBengali-CondensedMedium.ttf
+%%FONTSDIR%%/NotoSerifBengali-CondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSerifBengali-CondensedThin.ttf
+%%FONTSDIR%%/NotoSerifBengali-ExtraBold.ttf
+%%FONTSDIR%%/NotoSerifBengali-ExtraCondensed.ttf
+%%FONTSDIR%%/NotoSerifBengali-ExtraCondensedBlack.ttf
+%%FONTSDIR%%/NotoSerifBengali-ExtraCondensedBold.ttf
+%%FONTSDIR%%/NotoSerifBengali-ExtraCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSerifBengali-ExtraCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSerifBengali-ExtraCondensedLight.ttf
+%%FONTSDIR%%/NotoSerifBengali-ExtraCondensedMedium.ttf
+%%FONTSDIR%%/NotoSerifBengali-ExtraCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSerifBengali-ExtraCondensedThin.ttf
+%%FONTSDIR%%/NotoSerifBengali-ExtraLight.ttf
+%%FONTSDIR%%/NotoSerifBengali-Light.ttf
+%%FONTSDIR%%/NotoSerifBengali-Medium.ttf
+%%FONTSDIR%%/NotoSerifBengali-Regular.ttf
+%%FONTSDIR%%/NotoSerifBengali-SemiBold.ttf
+%%FONTSDIR%%/NotoSerifBengali-SemiCondensed.ttf
+%%FONTSDIR%%/NotoSerifBengali-SemiCondensedBlack.ttf
+%%FONTSDIR%%/NotoSerifBengali-SemiCondensedBold.ttf
+%%FONTSDIR%%/NotoSerifBengali-SemiCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSerifBengali-SemiCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSerifBengali-SemiCondensedLight.ttf
+%%FONTSDIR%%/NotoSerifBengali-SemiCondensedMedium.ttf
+%%FONTSDIR%%/NotoSerifBengali-SemiCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSerifBengali-SemiCondensedThin.ttf
+%%FONTSDIR%%/NotoSerifBengali-Thin.ttf