aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-23 15:10:26 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-23 15:10:26 +0000
commit917dc67be6897eb70fa79d39d0890515f17194fe (patch)
tree9f6f6d2839a0803a6136458d58c273225f7ffa15 /x11-fonts
parent4e334f29e50606c86c30baf8f013438b66c25661 (diff)
downloadports-917dc67be6897eb70fa79d39d0890515f17194fe.tar.gz
ports-917dc67be6897eb70fa79d39d0890515f17194fe.zip
x11-fonts/noto-sans-basic: Add noto-sans-basic 2.013
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.
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/noto-sans-basic/Makefile31
-rw-r--r--x11-fonts/noto-sans-basic/distinfo3
-rw-r--r--x11-fonts/noto-sans-basic/pkg-descr12
-rw-r--r--x11-fonts/noto-sans-basic/pkg-plist4
5 files changed, 51 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index a22634c6ff6f..e875f15ca045 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -197,6 +197,7 @@
SUBDIR += noto-naskh-arabic
SUBDIR += noto-sans-arabic
SUBDIR += noto-sans-armenian
+ SUBDIR += noto-sans-basic
SUBDIR += noto-sans-hk
SUBDIR += noto-sans-jp
SUBDIR += noto-sans-kr
diff --git a/x11-fonts/noto-sans-basic/Makefile b/x11-fonts/noto-sans-basic/Makefile
new file mode 100644
index 000000000000..a0e3740079fb
--- /dev/null
+++ b/x11-fonts/noto-sans-basic/Makefile
@@ -0,0 +1,31 @@
+PORTNAME= noto
+PORTVERSION= 2.013
+CATEGORIES= x11-fonts
+MASTER_SITES= https://github.com/notofonts/latin-greek-cyrillic/releases/download/NotoSans-v${PORTVERSION}/
+PKGNAMESUFFIX= -sans-basic
+DISTNAME= NotoSans-v${PORTVERSION}
+DIST_SUBDIR= Noto
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Google Noto Sans (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
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/NotoSans/hinted/ttf/NotoSans-Bold.ttf ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/NotoSans/hinted/ttf/NotoSans-BoldItalic.ttf ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/NotoSans/hinted/ttf/NotoSans-Italic.ttf ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/NotoSans/hinted/ttf/NotoSans-Regular.ttf ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/noto-sans-basic/distinfo b/x11-fonts/noto-sans-basic/distinfo
new file mode 100644
index 000000000000..511be29dd377
--- /dev/null
+++ b/x11-fonts/noto-sans-basic/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1710676063
+SHA256 (Noto/NotoSans-v2.013.zip) = 9fd595dd701d7ea103a9ba8a9cfdcf0c35c5574ef754fecabe718eadad8bccde
+SIZE (Noto/NotoSans-v2.013.zip) = 124008613
diff --git a/x11-fonts/noto-sans-basic/pkg-descr b/x11-fonts/noto-sans-basic/pkg-descr
new file mode 100644
index 000000000000..5a4dbec946df
--- /dev/null
+++ b/x11-fonts/noto-sans-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.
diff --git a/x11-fonts/noto-sans-basic/pkg-plist b/x11-fonts/noto-sans-basic/pkg-plist
new file mode 100644
index 000000000000..bb07f7e27079
--- /dev/null
+++ b/x11-fonts/noto-sans-basic/pkg-plist
@@ -0,0 +1,4 @@
+%%FONTSDIR%%/NotoSans-Bold.ttf
+%%FONTSDIR%%/NotoSans-BoldItalic.ttf
+%%FONTSDIR%%/NotoSans-Italic.ttf
+%%FONTSDIR%%/NotoSans-Regular.ttf