Skip to content

Commit

Permalink
x11-fonts/noto-serif-basic: Add noto-serif-basic 2.013
Browse files Browse the repository at this point in the history
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 Serif.
  • Loading branch information
sunpoet committed Mar 23, 2024
1 parent 09729d4 commit 572399f
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 0 deletions.
1 change: 1 addition & 0 deletions x11-fonts/Makefile
Expand Up @@ -226,6 +226,7 @@
SUBDIR += noto-sans-telugu
SUBDIR += noto-sans-thai
SUBDIR += noto-sc
SUBDIR += noto-serif-basic
SUBDIR += noto-serif-hk
SUBDIR += noto-serif-jp
SUBDIR += noto-serif-kr
Expand Down
31 changes: 31 additions & 0 deletions x11-fonts/noto-serif-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/NotoSerif-v${PORTVERSION}/
PKGNAMESUFFIX= -serif-basic
DISTNAME= NotoSerif-v${PORTVERSION}
DIST_SUBDIR= Noto

MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Google Noto Serif (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}/NotoSerif/hinted/ttf/NotoSerif-Bold.ttf ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/NotoSerif/hinted/ttf/NotoSerif-BoldItalic.ttf ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/NotoSerif/hinted/ttf/NotoSerif-Italic.ttf ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/NotoSerif/hinted/ttf/NotoSerif-Regular.ttf ${STAGEDIR}${FONTSDIR}

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions x11-fonts/noto-serif-basic/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1710676099
SHA256 (Noto/NotoSerif-v2.013.zip) = fb4c6c75f10365f63b5c8ad5a1864ebe46dd0c70c40d0461cb0dc1b1b7c13a35
SIZE (Noto/NotoSerif-v2.013.zip) = 78763707
12 changes: 12 additions & 0 deletions x11-fonts/noto-serif-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 Serif.
4 changes: 4 additions & 0 deletions x11-fonts/noto-serif-basic/pkg-plist
@@ -0,0 +1,4 @@
%%FONTSDIR%%/NotoSerif-Bold.ttf
%%FONTSDIR%%/NotoSerif-BoldItalic.ttf
%%FONTSDIR%%/NotoSerif-Italic.ttf
%%FONTSDIR%%/NotoSerif-Regular.ttf

0 comments on commit 572399f

Please sign in to comment.