git: 8b678d4a6367 - main - x11-fonts/noto-serif-devanagari: Add noto-serif-devanagari 2.004

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

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

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

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

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 94bc784d50cd..b05733d57994 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -229,6 +229,7 @@
     SUBDIR += noto-serif-armenian
     SUBDIR += noto-serif-basic
     SUBDIR += noto-serif-bengali
+    SUBDIR += noto-serif-devanagari
     SUBDIR += noto-serif-hk
     SUBDIR += noto-serif-jp
     SUBDIR += noto-serif-kr
diff --git a/x11-fonts/noto-serif-devanagari/Makefile b/x11-fonts/noto-serif-devanagari/Makefile
new file mode 100644
index 000000000000..beb00a943c48
--- /dev/null
+++ b/x11-fonts/noto-serif-devanagari/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	noto
+PORTVERSION=	2.004
+CATEGORIES=	x11-fonts
+MASTER_SITES=	https://github.com/notofonts/devanagari/releases/download/NotoSerifDevanagari-v${PORTVERSION}/
+PKGNAMESUFFIX=	-serif-devanagari
+DISTNAME=	NotoSerifDevanagari-v${PORTVERSION}
+DIST_SUBDIR=	Noto
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Google Noto Serif Devanagari
+WWW=		https://fonts.google.com/noto \
+		https://notofonts.github.io/ \
+		https://github.com/notofonts/devanagari
+
+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}/NotoSerifDevanagari/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/noto-serif-devanagari/distinfo b/x11-fonts/noto-serif-devanagari/distinfo
new file mode 100644
index 000000000000..0e2c1ee27b84
--- /dev/null
+++ b/x11-fonts/noto-serif-devanagari/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1710676105
+SHA256 (Noto/NotoSerifDevanagari-v2.004.zip) = a4d70597e72911f6c67b21ab33dee0b1a7ec39c35f19580094b7d6cab998b4b0
+SIZE (Noto/NotoSerifDevanagari-v2.004.zip) = 21556434
diff --git a/x11-fonts/noto-serif-devanagari/pkg-descr b/x11-fonts/noto-serif-devanagari/pkg-descr
new file mode 100644
index 000000000000..f2d8e8180c53
--- /dev/null
+++ b/x11-fonts/noto-serif-devanagari/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 Devanagari.
diff --git a/x11-fonts/noto-serif-devanagari/pkg-plist b/x11-fonts/noto-serif-devanagari/pkg-plist
new file mode 100644
index 000000000000..681b2ead38e3
--- /dev/null
+++ b/x11-fonts/noto-serif-devanagari/pkg-plist
@@ -0,0 +1,36 @@
+%%FONTSDIR%%/NotoSerifDevanagari-Black.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-Bold.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-Condensed.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-CondensedBlack.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-CondensedBold.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-CondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-CondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-CondensedLight.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-CondensedMedium.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-CondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-CondensedThin.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-ExtraBold.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-ExtraCondensed.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-ExtraCondensedBlack.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-ExtraCondensedBold.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-ExtraCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-ExtraCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-ExtraCondensedLight.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-ExtraCondensedMedium.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-ExtraCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-ExtraCondensedThin.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-ExtraLight.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-Light.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-Medium.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-Regular.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-SemiBold.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-SemiCondensed.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-SemiCondensedBlack.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-SemiCondensedBold.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-SemiCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-SemiCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-SemiCondensedLight.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-SemiCondensedMedium.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-SemiCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-SemiCondensedThin.ttf
+%%FONTSDIR%%/NotoSerifDevanagari-Thin.ttf