git: 4e334f29e506 - main - x11-fonts/noto-sans-armenian: Add noto-sans-armenian 2.008

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

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

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

    x11-fonts/noto-sans-armenian: Add noto-sans-armenian 2.008
    
    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 Armenian.
---
 x11-fonts/Makefile                     |  1 +
 x11-fonts/noto-sans-armenian/Makefile  | 28 ++++++++++++++++++++++++++
 x11-fonts/noto-sans-armenian/distinfo  |  3 +++
 x11-fonts/noto-sans-armenian/pkg-descr | 12 ++++++++++++
 x11-fonts/noto-sans-armenian/pkg-plist | 36 ++++++++++++++++++++++++++++++++++
 5 files changed, 80 insertions(+)

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index ac33dedeb716..a22634c6ff6f 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -196,6 +196,7 @@
     SUBDIR += noto-kufi-arabic
     SUBDIR += noto-naskh-arabic
     SUBDIR += noto-sans-arabic
+    SUBDIR += noto-sans-armenian
     SUBDIR += noto-sans-hk
     SUBDIR += noto-sans-jp
     SUBDIR += noto-sans-kr
diff --git a/x11-fonts/noto-sans-armenian/Makefile b/x11-fonts/noto-sans-armenian/Makefile
new file mode 100644
index 000000000000..fe94db927435
--- /dev/null
+++ b/x11-fonts/noto-sans-armenian/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	noto
+PORTVERSION=	2.008
+CATEGORIES=	x11-fonts
+MASTER_SITES=	https://github.com/notofonts/armenian/releases/download/NotoSansArmenian-v${PORTVERSION}/
+PKGNAMESUFFIX=	-sans-armenian
+DISTNAME=	NotoSansArmenian-v${PORTVERSION}
+DIST_SUBDIR=	Noto
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Google Noto Sans Armenian
+WWW=		https://fonts.google.com/noto \
+		https://notofonts.github.io/ \
+		https://github.com/notofonts/armenian
+
+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}/NotoSansArmenian/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/noto-sans-armenian/distinfo b/x11-fonts/noto-sans-armenian/distinfo
new file mode 100644
index 000000000000..f515b64b7a31
--- /dev/null
+++ b/x11-fonts/noto-sans-armenian/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1710676061
+SHA256 (Noto/NotoSansArmenian-v2.008.zip) = eab89b99e134177ca6a3f9f0412a7cb812aafceb13175d686b4c45cb237f64ac
+SIZE (Noto/NotoSansArmenian-v2.008.zip) = 4472441
diff --git a/x11-fonts/noto-sans-armenian/pkg-descr b/x11-fonts/noto-sans-armenian/pkg-descr
new file mode 100644
index 000000000000..b1dcf380a4fe
--- /dev/null
+++ b/x11-fonts/noto-sans-armenian/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 Armenian.
diff --git a/x11-fonts/noto-sans-armenian/pkg-plist b/x11-fonts/noto-sans-armenian/pkg-plist
new file mode 100644
index 000000000000..e217915c2f71
--- /dev/null
+++ b/x11-fonts/noto-sans-armenian/pkg-plist
@@ -0,0 +1,36 @@
+%%FONTSDIR%%/NotoSansArmenian-Black.ttf
+%%FONTSDIR%%/NotoSansArmenian-Bold.ttf
+%%FONTSDIR%%/NotoSansArmenian-Condensed.ttf
+%%FONTSDIR%%/NotoSansArmenian-CondensedBlack.ttf
+%%FONTSDIR%%/NotoSansArmenian-CondensedBold.ttf
+%%FONTSDIR%%/NotoSansArmenian-CondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSansArmenian-CondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSansArmenian-CondensedLight.ttf
+%%FONTSDIR%%/NotoSansArmenian-CondensedMedium.ttf
+%%FONTSDIR%%/NotoSansArmenian-CondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSansArmenian-CondensedThin.ttf
+%%FONTSDIR%%/NotoSansArmenian-ExtraBold.ttf
+%%FONTSDIR%%/NotoSansArmenian-ExtraCondensed.ttf
+%%FONTSDIR%%/NotoSansArmenian-ExtraCondensedBlack.ttf
+%%FONTSDIR%%/NotoSansArmenian-ExtraCondensedBold.ttf
+%%FONTSDIR%%/NotoSansArmenian-ExtraCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSansArmenian-ExtraCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSansArmenian-ExtraCondensedLight.ttf
+%%FONTSDIR%%/NotoSansArmenian-ExtraCondensedMedium.ttf
+%%FONTSDIR%%/NotoSansArmenian-ExtraCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSansArmenian-ExtraCondensedThin.ttf
+%%FONTSDIR%%/NotoSansArmenian-ExtraLight.ttf
+%%FONTSDIR%%/NotoSansArmenian-Light.ttf
+%%FONTSDIR%%/NotoSansArmenian-Medium.ttf
+%%FONTSDIR%%/NotoSansArmenian-Regular.ttf
+%%FONTSDIR%%/NotoSansArmenian-SemiBold.ttf
+%%FONTSDIR%%/NotoSansArmenian-SemiCondensed.ttf
+%%FONTSDIR%%/NotoSansArmenian-SemiCondensedBlack.ttf
+%%FONTSDIR%%/NotoSansArmenian-SemiCondensedBold.ttf
+%%FONTSDIR%%/NotoSansArmenian-SemiCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSansArmenian-SemiCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSansArmenian-SemiCondensedLight.ttf
+%%FONTSDIR%%/NotoSansArmenian-SemiCondensedMedium.ttf
+%%FONTSDIR%%/NotoSansArmenian-SemiCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSansArmenian-SemiCondensedThin.ttf
+%%FONTSDIR%%/NotoSansArmenian-Thin.ttf