git: fed78a6f5ea0 - main - x11-fonts/noto-serif-armenian: Add noto-serif-armenian 2.008

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

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

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

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

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index c83d2c4b3109..94bc784d50cd 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -226,6 +226,7 @@
     SUBDIR += noto-sans-telugu
     SUBDIR += noto-sans-thai
     SUBDIR += noto-sc
+    SUBDIR += noto-serif-armenian
     SUBDIR += noto-serif-basic
     SUBDIR += noto-serif-bengali
     SUBDIR += noto-serif-hk
diff --git a/x11-fonts/noto-serif-armenian/Makefile b/x11-fonts/noto-serif-armenian/Makefile
new file mode 100644
index 000000000000..6246ae1689cb
--- /dev/null
+++ b/x11-fonts/noto-serif-armenian/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	noto
+PORTVERSION=	2.008
+CATEGORIES=	x11-fonts
+MASTER_SITES=	https://github.com/notofonts/armenian/releases/download/NotoSerifArmenian-v${PORTVERSION}/
+PKGNAMESUFFIX=	-serif-armenian
+DISTNAME=	NotoSerifArmenian-v${PORTVERSION}
+DIST_SUBDIR=	Noto
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Google Noto Serif 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}/NotoSerifArmenian/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/noto-serif-armenian/distinfo b/x11-fonts/noto-serif-armenian/distinfo
new file mode 100644
index 000000000000..35226c8072cc
--- /dev/null
+++ b/x11-fonts/noto-serif-armenian/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1710676103
+SHA256 (Noto/NotoSerifArmenian-v2.008.zip) = b21c198a4c76ae598a304decefb3b5c2a4c2d4c3ae226728eff359185f291c6f
+SIZE (Noto/NotoSerifArmenian-v2.008.zip) = 4889280
diff --git a/x11-fonts/noto-serif-armenian/pkg-descr b/x11-fonts/noto-serif-armenian/pkg-descr
new file mode 100644
index 000000000000..a8fc76ea6a43
--- /dev/null
+++ b/x11-fonts/noto-serif-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 Serif Armenian.
diff --git a/x11-fonts/noto-serif-armenian/pkg-plist b/x11-fonts/noto-serif-armenian/pkg-plist
new file mode 100644
index 000000000000..23d46f6cf053
--- /dev/null
+++ b/x11-fonts/noto-serif-armenian/pkg-plist
@@ -0,0 +1,36 @@
+%%FONTSDIR%%/NotoSerifArmenian-Black.ttf
+%%FONTSDIR%%/NotoSerifArmenian-Bold.ttf
+%%FONTSDIR%%/NotoSerifArmenian-Condensed.ttf
+%%FONTSDIR%%/NotoSerifArmenian-CondensedBlack.ttf
+%%FONTSDIR%%/NotoSerifArmenian-CondensedBold.ttf
+%%FONTSDIR%%/NotoSerifArmenian-CondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSerifArmenian-CondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSerifArmenian-CondensedLight.ttf
+%%FONTSDIR%%/NotoSerifArmenian-CondensedMedium.ttf
+%%FONTSDIR%%/NotoSerifArmenian-CondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSerifArmenian-CondensedThin.ttf
+%%FONTSDIR%%/NotoSerifArmenian-ExtraBold.ttf
+%%FONTSDIR%%/NotoSerifArmenian-ExtraCondensed.ttf
+%%FONTSDIR%%/NotoSerifArmenian-ExtraCondensedBlack.ttf
+%%FONTSDIR%%/NotoSerifArmenian-ExtraCondensedBold.ttf
+%%FONTSDIR%%/NotoSerifArmenian-ExtraCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSerifArmenian-ExtraCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSerifArmenian-ExtraCondensedLight.ttf
+%%FONTSDIR%%/NotoSerifArmenian-ExtraCondensedMedium.ttf
+%%FONTSDIR%%/NotoSerifArmenian-ExtraCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSerifArmenian-ExtraCondensedThin.ttf
+%%FONTSDIR%%/NotoSerifArmenian-ExtraLight.ttf
+%%FONTSDIR%%/NotoSerifArmenian-Light.ttf
+%%FONTSDIR%%/NotoSerifArmenian-Medium.ttf
+%%FONTSDIR%%/NotoSerifArmenian-Regular.ttf
+%%FONTSDIR%%/NotoSerifArmenian-SemiBold.ttf
+%%FONTSDIR%%/NotoSerifArmenian-SemiCondensed.ttf
+%%FONTSDIR%%/NotoSerifArmenian-SemiCondensedBlack.ttf
+%%FONTSDIR%%/NotoSerifArmenian-SemiCondensedBold.ttf
+%%FONTSDIR%%/NotoSerifArmenian-SemiCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSerifArmenian-SemiCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSerifArmenian-SemiCondensedLight.ttf
+%%FONTSDIR%%/NotoSerifArmenian-SemiCondensedMedium.ttf
+%%FONTSDIR%%/NotoSerifArmenian-SemiCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSerifArmenian-SemiCondensedThin.ttf
+%%FONTSDIR%%/NotoSerifArmenian-Thin.ttf