git: 18cea28665b3 - main - x11-fonts/noto-sans-mono-extra: Add noto-sans-mono-extra 2.014

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

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

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

    x11-fonts/noto-sans-mono-extra: Add noto-sans-mono-extra 2.014
    
    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 extra fonts set of Noto Sans Mono.
---
 x11-fonts/Makefile                       |  1 +
 x11-fonts/noto-sans-mono-extra/Makefile  | 32 ++++++++++++++++++++++++++++++
 x11-fonts/noto-sans-mono-extra/distinfo  |  3 +++
 x11-fonts/noto-sans-mono-extra/pkg-descr | 12 +++++++++++
 x11-fonts/noto-sans-mono-extra/pkg-plist | 34 ++++++++++++++++++++++++++++++++
 5 files changed, 82 insertions(+)

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index cd42ebc2b849..f4fb9bdd3f70 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -213,6 +213,7 @@
     SUBDIR += noto-sans-lao
     SUBDIR += noto-sans-mono
     SUBDIR += noto-sans-mono-basic
+    SUBDIR += noto-sans-mono-extra
     SUBDIR += noto-sans-sc
     SUBDIR += noto-sans-tc
     SUBDIR += noto-sc
diff --git a/x11-fonts/noto-sans-mono-extra/Makefile b/x11-fonts/noto-sans-mono-extra/Makefile
new file mode 100644
index 000000000000..d7fdd0edfd0b
--- /dev/null
+++ b/x11-fonts/noto-sans-mono-extra/Makefile
@@ -0,0 +1,32 @@
+PORTNAME=	noto
+PORTVERSION=	2.014
+CATEGORIES=	x11-fonts
+MASTER_SITES=	https://github.com/notofonts/latin-greek-cyrillic/releases/download/NotoSansMono-v${PORTVERSION}/
+PKGNAMESUFFIX=	-sans-mono-extra
+DISTNAME=	NotoSansMono-v${PORTVERSION}
+DIST_SUBDIR=	Noto
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Google Noto Sans Mono (Extra)
+WWW=		https://fonts.google.com/noto \
+		https://notofonts.github.io/ \
+		https://github.com/notofonts/latin-greek-cyrillic
+
+LICENSE=	OFL11
+LICENSE_FILE=	${WRKSRC}/OFL.txt
+
+USES=		fonts zip
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+NO_WRKSUBDIR=	yes
+
+post-patch:
+	@${RM} ${WRKSRC}/NotoSansMono/hinted/ttf/NotoSansMono-Bold.ttf
+	@${RM} ${WRKSRC}/NotoSansMono/hinted/ttf/NotoSansMono-Regular.ttf
+
+do-install:
+	${MKDIR} ${STAGEDIR}${FONTSDIR}
+	${INSTALL_DATA} ${WRKSRC}/NotoSansMono/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/noto-sans-mono-extra/distinfo b/x11-fonts/noto-sans-mono-extra/distinfo
new file mode 100644
index 000000000000..38cea560f37e
--- /dev/null
+++ b/x11-fonts/noto-sans-mono-extra/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1710676083
+SHA256 (Noto/NotoSansMono-v2.014.zip) = 090cf6c5e03f337a755630ca888b1fef463e64ae7b33ee134e9309c05f978732
+SIZE (Noto/NotoSansMono-v2.014.zip) = 31592998
diff --git a/x11-fonts/noto-sans-mono-extra/pkg-descr b/x11-fonts/noto-sans-mono-extra/pkg-descr
new file mode 100644
index 000000000000..3131a03b1966
--- /dev/null
+++ b/x11-fonts/noto-sans-mono-extra/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 extra fonts set of Noto Sans Mono.
diff --git a/x11-fonts/noto-sans-mono-extra/pkg-plist b/x11-fonts/noto-sans-mono-extra/pkg-plist
new file mode 100644
index 000000000000..186ef3f95824
--- /dev/null
+++ b/x11-fonts/noto-sans-mono-extra/pkg-plist
@@ -0,0 +1,34 @@
+%%FONTSDIR%%/NotoSansMono-Black.ttf
+%%FONTSDIR%%/NotoSansMono-Condensed.ttf
+%%FONTSDIR%%/NotoSansMono-CondensedBlack.ttf
+%%FONTSDIR%%/NotoSansMono-CondensedBold.ttf
+%%FONTSDIR%%/NotoSansMono-CondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSansMono-CondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSansMono-CondensedLight.ttf
+%%FONTSDIR%%/NotoSansMono-CondensedMedium.ttf
+%%FONTSDIR%%/NotoSansMono-CondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSansMono-CondensedThin.ttf
+%%FONTSDIR%%/NotoSansMono-ExtraBold.ttf
+%%FONTSDIR%%/NotoSansMono-ExtraCondensed.ttf
+%%FONTSDIR%%/NotoSansMono-ExtraCondensedBlack.ttf
+%%FONTSDIR%%/NotoSansMono-ExtraCondensedBold.ttf
+%%FONTSDIR%%/NotoSansMono-ExtraCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSansMono-ExtraCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSansMono-ExtraCondensedLight.ttf
+%%FONTSDIR%%/NotoSansMono-ExtraCondensedMedium.ttf
+%%FONTSDIR%%/NotoSansMono-ExtraCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSansMono-ExtraCondensedThin.ttf
+%%FONTSDIR%%/NotoSansMono-ExtraLight.ttf
+%%FONTSDIR%%/NotoSansMono-Light.ttf
+%%FONTSDIR%%/NotoSansMono-Medium.ttf
+%%FONTSDIR%%/NotoSansMono-SemiBold.ttf
+%%FONTSDIR%%/NotoSansMono-SemiCondensed.ttf
+%%FONTSDIR%%/NotoSansMono-SemiCondensedBlack.ttf
+%%FONTSDIR%%/NotoSansMono-SemiCondensedBold.ttf
+%%FONTSDIR%%/NotoSansMono-SemiCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSansMono-SemiCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSansMono-SemiCondensedLight.ttf
+%%FONTSDIR%%/NotoSansMono-SemiCondensedMedium.ttf
+%%FONTSDIR%%/NotoSansMono-SemiCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSansMono-SemiCondensedThin.ttf
+%%FONTSDIR%%/NotoSansMono-Thin.ttf