Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2024 15:12:04 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ec1399734712 - main - x11-fonts/noto-naskh-arabic: Add noto-naskh-arabic 2.018
Message-ID:  <202403231512.42NFC49A033949@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

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

    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.
---
 x11-fonts/Makefile                    |  1 +
 x11-fonts/noto-naskh-arabic/Makefile  | 28 ++++++++++++++++++++++++++++
 x11-fonts/noto-naskh-arabic/distinfo  |  3 +++
 x11-fonts/noto-naskh-arabic/pkg-descr | 12 ++++++++++++
 x11-fonts/noto-naskh-arabic/pkg-plist |  4 ++++
 5 files changed, 48 insertions(+)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403231512.42NFC49A033949>