aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-23 15:10:51 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-23 15:10:51 +0000
commit876c9240452415feb678f5bcdaaa18c53880ed18 (patch)
treeeff695ee04448cee10b5c83aeffc944ec18cb570
parent1c5129c084d81965721134c392a7cfcab021568a (diff)
downloadports-876c9240452415feb678f5bcdaaa18c53880ed18.tar.gz
ports-876c9240452415feb678f5bcdaaa18c53880ed18.zip
x11-fonts/noto-serif-telugu: Add noto-serif-telugu 2.005
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 Telugu.
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/noto-serif-telugu/Makefile28
-rw-r--r--x11-fonts/noto-serif-telugu/distinfo3
-rw-r--r--x11-fonts/noto-serif-telugu/pkg-descr12
-rw-r--r--x11-fonts/noto-serif-telugu/pkg-plist9
5 files changed, 53 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 95f940056c9c..5985ef23b04f 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -245,6 +245,7 @@
SUBDIR += noto-serif-sinhala
SUBDIR += noto-serif-tamil
SUBDIR += noto-serif-tc
+ SUBDIR += noto-serif-telugu
SUBDIR += noto-tc
SUBDIR += nucleus
SUBDIR += office-code-pro
diff --git a/x11-fonts/noto-serif-telugu/Makefile b/x11-fonts/noto-serif-telugu/Makefile
new file mode 100644
index 000000000000..7ea06fd572fd
--- /dev/null
+++ b/x11-fonts/noto-serif-telugu/Makefile
@@ -0,0 +1,28 @@
+PORTNAME= noto
+PORTVERSION= 2.005
+CATEGORIES= x11-fonts
+MASTER_SITES= https://github.com/notofonts/telugu/releases/download/NotoSerifTelugu-v${PORTVERSION}/
+PKGNAMESUFFIX= -serif-telugu
+DISTNAME= NotoSerifTelugu-v${PORTVERSION}
+DIST_SUBDIR= Noto
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Google Noto Serif Telugu
+WWW= https://fonts.google.com/noto \
+ https://notofonts.github.io/ \
+ https://github.com/notofonts/telugu
+
+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}/NotoSerifTelugu/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/noto-serif-telugu/distinfo b/x11-fonts/noto-serif-telugu/distinfo
new file mode 100644
index 000000000000..23527afe478a
--- /dev/null
+++ b/x11-fonts/noto-serif-telugu/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1710676125
+SHA256 (Noto/NotoSerifTelugu-v2.005.zip) = 98b9b2478b4c2febefcdf92693ba098f44d55a70570b9cb88fad55018cc2f7f5
+SIZE (Noto/NotoSerifTelugu-v2.005.zip) = 5882887
diff --git a/x11-fonts/noto-serif-telugu/pkg-descr b/x11-fonts/noto-serif-telugu/pkg-descr
new file mode 100644
index 000000000000..6cd85bc66fdc
--- /dev/null
+++ b/x11-fonts/noto-serif-telugu/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 Telugu.
diff --git a/x11-fonts/noto-serif-telugu/pkg-plist b/x11-fonts/noto-serif-telugu/pkg-plist
new file mode 100644
index 000000000000..edaf7a2638d5
--- /dev/null
+++ b/x11-fonts/noto-serif-telugu/pkg-plist
@@ -0,0 +1,9 @@
+%%FONTSDIR%%/NotoSerifTelugu-Black.ttf
+%%FONTSDIR%%/NotoSerifTelugu-Bold.ttf
+%%FONTSDIR%%/NotoSerifTelugu-ExtraBold.ttf
+%%FONTSDIR%%/NotoSerifTelugu-ExtraLight.ttf
+%%FONTSDIR%%/NotoSerifTelugu-Light.ttf
+%%FONTSDIR%%/NotoSerifTelugu-Medium.ttf
+%%FONTSDIR%%/NotoSerifTelugu-Regular.ttf
+%%FONTSDIR%%/NotoSerifTelugu-SemiBold.ttf
+%%FONTSDIR%%/NotoSerifTelugu-Thin.ttf