git: b0f73e03dc48 - main - x11-fonts/noto-sans-bengali: Add noto-sans-bengali 2.003

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

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

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

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

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index e875f15ca045..ba5336fb73a6 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -198,6 +198,7 @@
     SUBDIR += noto-sans-arabic
     SUBDIR += noto-sans-armenian
     SUBDIR += noto-sans-basic
+    SUBDIR += noto-sans-bengali
     SUBDIR += noto-sans-hk
     SUBDIR += noto-sans-jp
     SUBDIR += noto-sans-kr
diff --git a/x11-fonts/noto-sans-bengali/Makefile b/x11-fonts/noto-sans-bengali/Makefile
new file mode 100644
index 000000000000..0216dac6cf67
--- /dev/null
+++ b/x11-fonts/noto-sans-bengali/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	noto
+PORTVERSION=	2.003
+CATEGORIES=	x11-fonts
+MASTER_SITES=	https://github.com/notofonts/bengali/releases/download/NotoSansBengali-v${PORTVERSION}/
+PKGNAMESUFFIX=	-sans-bengali
+DISTNAME=	NotoSansBengali-v${PORTVERSION}
+DIST_SUBDIR=	Noto
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Google Noto Sans 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}/NotoSansBengali/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/noto-sans-bengali/distinfo b/x11-fonts/noto-sans-bengali/distinfo
new file mode 100644
index 000000000000..c9404164b14e
--- /dev/null
+++ b/x11-fonts/noto-sans-bengali/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1710676065
+SHA256 (Noto/NotoSansBengali-v2.003.zip) = ef77468dde71109279c1a62c05cf115d4fb36465dd65ee0cd8482d7c9e821e37
+SIZE (Noto/NotoSansBengali-v2.003.zip) = 14125621
diff --git a/x11-fonts/noto-sans-bengali/pkg-descr b/x11-fonts/noto-sans-bengali/pkg-descr
new file mode 100644
index 000000000000..aa3c37fe60a8
--- /dev/null
+++ b/x11-fonts/noto-sans-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 Sans Bengali.
diff --git a/x11-fonts/noto-sans-bengali/pkg-plist b/x11-fonts/noto-sans-bengali/pkg-plist
new file mode 100644
index 000000000000..d4c2005bd6a9
--- /dev/null
+++ b/x11-fonts/noto-sans-bengali/pkg-plist
@@ -0,0 +1,24 @@
+%%FONTSDIR%%/NotoSansBengali-Black.ttf
+%%FONTSDIR%%/NotoSansBengali-Bold.ttf
+%%FONTSDIR%%/NotoSansBengali-Condensed.ttf
+%%FONTSDIR%%/NotoSansBengali-ExtraBold.ttf
+%%FONTSDIR%%/NotoSansBengali-ExtraCondensed.ttf
+%%FONTSDIR%%/NotoSansBengali-ExtraLight.ttf
+%%FONTSDIR%%/NotoSansBengali-Light.ttf
+%%FONTSDIR%%/NotoSansBengali-Medium.ttf
+%%FONTSDIR%%/NotoSansBengali-Regular.ttf
+%%FONTSDIR%%/NotoSansBengali-SemiBold.ttf
+%%FONTSDIR%%/NotoSansBengali-SemiCondensed.ttf
+%%FONTSDIR%%/NotoSansBengali-Thin.ttf
+%%FONTSDIR%%/NotoSansBengaliUI-Black.ttf
+%%FONTSDIR%%/NotoSansBengaliUI-Bold.ttf
+%%FONTSDIR%%/NotoSansBengaliUI-Condensed.ttf
+%%FONTSDIR%%/NotoSansBengaliUI-ExtraBold.ttf
+%%FONTSDIR%%/NotoSansBengaliUI-ExtraCondensed.ttf
+%%FONTSDIR%%/NotoSansBengaliUI-ExtraLight.ttf
+%%FONTSDIR%%/NotoSansBengaliUI-Light.ttf
+%%FONTSDIR%%/NotoSansBengaliUI-Medium.ttf
+%%FONTSDIR%%/NotoSansBengaliUI-Regular.ttf
+%%FONTSDIR%%/NotoSansBengaliUI-SemiBold.ttf
+%%FONTSDIR%%/NotoSansBengaliUI-SemiCondensed.ttf
+%%FONTSDIR%%/NotoSansBengaliUI-Thin.ttf