summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-23 23:10:34 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-23 23:10:34 +0800
commit85e59e9b7f648a2a922710153d5d25cf55ccf0b4 (patch)
tree0b1f6c5f82e21432498684753f0c70d262d09274
parentx11-fonts/noto-sans-mono: Add noto-sans-mono 2.014 (diff)
x11-fonts/noto-sans-mono-basic: Add noto-sans-mono-basic 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 basic fonts set of Noto Sans Mono.
Diffstat (limited to '')
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/noto-sans-mono-basic/Makefile32
-rw-r--r--x11-fonts/noto-sans-mono-basic/distinfo3
-rw-r--r--x11-fonts/noto-sans-mono-basic/pkg-descr12
4 files changed, 48 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 6e9f52df92dc..cd42ebc2b849 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -212,6 +212,7 @@
SUBDIR += noto-sans-kr
SUBDIR += noto-sans-lao
SUBDIR += noto-sans-mono
+ SUBDIR += noto-sans-mono-basic
SUBDIR += noto-sans-sc
SUBDIR += noto-sans-tc
SUBDIR += noto-sc
diff --git a/x11-fonts/noto-sans-mono-basic/Makefile b/x11-fonts/noto-sans-mono-basic/Makefile
new file mode 100644
index 000000000000..70ea7da621e2
--- /dev/null
+++ b/x11-fonts/noto-sans-mono-basic/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-basic
+DISTNAME= NotoSansMono-v${PORTVERSION}
+DIST_SUBDIR= Noto
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Google Noto Sans Mono (Basic)
+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
+
+PLIST_FILES= ${FONTSDIR}/NotoSansMono-Bold.ttf \
+ ${FONTSDIR}/NotoSansMono-Regular.ttf
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/NotoSansMono/hinted/ttf/NotoSansMono-Bold.ttf ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/NotoSansMono/hinted/ttf/NotoSansMono-Regular.ttf ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/noto-sans-mono-basic/distinfo b/x11-fonts/noto-sans-mono-basic/distinfo
new file mode 100644
index 000000000000..38cea560f37e
--- /dev/null
+++ b/x11-fonts/noto-sans-mono-basic/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-basic/pkg-descr b/x11-fonts/noto-sans-mono-basic/pkg-descr
new file mode 100644
index 000000000000..0361f789fd43
--- /dev/null
+++ b/x11-fonts/noto-sans-mono-basic/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 basic fonts set of Noto Sans Mono.