x11-fonts/noto-serif-sinhala: Add noto-serif-sinhala 2.007

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 Serif Sinhala.
This commit is contained in:
Po-Chuan Hsieh 2024-03-23 23:10:50 +08:00
parent 4aeaf08fbe
commit 9eee1b96f8
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
5 changed files with 80 additions and 0 deletions

View File

@ -242,6 +242,7 @@
SUBDIR += noto-serif-lao
SUBDIR += noto-serif-myanmar
SUBDIR += noto-serif-sc
SUBDIR += noto-serif-sinhala
SUBDIR += noto-serif-tc
SUBDIR += noto-tc
SUBDIR += nucleus

View File

@ -0,0 +1,28 @@
PORTNAME= noto
PORTVERSION= 2.007
CATEGORIES= x11-fonts
MASTER_SITES= https://github.com/notofonts/sinhala/releases/download/NotoSerifSinhala-v${PORTVERSION}/
PKGNAMESUFFIX= -serif-sinhala
DISTNAME= NotoSerifSinhala-v${PORTVERSION}
DIST_SUBDIR= Noto
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Google Noto Serif Sinhala
WWW= https://fonts.google.com/noto \
https://notofonts.github.io/ \
https://github.com/notofonts/sinhala
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}/NotoSerifSinhala/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1710676121
SHA256 (Noto/NotoSerifSinhala-v2.007.zip) = 654f7e394fc80f61667529582b16c5036b762e786741c398f1c359e332dd66a7
SIZE (Noto/NotoSerifSinhala-v2.007.zip) = 20462657

View File

@ -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 Serif Sinhala.

View File

@ -0,0 +1,36 @@
%%FONTSDIR%%/NotoSerifSinhala-Black.ttf
%%FONTSDIR%%/NotoSerifSinhala-Bold.ttf
%%FONTSDIR%%/NotoSerifSinhala-Condensed.ttf
%%FONTSDIR%%/NotoSerifSinhala-CondensedBlack.ttf
%%FONTSDIR%%/NotoSerifSinhala-CondensedBold.ttf
%%FONTSDIR%%/NotoSerifSinhala-CondensedExtraBold.ttf
%%FONTSDIR%%/NotoSerifSinhala-CondensedExtraLight.ttf
%%FONTSDIR%%/NotoSerifSinhala-CondensedLight.ttf
%%FONTSDIR%%/NotoSerifSinhala-CondensedMedium.ttf
%%FONTSDIR%%/NotoSerifSinhala-CondensedSemiBold.ttf
%%FONTSDIR%%/NotoSerifSinhala-CondensedThin.ttf
%%FONTSDIR%%/NotoSerifSinhala-ExtraBold.ttf
%%FONTSDIR%%/NotoSerifSinhala-ExtraCondensed.ttf
%%FONTSDIR%%/NotoSerifSinhala-ExtraCondensedBlack.ttf
%%FONTSDIR%%/NotoSerifSinhala-ExtraCondensedBold.ttf
%%FONTSDIR%%/NotoSerifSinhala-ExtraCondensedExtraBold.ttf
%%FONTSDIR%%/NotoSerifSinhala-ExtraCondensedExtraLight.ttf
%%FONTSDIR%%/NotoSerifSinhala-ExtraCondensedLight.ttf
%%FONTSDIR%%/NotoSerifSinhala-ExtraCondensedMedium.ttf
%%FONTSDIR%%/NotoSerifSinhala-ExtraCondensedSemiBold.ttf
%%FONTSDIR%%/NotoSerifSinhala-ExtraCondensedThin.ttf
%%FONTSDIR%%/NotoSerifSinhala-ExtraLight.ttf
%%FONTSDIR%%/NotoSerifSinhala-Light.ttf
%%FONTSDIR%%/NotoSerifSinhala-Medium.ttf
%%FONTSDIR%%/NotoSerifSinhala-Regular.ttf
%%FONTSDIR%%/NotoSerifSinhala-SemiBold.ttf
%%FONTSDIR%%/NotoSerifSinhala-SemiCondensed.ttf
%%FONTSDIR%%/NotoSerifSinhala-SemiCondensedBlack.ttf
%%FONTSDIR%%/NotoSerifSinhala-SemiCondensedBold.ttf
%%FONTSDIR%%/NotoSerifSinhala-SemiCondensedExtraBold.ttf
%%FONTSDIR%%/NotoSerifSinhala-SemiCondensedExtraLight.ttf
%%FONTSDIR%%/NotoSerifSinhala-SemiCondensedLight.ttf
%%FONTSDIR%%/NotoSerifSinhala-SemiCondensedMedium.ttf
%%FONTSDIR%%/NotoSerifSinhala-SemiCondensedSemiBold.ttf
%%FONTSDIR%%/NotoSerifSinhala-SemiCondensedThin.ttf
%%FONTSDIR%%/NotoSerifSinhala-Thin.ttf