Skip to content

Commit

Permalink
x11-fonts/noto-serif-sinhala: Add noto-serif-sinhala 2.007
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 fonts set of Noto Serif Sinhala.
  • Loading branch information
sunpoet committed Mar 23, 2024
1 parent 4aeaf08 commit 9eee1b9
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 0 deletions.
1 change: 1 addition & 0 deletions x11-fonts/Makefile
Expand Up @@ -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
Expand Down
28 changes: 28 additions & 0 deletions x11-fonts/noto-serif-sinhala/Makefile
@@ -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>
3 changes: 3 additions & 0 deletions x11-fonts/noto-serif-sinhala/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1710676121
SHA256 (Noto/NotoSerifSinhala-v2.007.zip) = 654f7e394fc80f61667529582b16c5036b762e786741c398f1c359e332dd66a7
SIZE (Noto/NotoSerifSinhala-v2.007.zip) = 20462657
12 changes: 12 additions & 0 deletions x11-fonts/noto-serif-sinhala/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 Serif Sinhala.
36 changes: 36 additions & 0 deletions x11-fonts/noto-serif-sinhala/pkg-plist
@@ -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

0 comments on commit 9eee1b9

Please sign in to comment.