git: 41e3e817f06c - main - x11-fonts/noto-sans-runic: Add noto-sans-runic 2.002

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 13 May 2024 19:32:06 UTC
The branch main has been updated by sunpoet:

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

commit 41e3e817f06cf7245b7747f0f6d4ab8378119a9b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 19:31:46 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 19:31:46 +0000

    x11-fonts/noto-sans-runic: Add noto-sans-runic 2.002
    
    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 Runic.
---
 x11-fonts/Makefile                  |  1 +
 x11-fonts/noto-sans-runic/Makefile  | 36 ++++++++++++++++++++++++++++++++++++
 x11-fonts/noto-sans-runic/distinfo  |  5 +++++
 x11-fonts/noto-sans-runic/pkg-descr | 12 ++++++++++++
 4 files changed, 54 insertions(+)

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 84e4121ffb77..eca9b19f0a18 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -214,6 +214,7 @@
     SUBDIR += noto-sans-math
     SUBDIR += noto-sans-mono
     SUBDIR += noto-sans-myanmar
+    SUBDIR += noto-sans-runic
     SUBDIR += noto-sans-sc
     SUBDIR += noto-sans-sinhala
     SUBDIR += noto-sans-symbols
diff --git a/x11-fonts/noto-sans-runic/Makefile b/x11-fonts/noto-sans-runic/Makefile
new file mode 100644
index 000000000000..141062a45e86
--- /dev/null
+++ b/x11-fonts/noto-sans-runic/Makefile
@@ -0,0 +1,36 @@
+PORTNAME=	noto
+PORTVERSION=	2.002
+CATEGORIES=	x11-fonts
+MASTER_SITES=	https://github.com/notofonts/notofonts.github.io/raw/NotoSansRunic-v${PORTVERSION}/fonts/ \
+		https://github.com/notofonts/notofonts.github.io/raw/NotoSansRunic-v${PORTVERSION}/fonts/NotoSansRunic/hinted/ttf/:fonts
+PKGNAMESUFFIX=	-sans-runic
+DISTFILES=	LICENSE \
+		${FONTS:S|$|:fonts|}
+DIST_SUBDIR=	Noto/SansRunic/${PORTVERSION}
+EXTRACT_ONLY=	# empty
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Google Noto Sans Runic
+WWW=		https://fonts.google.com/noto \
+		https://notofonts.github.io/ \
+		https://github.com/notofonts/runic \
+		https://github.com/notofonts/notofonts.github.io/tree/main/fonts/NotoSansRunic
+
+LICENSE=	OFL11
+LICENSE_FILE=	${DISTDIR}/${DIST_SUBDIR}/LICENSE
+
+USES=		fonts
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+NO_WRKSUBDIR=	yes
+
+PLIST_FILES=	${FONTSDIR}/NotoSansRunic-Regular.ttf
+
+FONTS=		NotoSansRunic-Regular.ttf
+
+do-install:
+	${MKDIR} ${STAGEDIR}${FONTSDIR}
+	cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${FONTS} ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/noto-sans-runic/distinfo b/x11-fonts/noto-sans-runic/distinfo
new file mode 100644
index 000000000000..b300b5a46f8b
--- /dev/null
+++ b/x11-fonts/noto-sans-runic/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1714280040
+SHA256 (Noto/SansRunic/2.002/LICENSE) = f2095b08bed08b23a6fe26112fcd679a2bee3f002eef077eb05d215ed1051bd8
+SIZE (Noto/SansRunic/2.002/LICENSE) = 4374
+SHA256 (Noto/SansRunic/2.002/NotoSansRunic-Regular.ttf) = c43f941ef6c8a4f8217e7ffb332fce74f760140a7fd5919f86347e5e2a10b5c9
+SIZE (Noto/SansRunic/2.002/NotoSansRunic-Regular.ttf) = 9856
diff --git a/x11-fonts/noto-sans-runic/pkg-descr b/x11-fonts/noto-sans-runic/pkg-descr
new file mode 100644
index 000000000000..9a9c70b917c3
--- /dev/null
+++ b/x11-fonts/noto-sans-runic/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 Runic.