git: 9eee1b96f853 - main - x11-fonts/noto-serif-sinhala: Add noto-serif-sinhala 2.007

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

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

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

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 32672e7e8ada..2642b49856a2 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -242,6 +242,7 @@
     SUBDIR += noto-serif-lao
     SUBDIR += noto-serif-myanmar
     SUBDIR += noto-serif-sc
+    SUBDIR += noto-serif-sinhala
     SUBDIR += noto-serif-tc
     SUBDIR += noto-tc
     SUBDIR += nucleus
diff --git a/x11-fonts/noto-serif-sinhala/Makefile b/x11-fonts/noto-serif-sinhala/Makefile
new file mode 100644
index 000000000000..5fecc0e97a81
--- /dev/null
+++ b/x11-fonts/noto-serif-sinhala/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	noto
+PORTVERSION=	2.007
+CATEGORIES=	x11-fonts
+MASTER_SITES=	https://github.com/notofonts/sinhala/releases/download/NotoSerifSinhala-v${PORTVERSION}/
+PKGNAMESUFFIX=	-serif-sinhala
+DISTNAME=	NotoSerifSinhala-v${PORTVERSION}
+DIST_SUBDIR=	Noto
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Google Noto Serif Sinhala
+WWW=		https://fonts.google.com/noto \
+		https://notofonts.github.io/ \
+		https://github.com/notofonts/sinhala
+
+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}/NotoSerifSinhala/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/noto-serif-sinhala/distinfo b/x11-fonts/noto-serif-sinhala/distinfo
new file mode 100644
index 000000000000..93255621ae5a
--- /dev/null
+++ b/x11-fonts/noto-serif-sinhala/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1710676121
+SHA256 (Noto/NotoSerifSinhala-v2.007.zip) = 654f7e394fc80f61667529582b16c5036b762e786741c398f1c359e332dd66a7
+SIZE (Noto/NotoSerifSinhala-v2.007.zip) = 20462657
diff --git a/x11-fonts/noto-serif-sinhala/pkg-descr b/x11-fonts/noto-serif-sinhala/pkg-descr
new file mode 100644
index 000000000000..e954d5cd5657
--- /dev/null
+++ b/x11-fonts/noto-serif-sinhala/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 Sinhala.
diff --git a/x11-fonts/noto-serif-sinhala/pkg-plist b/x11-fonts/noto-serif-sinhala/pkg-plist
new file mode 100644
index 000000000000..9853dfa44e58
--- /dev/null
+++ b/x11-fonts/noto-serif-sinhala/pkg-plist
@@ -0,0 +1,36 @@
+%%FONTSDIR%%/NotoSerifSinhala-Black.ttf
+%%FONTSDIR%%/NotoSerifSinhala-Bold.ttf
+%%FONTSDIR%%/NotoSerifSinhala-Condensed.ttf
+%%FONTSDIR%%/NotoSerifSinhala-CondensedBlack.ttf
+%%FONTSDIR%%/NotoSerifSinhala-CondensedBold.ttf
+%%FONTSDIR%%/NotoSerifSinhala-CondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSerifSinhala-CondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSerifSinhala-CondensedLight.ttf
+%%FONTSDIR%%/NotoSerifSinhala-CondensedMedium.ttf
+%%FONTSDIR%%/NotoSerifSinhala-CondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSerifSinhala-CondensedThin.ttf
+%%FONTSDIR%%/NotoSerifSinhala-ExtraBold.ttf
+%%FONTSDIR%%/NotoSerifSinhala-ExtraCondensed.ttf
+%%FONTSDIR%%/NotoSerifSinhala-ExtraCondensedBlack.ttf
+%%FONTSDIR%%/NotoSerifSinhala-ExtraCondensedBold.ttf
+%%FONTSDIR%%/NotoSerifSinhala-ExtraCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSerifSinhala-ExtraCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSerifSinhala-ExtraCondensedLight.ttf
+%%FONTSDIR%%/NotoSerifSinhala-ExtraCondensedMedium.ttf
+%%FONTSDIR%%/NotoSerifSinhala-ExtraCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSerifSinhala-ExtraCondensedThin.ttf
+%%FONTSDIR%%/NotoSerifSinhala-ExtraLight.ttf
+%%FONTSDIR%%/NotoSerifSinhala-Light.ttf
+%%FONTSDIR%%/NotoSerifSinhala-Medium.ttf
+%%FONTSDIR%%/NotoSerifSinhala-Regular.ttf
+%%FONTSDIR%%/NotoSerifSinhala-SemiBold.ttf
+%%FONTSDIR%%/NotoSerifSinhala-SemiCondensed.ttf
+%%FONTSDIR%%/NotoSerifSinhala-SemiCondensedBlack.ttf
+%%FONTSDIR%%/NotoSerifSinhala-SemiCondensedBold.ttf
+%%FONTSDIR%%/NotoSerifSinhala-SemiCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSerifSinhala-SemiCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSerifSinhala-SemiCondensedLight.ttf
+%%FONTSDIR%%/NotoSerifSinhala-SemiCondensedMedium.ttf
+%%FONTSDIR%%/NotoSerifSinhala-SemiCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSerifSinhala-SemiCondensedThin.ttf
+%%FONTSDIR%%/NotoSerifSinhala-Thin.ttf