aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-23 15:10:36 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-23 15:10:36 +0000
commit28fc50c49a7ee0ac1d92f262d22a9f0dc4005f59 (patch)
treeaa73706958fedd48d7b011ca72e9ae7cefa792b5 /x11-fonts
parentb501ba6cd8c3102ed024643efc45e768af5bc263 (diff)
downloadports-28fc50c49a7ee0ac1d92f262d22a9f0dc4005f59.tar.gz
ports-28fc50c49a7ee0ac1d92f262d22a9f0dc4005f59.zip
x11-fonts/noto-sans-sinhala: Add noto-sans-sinhala 2.006
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 Sans Sinhala.
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/noto-sans-sinhala/Makefile28
-rw-r--r--x11-fonts/noto-sans-sinhala/distinfo3
-rw-r--r--x11-fonts/noto-sans-sinhala/pkg-descr12
-rw-r--r--x11-fonts/noto-sans-sinhala/pkg-plist72
5 files changed, 116 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 6d10d7977cd3..33f0a7ac5503 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -216,6 +216,7 @@
SUBDIR += noto-sans-mono-extra
SUBDIR += noto-sans-myanmar
SUBDIR += noto-sans-sc
+ SUBDIR += noto-sans-sinhala
SUBDIR += noto-sans-tc
SUBDIR += noto-sc
SUBDIR += noto-serif-hk
diff --git a/x11-fonts/noto-sans-sinhala/Makefile b/x11-fonts/noto-sans-sinhala/Makefile
new file mode 100644
index 000000000000..3d0a01ecb089
--- /dev/null
+++ b/x11-fonts/noto-sans-sinhala/Makefile
@@ -0,0 +1,28 @@
+PORTNAME= noto
+PORTVERSION= 2.006
+CATEGORIES= x11-fonts
+MASTER_SITES= https://github.com/notofonts/sinhala/releases/download/NotoSansSinhala-v${PORTVERSION}/
+PKGNAMESUFFIX= -sans-sinhala
+DISTNAME= NotoSansSinhala-v${PORTVERSION}
+DIST_SUBDIR= Noto
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Google Noto Sans 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}/NotoSansSinhala/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/noto-sans-sinhala/distinfo b/x11-fonts/noto-sans-sinhala/distinfo
new file mode 100644
index 000000000000..fc3cae92114a
--- /dev/null
+++ b/x11-fonts/noto-sans-sinhala/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1710676087
+SHA256 (Noto/NotoSansSinhala-v2.006.zip) = d7b37c4474c7d4d46e268b482a786a7fa1dc1add773654a8499fd4e1cf276148
+SIZE (Noto/NotoSansSinhala-v2.006.zip) = 39960320
diff --git a/x11-fonts/noto-sans-sinhala/pkg-descr b/x11-fonts/noto-sans-sinhala/pkg-descr
new file mode 100644
index 000000000000..286f54d8175a
--- /dev/null
+++ b/x11-fonts/noto-sans-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 Sans Sinhala.
diff --git a/x11-fonts/noto-sans-sinhala/pkg-plist b/x11-fonts/noto-sans-sinhala/pkg-plist
new file mode 100644
index 000000000000..f4d2ed869f1b
--- /dev/null
+++ b/x11-fonts/noto-sans-sinhala/pkg-plist
@@ -0,0 +1,72 @@
+%%FONTSDIR%%/NotoSansSinhala-Black.ttf
+%%FONTSDIR%%/NotoSansSinhala-Bold.ttf
+%%FONTSDIR%%/NotoSansSinhala-Condensed.ttf
+%%FONTSDIR%%/NotoSansSinhala-CondensedBlack.ttf
+%%FONTSDIR%%/NotoSansSinhala-CondensedBold.ttf
+%%FONTSDIR%%/NotoSansSinhala-CondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSansSinhala-CondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSansSinhala-CondensedLight.ttf
+%%FONTSDIR%%/NotoSansSinhala-CondensedMedium.ttf
+%%FONTSDIR%%/NotoSansSinhala-CondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSansSinhala-CondensedThin.ttf
+%%FONTSDIR%%/NotoSansSinhala-ExtraBold.ttf
+%%FONTSDIR%%/NotoSansSinhala-ExtraCondensed.ttf
+%%FONTSDIR%%/NotoSansSinhala-ExtraCondensedBlack.ttf
+%%FONTSDIR%%/NotoSansSinhala-ExtraCondensedBold.ttf
+%%FONTSDIR%%/NotoSansSinhala-ExtraCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSansSinhala-ExtraCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSansSinhala-ExtraCondensedLight.ttf
+%%FONTSDIR%%/NotoSansSinhala-ExtraCondensedMedium.ttf
+%%FONTSDIR%%/NotoSansSinhala-ExtraCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSansSinhala-ExtraCondensedThin.ttf
+%%FONTSDIR%%/NotoSansSinhala-ExtraLight.ttf
+%%FONTSDIR%%/NotoSansSinhala-Light.ttf
+%%FONTSDIR%%/NotoSansSinhala-Medium.ttf
+%%FONTSDIR%%/NotoSansSinhala-Regular.ttf
+%%FONTSDIR%%/NotoSansSinhala-SemiBold.ttf
+%%FONTSDIR%%/NotoSansSinhala-SemiCondensed.ttf
+%%FONTSDIR%%/NotoSansSinhala-SemiCondensedBlack.ttf
+%%FONTSDIR%%/NotoSansSinhala-SemiCondensedBold.ttf
+%%FONTSDIR%%/NotoSansSinhala-SemiCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSansSinhala-SemiCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSansSinhala-SemiCondensedLight.ttf
+%%FONTSDIR%%/NotoSansSinhala-SemiCondensedMedium.ttf
+%%FONTSDIR%%/NotoSansSinhala-SemiCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSansSinhala-SemiCondensedThin.ttf
+%%FONTSDIR%%/NotoSansSinhala-Thin.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-Black.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-Bold.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-Condensed.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-CondensedBlack.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-CondensedBold.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-CondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-CondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-CondensedLight.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-CondensedMedium.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-CondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-CondensedThin.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-ExtraBold.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-ExtraCondensed.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-ExtraCondensedBlack.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-ExtraCondensedBold.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-ExtraCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-ExtraCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-ExtraCondensedLight.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-ExtraCondensedMedium.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-ExtraCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-ExtraCondensedThin.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-ExtraLight.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-Light.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-Medium.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-Regular.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-SemiBold.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-SemiCondensed.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-SemiCondensedBlack.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-SemiCondensedBold.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-SemiCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-SemiCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-SemiCondensedLight.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-SemiCondensedMedium.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-SemiCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-SemiCondensedThin.ttf
+%%FONTSDIR%%/NotoSansSinhalaUI-Thin.ttf