git: 30bc6499c6e5 - main - x11-fonts/noto-music: Add noto-music 2.003

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

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

commit 30bc6499c6e5d6b86a08dc7a55ab5b364e9a3679
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-16 06:13:29 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-16 06:21:47 +0000

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

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index eca9b19f0a18..0a2451691945 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -195,6 +195,7 @@
     SUBDIR += noto-jp
     SUBDIR += noto-kr
     SUBDIR += noto-kufi-arabic
+    SUBDIR += noto-music
     SUBDIR += noto-naskh-arabic
     SUBDIR += noto-sans
     SUBDIR += noto-sans-arabic
diff --git a/x11-fonts/noto-music/Makefile b/x11-fonts/noto-music/Makefile
new file mode 100644
index 000000000000..512e1e8a5415
--- /dev/null
+++ b/x11-fonts/noto-music/Makefile
@@ -0,0 +1,36 @@
+PORTNAME=	noto
+PORTVERSION=	2.003
+CATEGORIES=	x11-fonts
+MASTER_SITES=	https://github.com/notofonts/notofonts.github.io/raw/NotoMusic-v${PORTVERSION}/fonts/ \
+		https://github.com/notofonts/notofonts.github.io/raw/NotoMusic-v${PORTVERSION}/fonts/NotoMusic/hinted/ttf/:fonts
+PKGNAMESUFFIX=	-music
+DISTFILES=	LICENSE \
+		${FONTS:S|$|:fonts|}
+DIST_SUBDIR=	Noto/Music/${PORTVERSION}
+EXTRACT_ONLY=	# empty
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Google Noto Music
+WWW=		https://fonts.google.com/noto \
+		https://notofonts.github.io/ \
+		https://github.com/notofonts/music \
+		https://github.com/notofonts/notofonts.github.io/tree/main/fonts/NotoMusic
+
+LICENSE=	OFL11
+LICENSE_FILE=	${DISTDIR}/${DIST_SUBDIR}/LICENSE
+
+USES=		fonts
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+NO_WRKSUBDIR=	yes
+
+PLIST_FILES=	${FONTSDIR}/NotoMusic-Regular.ttf
+
+FONTS=		NotoMusic-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-music/distinfo b/x11-fonts/noto-music/distinfo
new file mode 100644
index 000000000000..470f73852aa1
--- /dev/null
+++ b/x11-fonts/noto-music/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1715677650
+SHA256 (Noto/Music/2.003/LICENSE) = f2095b08bed08b23a6fe26112fcd679a2bee3f002eef077eb05d215ed1051bd8
+SIZE (Noto/Music/2.003/LICENSE) = 4374
+SHA256 (Noto/Music/2.003/NotoMusic-Regular.ttf) = fda9c3dcd4164edd5af283b581f17458ef55dc205b6e0607aa0fbfbf99ed5704
+SIZE (Noto/Music/2.003/NotoMusic-Regular.ttf) = 82308
diff --git a/x11-fonts/noto-music/pkg-descr b/x11-fonts/noto-music/pkg-descr
new file mode 100644
index 000000000000..141e00229a9b
--- /dev/null
+++ b/x11-fonts/noto-music/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 Music.