Skip to content

Commit

Permalink
x11-fonts/noto-sans-symbols-extra: Add noto-sans-symbols-extra 2.003
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 extra fonts set of Noto Sans Symbols.
  • Loading branch information
sunpoet committed Mar 23, 2024
1 parent ed1b024 commit e784532
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 0 deletions.
1 change: 1 addition & 0 deletions x11-fonts/Makefile
Expand Up @@ -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
Expand Down
32 changes: 32 additions & 0 deletions 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>
3 changes: 3 additions & 0 deletions 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
12 changes: 12 additions & 0 deletions 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.
7 changes: 7 additions & 0 deletions 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

0 comments on commit e784532

Please sign in to comment.