From 183f34ba88f2d11302c6572e6fb825d31d080be3 Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Sat, 23 Mar 2024 23:10:24 +0800 Subject: [PATCH] x11-fonts/noto-sans-arabic: Add noto-sans-arabic 2.012 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 Arabic. --- x11-fonts/Makefile | 1 + x11-fonts/noto-sans-arabic/Makefile | 28 ++++++++++++++++++++++ x11-fonts/noto-sans-arabic/distinfo | 3 +++ x11-fonts/noto-sans-arabic/pkg-descr | 12 ++++++++++ x11-fonts/noto-sans-arabic/pkg-plist | 36 ++++++++++++++++++++++++++++ 5 files changed, 80 insertions(+) create mode 100644 x11-fonts/noto-sans-arabic/Makefile create mode 100644 x11-fonts/noto-sans-arabic/distinfo create mode 100644 x11-fonts/noto-sans-arabic/pkg-descr create mode 100644 x11-fonts/noto-sans-arabic/pkg-plist diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index 5abbc25bed16..ac33dedeb716 100644 --- a/x11-fonts/Makefile +++ b/x11-fonts/Makefile @@ -195,6 +195,7 @@ SUBDIR += noto-kr SUBDIR += noto-kufi-arabic SUBDIR += noto-naskh-arabic + SUBDIR += noto-sans-arabic SUBDIR += noto-sans-hk SUBDIR += noto-sans-jp SUBDIR += noto-sans-kr diff --git a/x11-fonts/noto-sans-arabic/Makefile b/x11-fonts/noto-sans-arabic/Makefile new file mode 100644 index 000000000000..71a2b04b3e6e --- /dev/null +++ b/x11-fonts/noto-sans-arabic/Makefile @@ -0,0 +1,28 @@ +PORTNAME= noto +PORTVERSION= 2.012 +CATEGORIES= x11-fonts +MASTER_SITES= https://github.com/notofonts/arabic/releases/download/NotoSansArabic-v${PORTVERSION}/ +PKGNAMESUFFIX= -sans-arabic +DISTNAME= NotoSansArabic-v${PORTVERSION} +DIST_SUBDIR= Noto + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Google Noto Sans 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}/NotoSansArabic/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR} + +.include diff --git a/x11-fonts/noto-sans-arabic/distinfo b/x11-fonts/noto-sans-arabic/distinfo new file mode 100644 index 000000000000..43f2777c55af --- /dev/null +++ b/x11-fonts/noto-sans-arabic/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1710676059 +SHA256 (Noto/NotoSansArabic-v2.012.zip) = 65bceb5106ca17e8e0b4660bacec4d362afd56e0251e71fedf83f76dfe9f4abe +SIZE (Noto/NotoSansArabic-v2.012.zip) = 20494293 diff --git a/x11-fonts/noto-sans-arabic/pkg-descr b/x11-fonts/noto-sans-arabic/pkg-descr new file mode 100644 index 000000000000..05d7f02b79ec --- /dev/null +++ b/x11-fonts/noto-sans-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 Sans Arabic. diff --git a/x11-fonts/noto-sans-arabic/pkg-plist b/x11-fonts/noto-sans-arabic/pkg-plist new file mode 100644 index 000000000000..fc5bac7bf107 --- /dev/null +++ b/x11-fonts/noto-sans-arabic/pkg-plist @@ -0,0 +1,36 @@ +%%FONTSDIR%%/NotoSansArabic-Black.ttf +%%FONTSDIR%%/NotoSansArabic-Bold.ttf +%%FONTSDIR%%/NotoSansArabic-Condensed.ttf +%%FONTSDIR%%/NotoSansArabic-CondensedBlack.ttf +%%FONTSDIR%%/NotoSansArabic-CondensedBold.ttf +%%FONTSDIR%%/NotoSansArabic-CondensedExtraBold.ttf +%%FONTSDIR%%/NotoSansArabic-CondensedExtraLight.ttf +%%FONTSDIR%%/NotoSansArabic-CondensedLight.ttf +%%FONTSDIR%%/NotoSansArabic-CondensedMedium.ttf +%%FONTSDIR%%/NotoSansArabic-CondensedSemiBold.ttf +%%FONTSDIR%%/NotoSansArabic-CondensedThin.ttf +%%FONTSDIR%%/NotoSansArabic-ExtraBold.ttf +%%FONTSDIR%%/NotoSansArabic-ExtraCondensed.ttf +%%FONTSDIR%%/NotoSansArabic-ExtraCondensedBlack.ttf +%%FONTSDIR%%/NotoSansArabic-ExtraCondensedBold.ttf +%%FONTSDIR%%/NotoSansArabic-ExtraCondensedExtraBold.ttf +%%FONTSDIR%%/NotoSansArabic-ExtraCondensedExtraLight.ttf +%%FONTSDIR%%/NotoSansArabic-ExtraCondensedLight.ttf +%%FONTSDIR%%/NotoSansArabic-ExtraCondensedMedium.ttf +%%FONTSDIR%%/NotoSansArabic-ExtraCondensedSemiBold.ttf +%%FONTSDIR%%/NotoSansArabic-ExtraCondensedThin.ttf +%%FONTSDIR%%/NotoSansArabic-ExtraLight.ttf +%%FONTSDIR%%/NotoSansArabic-Light.ttf +%%FONTSDIR%%/NotoSansArabic-Medium.ttf +%%FONTSDIR%%/NotoSansArabic-Regular.ttf +%%FONTSDIR%%/NotoSansArabic-SemiBold.ttf +%%FONTSDIR%%/NotoSansArabic-SemiCondensed.ttf +%%FONTSDIR%%/NotoSansArabic-SemiCondensedBlack.ttf +%%FONTSDIR%%/NotoSansArabic-SemiCondensedBold.ttf +%%FONTSDIR%%/NotoSansArabic-SemiCondensedExtraBold.ttf +%%FONTSDIR%%/NotoSansArabic-SemiCondensedExtraLight.ttf +%%FONTSDIR%%/NotoSansArabic-SemiCondensedLight.ttf +%%FONTSDIR%%/NotoSansArabic-SemiCondensedMedium.ttf +%%FONTSDIR%%/NotoSansArabic-SemiCondensedSemiBold.ttf +%%FONTSDIR%%/NotoSansArabic-SemiCondensedThin.ttf +%%FONTSDIR%%/NotoSansArabic-Thin.ttf