git: 2d7c0826fa89 - main - x11-fonts/noto-kufi-arabic: Add noto-kufi-arabic 2.109

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

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

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

    x11-fonts/noto-kufi-arabic: Add noto-kufi-arabic 2.109
    
    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 Kufi Arabic.
---
 x11-fonts/Makefile                   |  1 +
 x11-fonts/noto-kufi-arabic/Makefile  | 28 ++++++++++++++++++++++++++++
 x11-fonts/noto-kufi-arabic/distinfo  |  3 +++
 x11-fonts/noto-kufi-arabic/pkg-descr | 12 ++++++++++++
 x11-fonts/noto-kufi-arabic/pkg-plist |  9 +++++++++
 5 files changed, 53 insertions(+)

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index a3f390fda88d..4822bac1ce26 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -193,6 +193,7 @@
     SUBDIR += noto-hk
     SUBDIR += noto-jp
     SUBDIR += noto-kr
+    SUBDIR += noto-kufi-arabic
     SUBDIR += noto-sans-hk
     SUBDIR += noto-sans-jp
     SUBDIR += noto-sans-kr
diff --git a/x11-fonts/noto-kufi-arabic/Makefile b/x11-fonts/noto-kufi-arabic/Makefile
new file mode 100644
index 000000000000..321777095a32
--- /dev/null
+++ b/x11-fonts/noto-kufi-arabic/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	noto
+PORTVERSION=	2.109
+CATEGORIES=	x11-fonts
+MASTER_SITES=	https://github.com/notofonts/arabic/releases/download/NotoKufiArabic-v${PORTVERSION}/
+PKGNAMESUFFIX=	-kufi-arabic
+DISTNAME=	NotoKufiArabic-v${PORTVERSION}
+DIST_SUBDIR=	Noto
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Google Noto Kufi Arabic
+WWW=		https://fonts.google.com/noto \
+		https://notofonts.github.io/ \
+		https://github.com/notofonts/arabic
+
+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}/NotoKufiArabic/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/noto-kufi-arabic/distinfo b/x11-fonts/noto-kufi-arabic/distinfo
new file mode 100644
index 000000000000..f5a06f62234b
--- /dev/null
+++ b/x11-fonts/noto-kufi-arabic/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1710676055
+SHA256 (Noto/NotoKufiArabic-v2.109.zip) = 1b6880e4b8df09c3b9e246d6084bfd94bf32a0ffff60cf2dcffd3622d0e2d79f
+SIZE (Noto/NotoKufiArabic-v2.109.zip) = 5968104
diff --git a/x11-fonts/noto-kufi-arabic/pkg-descr b/x11-fonts/noto-kufi-arabic/pkg-descr
new file mode 100644
index 000000000000..3626a012d908
--- /dev/null
+++ b/x11-fonts/noto-kufi-arabic/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 Kufi Arabic.
diff --git a/x11-fonts/noto-kufi-arabic/pkg-plist b/x11-fonts/noto-kufi-arabic/pkg-plist
new file mode 100644
index 000000000000..4f7f0d31a6f5
--- /dev/null
+++ b/x11-fonts/noto-kufi-arabic/pkg-plist
@@ -0,0 +1,9 @@
+%%FONTSDIR%%/NotoKufiArabic-Black.ttf
+%%FONTSDIR%%/NotoKufiArabic-Bold.ttf
+%%FONTSDIR%%/NotoKufiArabic-ExtraBold.ttf
+%%FONTSDIR%%/NotoKufiArabic-ExtraLight.ttf
+%%FONTSDIR%%/NotoKufiArabic-Light.ttf
+%%FONTSDIR%%/NotoKufiArabic-Medium.ttf
+%%FONTSDIR%%/NotoKufiArabic-Regular.ttf
+%%FONTSDIR%%/NotoKufiArabic-SemiBold.ttf
+%%FONTSDIR%%/NotoKufiArabic-Thin.ttf