aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-13 19:31:45 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-13 19:31:45 +0000
commita9837626b295912012f8d64878c9c61f2de55ca6 (patch)
tree7bcf5d54a669dc495a3e90c70c4b92d5b67c6a86
parent05c6bcf7e6a4109e45579ac1432d6f6f92b9b00f (diff)
downloadports-a9837626b295912012f8d64878c9c61f2de55ca6.tar.gz
ports-a9837626b295912012f8d64878c9c61f2de55ca6.zip
x11-fonts/noto-sans-math: Add noto-sans-math 2.539
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 Math.
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/noto-sans-math/Makefile36
-rw-r--r--x11-fonts/noto-sans-math/distinfo5
-rw-r--r--x11-fonts/noto-sans-math/pkg-descr12
4 files changed, 54 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 6441f4b18387..84e4121ffb77 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -211,6 +211,7 @@
SUBDIR += noto-sans-khmer
SUBDIR += noto-sans-kr
SUBDIR += noto-sans-lao
+ SUBDIR += noto-sans-math
SUBDIR += noto-sans-mono
SUBDIR += noto-sans-myanmar
SUBDIR += noto-sans-sc
diff --git a/x11-fonts/noto-sans-math/Makefile b/x11-fonts/noto-sans-math/Makefile
new file mode 100644
index 000000000000..7caaa36be054
--- /dev/null
+++ b/x11-fonts/noto-sans-math/Makefile
@@ -0,0 +1,36 @@
+PORTNAME= noto
+PORTVERSION= 2.539
+CATEGORIES= x11-fonts
+MASTER_SITES= https://github.com/notofonts/notofonts.github.io/raw/NotoSansMath-v${PORTVERSION}/fonts/ \
+ https://github.com/notofonts/notofonts.github.io/raw/NotoSansMath-v${PORTVERSION}/fonts/NotoSansMath/hinted/ttf/:fonts
+PKGNAMESUFFIX= -sans-math
+DISTFILES= LICENSE \
+ ${FONTS:S|$|:fonts|}
+DIST_SUBDIR= Noto/SansMath/${PORTVERSION}
+EXTRACT_ONLY= # empty
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Google Noto Sans Math
+WWW= https://fonts.google.com/noto \
+ https://notofonts.github.io/ \
+ https://github.com/notofonts/math \
+ https://github.com/notofonts/notofonts.github.io/tree/main/fonts/NotoSansMath
+
+LICENSE= OFL11
+LICENSE_FILE= ${DISTDIR}/${DIST_SUBDIR}/LICENSE
+
+USES= fonts
+
+NO_ARCH= yes
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+
+PLIST_FILES= ${FONTSDIR}/NotoSansMath-Regular.ttf
+
+FONTS= NotoSansMath-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-math/distinfo b/x11-fonts/noto-sans-math/distinfo
new file mode 100644
index 000000000000..53ac9c185b34
--- /dev/null
+++ b/x11-fonts/noto-sans-math/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1714280020
+SHA256 (Noto/SansMath/2.539/LICENSE) = f2095b08bed08b23a6fe26112fcd679a2bee3f002eef077eb05d215ed1051bd8
+SIZE (Noto/SansMath/2.539/LICENSE) = 4374
+SHA256 (Noto/SansMath/2.539/NotoSansMath-Regular.ttf) = b6580a3b592c04dc15ea3bec26415375471bb4ed071eb2d7f7efc88e81fa5ae9
+SIZE (Noto/SansMath/2.539/NotoSansMath-Regular.ttf) = 966008
diff --git a/x11-fonts/noto-sans-math/pkg-descr b/x11-fonts/noto-sans-math/pkg-descr
new file mode 100644
index 000000000000..f27918501fa5
--- /dev/null
+++ b/x11-fonts/noto-sans-math/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 Math.