aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-23 15:10:24 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-23 15:10:24 +0000
commitec1399734712502ecfad2d2816328c5aa2f8cc43 (patch)
tree5870a975ea7c631c39ee21f528cf6e7880954d30
parent2d7c0826fa89a769a3b646caa50f968f8da4763d (diff)
downloadports-ec1399734712502ecfad2d2816328c5aa2f8cc43.tar.gz
ports-ec1399734712502ecfad2d2816328c5aa2f8cc43.zip
x11-fonts/noto-naskh-arabic: Add noto-naskh-arabic 2.018
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.
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/noto-naskh-arabic/Makefile28
-rw-r--r--x11-fonts/noto-naskh-arabic/distinfo3
-rw-r--r--x11-fonts/noto-naskh-arabic/pkg-descr12
-rw-r--r--x11-fonts/noto-naskh-arabic/pkg-plist4
5 files changed, 48 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 4822bac1ce26..5abbc25bed16 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -194,6 +194,7 @@
SUBDIR += noto-jp
SUBDIR += noto-kr
SUBDIR += noto-kufi-arabic
+ SUBDIR += noto-naskh-arabic
SUBDIR += noto-sans-hk
SUBDIR += noto-sans-jp
SUBDIR += noto-sans-kr
diff --git a/x11-fonts/noto-naskh-arabic/Makefile b/x11-fonts/noto-naskh-arabic/Makefile
new file mode 100644
index 000000000000..a8cc55633599
--- /dev/null
+++ b/x11-fonts/noto-naskh-arabic/Makefile
@@ -0,0 +1,28 @@
+PORTNAME= noto
+PORTVERSION= 2.018
+CATEGORIES= x11-fonts
+MASTER_SITES= https://github.com/notofonts/arabic/releases/download/NotoNaskhArabic-v${PORTVERSION}/
+PKGNAMESUFFIX= -naskh-arabic
+DISTNAME= NotoNaskhArabic-v${PORTVERSION}
+DIST_SUBDIR= Noto
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Google Noto Naskh 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}/NotoNaskhArabic/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/noto-naskh-arabic/distinfo b/x11-fonts/noto-naskh-arabic/distinfo
new file mode 100644
index 000000000000..a3423ba64d0b
--- /dev/null
+++ b/x11-fonts/noto-naskh-arabic/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1710676057
+SHA256 (Noto/NotoNaskhArabic-v2.018.zip) = 3c5dce5eebe2b8bd9e2d208872c5b6d51d1a2a99bd77528d4d72651a00b164f0
+SIZE (Noto/NotoNaskhArabic-v2.018.zip) = 3501911
diff --git a/x11-fonts/noto-naskh-arabic/pkg-descr b/x11-fonts/noto-naskh-arabic/pkg-descr
new file mode 100644
index 000000000000..796cc23bc415
--- /dev/null
+++ b/x11-fonts/noto-naskh-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 Naskh Arabic.
diff --git a/x11-fonts/noto-naskh-arabic/pkg-plist b/x11-fonts/noto-naskh-arabic/pkg-plist
new file mode 100644
index 000000000000..0c5569c0325e
--- /dev/null
+++ b/x11-fonts/noto-naskh-arabic/pkg-plist
@@ -0,0 +1,4 @@
+%%FONTSDIR%%/NotoNaskhArabic-Bold.ttf
+%%FONTSDIR%%/NotoNaskhArabic-Medium.ttf
+%%FONTSDIR%%/NotoNaskhArabic-Regular.ttf
+%%FONTSDIR%%/NotoNaskhArabic-SemiBold.ttf