summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-23 23:10:48 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-23 23:10:48 +0800
commit606499eec9d80fd6a769bac3941a64f86cf879f3 (patch)
tree969463f6933c4e8a11da31e48ad09dc17d310fcc
parentx11-fonts/noto-serif-khmer: Add noto-serif-khmer 2.004 (diff)
x11-fonts/noto-serif-lao: Add noto-serif-lao 2.003
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 Lao.
Diffstat (limited to '')
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/noto-serif-lao/Makefile28
-rw-r--r--x11-fonts/noto-serif-lao/distinfo3
-rw-r--r--x11-fonts/noto-serif-lao/pkg-descr12
-rw-r--r--x11-fonts/noto-serif-lao/pkg-plist36
5 files changed, 80 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 47526bcb7b28..31c31ee74197 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -239,6 +239,7 @@
SUBDIR += noto-serif-jp
SUBDIR += noto-serif-khmer
SUBDIR += noto-serif-kr
+ SUBDIR += noto-serif-lao
SUBDIR += noto-serif-sc
SUBDIR += noto-serif-tc
SUBDIR += noto-tc
diff --git a/x11-fonts/noto-serif-lao/Makefile b/x11-fonts/noto-serif-lao/Makefile
new file mode 100644
index 000000000000..d7dd9d91d3d6
--- /dev/null
+++ b/x11-fonts/noto-serif-lao/Makefile
@@ -0,0 +1,28 @@
+PORTNAME= noto
+PORTVERSION= 2.003
+CATEGORIES= x11-fonts
+MASTER_SITES= https://github.com/notofonts/lao/releases/download/NotoSerifLao-v${PORTVERSION}/
+PKGNAMESUFFIX= -serif-lao
+DISTNAME= NotoSerifLao-v${PORTVERSION}
+DIST_SUBDIR= Noto
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Google Noto Serif Lao
+WWW= https://fonts.google.com/noto \
+ https://notofonts.github.io/ \
+ https://github.com/notofonts/lao
+
+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}/NotoSerifLao/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/noto-serif-lao/distinfo b/x11-fonts/noto-serif-lao/distinfo
new file mode 100644
index 000000000000..7e1db8848882
--- /dev/null
+++ b/x11-fonts/noto-serif-lao/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1710676117
+SHA256 (Noto/NotoSerifLao-v2.003.zip) = e96a303d3347790b0ef3db274971a989a736ce766ec9ea1bea0e1458568a80b2
+SIZE (Noto/NotoSerifLao-v2.003.zip) = 5587972
diff --git a/x11-fonts/noto-serif-lao/pkg-descr b/x11-fonts/noto-serif-lao/pkg-descr
new file mode 100644
index 000000000000..29dc9666c8a3
--- /dev/null
+++ b/x11-fonts/noto-serif-lao/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 Lao.
diff --git a/x11-fonts/noto-serif-lao/pkg-plist b/x11-fonts/noto-serif-lao/pkg-plist
new file mode 100644
index 000000000000..dc4f12addaf4
--- /dev/null
+++ b/x11-fonts/noto-serif-lao/pkg-plist
@@ -0,0 +1,36 @@
+%%FONTSDIR%%/NotoSerifLao-Black.ttf
+%%FONTSDIR%%/NotoSerifLao-Bold.ttf
+%%FONTSDIR%%/NotoSerifLao-Condensed.ttf
+%%FONTSDIR%%/NotoSerifLao-CondensedBlack.ttf
+%%FONTSDIR%%/NotoSerifLao-CondensedBold.ttf
+%%FONTSDIR%%/NotoSerifLao-CondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSerifLao-CondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSerifLao-CondensedLight.ttf
+%%FONTSDIR%%/NotoSerifLao-CondensedMedium.ttf
+%%FONTSDIR%%/NotoSerifLao-CondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSerifLao-CondensedThin.ttf
+%%FONTSDIR%%/NotoSerifLao-ExtraBold.ttf
+%%FONTSDIR%%/NotoSerifLao-ExtraCondensed.ttf
+%%FONTSDIR%%/NotoSerifLao-ExtraCondensedBlack.ttf
+%%FONTSDIR%%/NotoSerifLao-ExtraCondensedBold.ttf
+%%FONTSDIR%%/NotoSerifLao-ExtraCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSerifLao-ExtraCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSerifLao-ExtraCondensedLight.ttf
+%%FONTSDIR%%/NotoSerifLao-ExtraCondensedMedium.ttf
+%%FONTSDIR%%/NotoSerifLao-ExtraCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSerifLao-ExtraCondensedThin.ttf
+%%FONTSDIR%%/NotoSerifLao-ExtraLight.ttf
+%%FONTSDIR%%/NotoSerifLao-Light.ttf
+%%FONTSDIR%%/NotoSerifLao-Medium.ttf
+%%FONTSDIR%%/NotoSerifLao-Regular.ttf
+%%FONTSDIR%%/NotoSerifLao-SemiBold.ttf
+%%FONTSDIR%%/NotoSerifLao-SemiCondensed.ttf
+%%FONTSDIR%%/NotoSerifLao-SemiCondensedBlack.ttf
+%%FONTSDIR%%/NotoSerifLao-SemiCondensedBold.ttf
+%%FONTSDIR%%/NotoSerifLao-SemiCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSerifLao-SemiCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSerifLao-SemiCondensedLight.ttf
+%%FONTSDIR%%/NotoSerifLao-SemiCondensedMedium.ttf
+%%FONTSDIR%%/NotoSerifLao-SemiCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSerifLao-SemiCondensedThin.ttf
+%%FONTSDIR%%/NotoSerifLao-Thin.ttf