git: 0b2c7a02b023 - main - x11-fonts/noto-naskh-arabic-ui: Add noto-naskh-arabic-ui 2.017

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 03 Jul 2024 04:38:47 UTC
The branch main has been updated by sunpoet:

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

commit 0b2c7a02b0231c72e528a8714690800c479cdd6e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-03 04:33:16 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-03 04:33:16 +0000

    x11-fonts/noto-naskh-arabic-ui: Add noto-naskh-arabic-ui 2.017
    
    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 Naskh Arabic UI.
---
 x11-fonts/Makefile                       |  1 +
 x11-fonts/noto-naskh-arabic-ui/Makefile  | 39 ++++++++++++++++++++++++++++++++
 x11-fonts/noto-naskh-arabic-ui/distinfo  | 11 +++++++++
 x11-fonts/noto-naskh-arabic-ui/pkg-descr | 12 ++++++++++
 x11-fonts/noto-naskh-arabic-ui/pkg-plist |  4 ++++
 5 files changed, 67 insertions(+)

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 6bb0eae51093..51bb65bcb87f 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -199,6 +199,7 @@
     SUBDIR += noto-kufi-arabic
     SUBDIR += noto-music
     SUBDIR += noto-naskh-arabic
+    SUBDIR += noto-naskh-arabic-ui
     SUBDIR += noto-sans
     SUBDIR += noto-sans-arabic
     SUBDIR += noto-sans-armenian
diff --git a/x11-fonts/noto-naskh-arabic-ui/Makefile b/x11-fonts/noto-naskh-arabic-ui/Makefile
new file mode 100644
index 000000000000..2efb5a6d6bb8
--- /dev/null
+++ b/x11-fonts/noto-naskh-arabic-ui/Makefile
@@ -0,0 +1,39 @@
+PORTNAME=	noto
+PORTVERSION=	2.017
+CATEGORIES=	x11-fonts
+#MASTER_SITES=	https://github.com/notofonts/notofonts.github.io/raw/NotoNaskhArabicUI-v${PORTVERSION}/fonts/ \
+#		https://github.com/notofonts/notofonts.github.io/raw/NotoNaskhArabicUI-v${PORTVERSION}/fonts/NotoNaskhArabicUI/hinted/ttf/:fonts
+MASTER_SITES=	https://github.com/notofonts/notofonts.github.io/raw/25cbaa805a25e183d65250ae6f9b0a397f6417e8/fonts/ \
+		https://github.com/notofonts/notofonts.github.io/raw/25cbaa805a25e183d65250ae6f9b0a397f6417e8/fonts/NotoNaskhArabicUI/hinted/ttf/:fonts
+PKGNAMESUFFIX=	-naskh-arabic-ui
+DISTFILES=	LICENSE \
+		${FONTS:S|$|:fonts|}
+DIST_SUBDIR=	Noto/NaskhArabicUI/${PORTVERSION}
+EXTRACT_ONLY=	# empty
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Google Noto Naskh Arabic UI
+WWW=		https://fonts.google.com/noto \
+		https://notofonts.github.io/ \
+		https://github.com/notofonts/arabic \
+		https://github.com/notofonts/notofonts.github.io/tree/main/fonts/NotoNaskhArabicUI
+
+LICENSE=	OFL11
+LICENSE_FILE=	${DISTDIR}/${DIST_SUBDIR}/LICENSE
+
+USES=		fonts
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+NO_WRKSUBDIR=	yes
+
+FONTS=		NotoNaskhArabicUI-Bold.ttf \
+		NotoNaskhArabicUI-Medium.ttf \
+		NotoNaskhArabicUI-Regular.ttf \
+		NotoNaskhArabicUI-SemiBold.ttf
+
+do-install:
+	${MKDIR} ${STAGEDIR}${FONTSDIR}
+	cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${FONTS} ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/noto-naskh-arabic-ui/distinfo b/x11-fonts/noto-naskh-arabic-ui/distinfo
new file mode 100644
index 000000000000..942a401f3cc4
--- /dev/null
+++ b/x11-fonts/noto-naskh-arabic-ui/distinfo
@@ -0,0 +1,11 @@
+TIMESTAMP = 1718768758
+SHA256 (Noto/NaskhArabicUI/2.017/LICENSE) = f2095b08bed08b23a6fe26112fcd679a2bee3f002eef077eb05d215ed1051bd8
+SIZE (Noto/NaskhArabicUI/2.017/LICENSE) = 4374
+SHA256 (Noto/NaskhArabicUI/2.017/NotoNaskhArabicUI-Bold.ttf) = d2bd1671179c59bb8c3d790eb2c0840e732d37fa1f5577ff34f26b659995dd17
+SIZE (Noto/NaskhArabicUI/2.017/NotoNaskhArabicUI-Bold.ttf) = 217696
+SHA256 (Noto/NaskhArabicUI/2.017/NotoNaskhArabicUI-Medium.ttf) = 6c4b33f5f21f50d4a3690aa7cac7cb6cc0a4dcd0bd31611bea0e21fac17bb5f8
+SIZE (Noto/NaskhArabicUI/2.017/NotoNaskhArabicUI-Medium.ttf) = 218220
+SHA256 (Noto/NaskhArabicUI/2.017/NotoNaskhArabicUI-Regular.ttf) = e9f881051a2823b879988727913221bc2d063e9142de8c794387ab46656b6248
+SIZE (Noto/NaskhArabicUI/2.017/NotoNaskhArabicUI-Regular.ttf) = 210728
+SHA256 (Noto/NaskhArabicUI/2.017/NotoNaskhArabicUI-SemiBold.ttf) = cb1f02aa18632dcb69df62687184918f3ca79c8d8f90ee7da863b3d41069c9e3
+SIZE (Noto/NaskhArabicUI/2.017/NotoNaskhArabicUI-SemiBold.ttf) = 217732
diff --git a/x11-fonts/noto-naskh-arabic-ui/pkg-descr b/x11-fonts/noto-naskh-arabic-ui/pkg-descr
new file mode 100644
index 000000000000..040b98c566ae
--- /dev/null
+++ b/x11-fonts/noto-naskh-arabic-ui/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 Naskh Arabic UI.
diff --git a/x11-fonts/noto-naskh-arabic-ui/pkg-plist b/x11-fonts/noto-naskh-arabic-ui/pkg-plist
new file mode 100644
index 000000000000..2463357410d3
--- /dev/null
+++ b/x11-fonts/noto-naskh-arabic-ui/pkg-plist
@@ -0,0 +1,4 @@
+%%FONTSDIR%%/NotoNaskhArabicUI-Bold.ttf
+%%FONTSDIR%%/NotoNaskhArabicUI-Medium.ttf
+%%FONTSDIR%%/NotoNaskhArabicUI-Regular.ttf
+%%FONTSDIR%%/NotoNaskhArabicUI-SemiBold.ttf