summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-23 23:10:38 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-23 23:10:38 +0800
commite7845321557eaba8624c1cccab3659f05fafbaf8 (patch)
tree66aeb731c3eaa3834adc65303c582521ef313279
parentx11-fonts/noto-sans-symbols-basic: Add noto-sans-symbols-basic 2.003 (diff)
x11-fonts/noto-sans-symbols-extra: Add noto-sans-symbols-extra 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 extra fonts set of Noto Sans Symbols.
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/noto-sans-symbols-extra/Makefile32
-rw-r--r--x11-fonts/noto-sans-symbols-extra/distinfo3
-rw-r--r--x11-fonts/noto-sans-symbols-extra/pkg-descr12
-rw-r--r--x11-fonts/noto-sans-symbols-extra/pkg-plist7
5 files changed, 55 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index d5a287bad589..ee241567b24e 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -219,6 +219,7 @@
SUBDIR += noto-sans-sinhala
SUBDIR += noto-sans-symbols
SUBDIR += noto-sans-symbols-basic
+ SUBDIR += noto-sans-symbols-extra
SUBDIR += noto-sans-tc
SUBDIR += noto-sc
SUBDIR += noto-serif-hk
diff --git a/x11-fonts/noto-sans-symbols-extra/Makefile b/x11-fonts/noto-sans-symbols-extra/Makefile
new file mode 100644
index 000000000000..d8522a4e7432
--- /dev/null
+++ b/x11-fonts/noto-sans-symbols-extra/Makefile
@@ -0,0 +1,32 @@
+PORTNAME= noto
+PORTVERSION= 2.003
+CATEGORIES= x11-fonts
+MASTER_SITES= https://github.com/notofonts/symbols/releases/download/NotoSansSymbols-v${PORTVERSION}/
+PKGNAMESUFFIX= -sans-symbols-extra
+DISTNAME= NotoSansSymbols-v${PORTVERSION}
+DIST_SUBDIR= Noto
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Google Noto Sans Symbols (Extra)
+WWW= https://fonts.google.com/noto \
+ https://notofonts.github.io/ \
+ https://github.com/notofonts/symbols
+
+LICENSE= OFL11
+LICENSE_FILE= ${WRKSRC}/OFL.txt
+
+USES= fonts zip
+
+NO_ARCH= yes
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+
+post-patch:
+ @${RM} ${WRKSRC}/NotoSansSymbols/hinted/ttf/NotoSansSymbols-Bold.ttf
+ @${RM} ${WRKSRC}/NotoSansSymbols/hinted/ttf/NotoSansSymbols-Regular.ttf
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/NotoSansSymbols/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/noto-sans-symbols-extra/distinfo b/x11-fonts/noto-sans-symbols-extra/distinfo
new file mode 100644
index 000000000000..beb307bafa5f
--- /dev/null
+++ b/x11-fonts/noto-sans-symbols-extra/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1710676089
+SHA256 (Noto/NotoSansSymbols-v2.003.zip) = 0c113cdcf6c31d050b80dac39fba2d804a6985281012e76e9220c0a00da007f3
+SIZE (Noto/NotoSansSymbols-v2.003.zip) = 6607022
diff --git a/x11-fonts/noto-sans-symbols-extra/pkg-descr b/x11-fonts/noto-sans-symbols-extra/pkg-descr
new file mode 100644
index 000000000000..34ce6f705b2d
--- /dev/null
+++ b/x11-fonts/noto-sans-symbols-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 Symbols.
diff --git a/x11-fonts/noto-sans-symbols-extra/pkg-plist b/x11-fonts/noto-sans-symbols-extra/pkg-plist
new file mode 100644
index 000000000000..6117f5549f2c
--- /dev/null
+++ b/x11-fonts/noto-sans-symbols-extra/pkg-plist
@@ -0,0 +1,7 @@
+%%FONTSDIR%%/NotoSansSymbols-Black.ttf
+%%FONTSDIR%%/NotoSansSymbols-ExtraBold.ttf
+%%FONTSDIR%%/NotoSansSymbols-ExtraLight.ttf
+%%FONTSDIR%%/NotoSansSymbols-Light.ttf
+%%FONTSDIR%%/NotoSansSymbols-Medium.ttf
+%%FONTSDIR%%/NotoSansSymbols-SemiBold.ttf
+%%FONTSDIR%%/NotoSansSymbols-Thin.ttf