git: bd8e9d759a11 - main - x11-fonts/noto-sans-hebrew: Add noto-sans-hebrew 2.003

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

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

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

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

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 7780a51d5ace..35758bd7538c 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -205,6 +205,7 @@
     SUBDIR += noto-sans-ethiopic
     SUBDIR += noto-sans-extra
     SUBDIR += noto-sans-georgian
+    SUBDIR += noto-sans-hebrew
     SUBDIR += noto-sans-hk
     SUBDIR += noto-sans-jp
     SUBDIR += noto-sans-kr
diff --git a/x11-fonts/noto-sans-hebrew/Makefile b/x11-fonts/noto-sans-hebrew/Makefile
new file mode 100644
index 000000000000..923db9931ac8
--- /dev/null
+++ b/x11-fonts/noto-sans-hebrew/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	noto
+PORTVERSION=	2.003
+CATEGORIES=	x11-fonts
+MASTER_SITES=	https://github.com/notofonts/hebrew/releases/download/NotoSansHebrew-v${PORTVERSION}/
+PKGNAMESUFFIX=	-sans-hebrew
+DISTNAME=	NotoSansHebrew-v${PORTVERSION}
+DIST_SUBDIR=	Noto
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Google Noto Sans Hebrew
+WWW=		https://fonts.google.com/noto \
+		https://notofonts.github.io/ \
+		https://github.com/notofonts/hebrew
+
+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}/NotoSansHebrew/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/noto-sans-hebrew/distinfo b/x11-fonts/noto-sans-hebrew/distinfo
new file mode 100644
index 000000000000..a8eeac5bfe60
--- /dev/null
+++ b/x11-fonts/noto-sans-hebrew/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1710676077
+SHA256 (Noto/NotoSansHebrew-v2.003.zip) = ded809309ff924bc45834bf19afaa5693cadf17580972468f6041f5e599ddb8a
+SIZE (Noto/NotoSansHebrew-v2.003.zip) = 3855046
diff --git a/x11-fonts/noto-sans-hebrew/pkg-descr b/x11-fonts/noto-sans-hebrew/pkg-descr
new file mode 100644
index 000000000000..bb6885956810
--- /dev/null
+++ b/x11-fonts/noto-sans-hebrew/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 Hebrew.
diff --git a/x11-fonts/noto-sans-hebrew/pkg-plist b/x11-fonts/noto-sans-hebrew/pkg-plist
new file mode 100644
index 000000000000..ae97c85b4e93
--- /dev/null
+++ b/x11-fonts/noto-sans-hebrew/pkg-plist
@@ -0,0 +1,36 @@
+%%FONTSDIR%%/NotoSansHebrew-Black.ttf
+%%FONTSDIR%%/NotoSansHebrew-Bold.ttf
+%%FONTSDIR%%/NotoSansHebrew-Condensed.ttf
+%%FONTSDIR%%/NotoSansHebrew-CondensedBlack.ttf
+%%FONTSDIR%%/NotoSansHebrew-CondensedBold.ttf
+%%FONTSDIR%%/NotoSansHebrew-CondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSansHebrew-CondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSansHebrew-CondensedLight.ttf
+%%FONTSDIR%%/NotoSansHebrew-CondensedMedium.ttf
+%%FONTSDIR%%/NotoSansHebrew-CondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSansHebrew-CondensedThin.ttf
+%%FONTSDIR%%/NotoSansHebrew-ExtraBold.ttf
+%%FONTSDIR%%/NotoSansHebrew-ExtraCondensed.ttf
+%%FONTSDIR%%/NotoSansHebrew-ExtraCondensedBlack.ttf
+%%FONTSDIR%%/NotoSansHebrew-ExtraCondensedBold.ttf
+%%FONTSDIR%%/NotoSansHebrew-ExtraCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSansHebrew-ExtraCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSansHebrew-ExtraCondensedLight.ttf
+%%FONTSDIR%%/NotoSansHebrew-ExtraCondensedMedium.ttf
+%%FONTSDIR%%/NotoSansHebrew-ExtraCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSansHebrew-ExtraCondensedThin.ttf
+%%FONTSDIR%%/NotoSansHebrew-ExtraLight.ttf
+%%FONTSDIR%%/NotoSansHebrew-Light.ttf
+%%FONTSDIR%%/NotoSansHebrew-Medium.ttf
+%%FONTSDIR%%/NotoSansHebrew-Regular.ttf
+%%FONTSDIR%%/NotoSansHebrew-SemiBold.ttf
+%%FONTSDIR%%/NotoSansHebrew-SemiCondensed.ttf
+%%FONTSDIR%%/NotoSansHebrew-SemiCondensedBlack.ttf
+%%FONTSDIR%%/NotoSansHebrew-SemiCondensedBold.ttf
+%%FONTSDIR%%/NotoSansHebrew-SemiCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSansHebrew-SemiCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSansHebrew-SemiCondensedLight.ttf
+%%FONTSDIR%%/NotoSansHebrew-SemiCondensedMedium.ttf
+%%FONTSDIR%%/NotoSansHebrew-SemiCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSansHebrew-SemiCondensedThin.ttf
+%%FONTSDIR%%/NotoSansHebrew-Thin.ttf