git: 4aeaf08fbe09 - main - x11-fonts/noto-serif-myanmar: Add noto-serif-myanmar 2.106

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

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

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

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

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 31c31ee74197..32672e7e8ada 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -240,6 +240,7 @@
     SUBDIR += noto-serif-khmer
     SUBDIR += noto-serif-kr
     SUBDIR += noto-serif-lao
+    SUBDIR += noto-serif-myanmar
     SUBDIR += noto-serif-sc
     SUBDIR += noto-serif-tc
     SUBDIR += noto-tc
diff --git a/x11-fonts/noto-serif-myanmar/Makefile b/x11-fonts/noto-serif-myanmar/Makefile
new file mode 100644
index 000000000000..c0b6179db80d
--- /dev/null
+++ b/x11-fonts/noto-serif-myanmar/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	noto
+PORTVERSION=	2.106
+CATEGORIES=	x11-fonts
+MASTER_SITES=	https://github.com/notofonts/myanmar/releases/download/NotoSerifMyanmar-v${PORTVERSION}/
+PKGNAMESUFFIX=	-serif-myanmar
+DISTNAME=	NotoSerifMyanmar-v${PORTVERSION}
+DIST_SUBDIR=	Noto
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Google Noto Serif Myanmar
+WWW=		https://fonts.google.com/noto \
+		https://notofonts.github.io/ \
+		https://github.com/notofonts/myanmar
+
+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}/NotoSerifMyanmar/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/noto-serif-myanmar/distinfo b/x11-fonts/noto-serif-myanmar/distinfo
new file mode 100644
index 000000000000..f707e67dacac
--- /dev/null
+++ b/x11-fonts/noto-serif-myanmar/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1710676119
+SHA256 (Noto/NotoSerifMyanmar-v2.106.zip) = dc425f27d119c763c0f567c938f8f629effcb1f13df1e2661baec3e5a2d046e3
+SIZE (Noto/NotoSerifMyanmar-v2.106.zip) = 22766074
diff --git a/x11-fonts/noto-serif-myanmar/pkg-descr b/x11-fonts/noto-serif-myanmar/pkg-descr
new file mode 100644
index 000000000000..a33fbc472e70
--- /dev/null
+++ b/x11-fonts/noto-serif-myanmar/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 Myanmar.
diff --git a/x11-fonts/noto-serif-myanmar/pkg-plist b/x11-fonts/noto-serif-myanmar/pkg-plist
new file mode 100644
index 000000000000..057c3ccc7060
--- /dev/null
+++ b/x11-fonts/noto-serif-myanmar/pkg-plist
@@ -0,0 +1,36 @@
+%%FONTSDIR%%/NotoSerifMyanmar-Black.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-Bold.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-Condensed.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-CondensedBlack.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-CondensedBold.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-CondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-CondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-CondensedLight.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-CondensedMedium.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-CondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-CondensedThin.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-ExtraBold.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-ExtraCondensed.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-ExtraCondensedBlack.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-ExtraCondensedBold.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-ExtraCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-ExtraCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-ExtraCondensedLight.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-ExtraCondensedMedium.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-ExtraCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-ExtraCondensedThin.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-ExtraLight.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-Light.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-Medium.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-Regular.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-SemiBold.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-SemiCondensed.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-SemiCondensedBlack.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-SemiCondensedBold.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-SemiCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-SemiCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-SemiCondensedLight.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-SemiCondensedMedium.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-SemiCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-SemiCondensedThin.ttf
+%%FONTSDIR%%/NotoSerifMyanmar-Thin.ttf