Date: Sat, 23 Mar 2024 15:12:18 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: e85e2d86414b - main - x11-fonts/noto-sans-khmer: Add noto-sans-khmer 2.004 Message-ID: <202403231512.42NFCIJE034429@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e85e2d86414bb3610790b9ffebecf8af4620a97b commit e85e2d86414bb3610790b9ffebecf8af4620a97b Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-03-23 15:10:32 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-03-23 15:10:32 +0000 x11-fonts/noto-sans-khmer: Add noto-sans-khmer 2.004 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 Khmer. --- x11-fonts/Makefile | 1 + x11-fonts/noto-sans-khmer/Makefile | 28 ++++++++++++++++++++++++++++ x11-fonts/noto-sans-khmer/distinfo | 3 +++ x11-fonts/noto-sans-khmer/pkg-descr | 12 ++++++++++++ x11-fonts/noto-sans-khmer/pkg-plist | 36 ++++++++++++++++++++++++++++++++++++ 5 files changed, 80 insertions(+) diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index 35758bd7538c..19a9fb9e9bc5 100644 --- a/x11-fonts/Makefile +++ b/x11-fonts/Makefile @@ -208,6 +208,7 @@ SUBDIR += noto-sans-hebrew SUBDIR += noto-sans-hk SUBDIR += noto-sans-jp + SUBDIR += noto-sans-khmer SUBDIR += noto-sans-kr SUBDIR += noto-sans-sc SUBDIR += noto-sans-tc diff --git a/x11-fonts/noto-sans-khmer/Makefile b/x11-fonts/noto-sans-khmer/Makefile new file mode 100644 index 000000000000..2aee15f45a9d --- /dev/null +++ b/x11-fonts/noto-sans-khmer/Makefile @@ -0,0 +1,28 @@ +PORTNAME= noto +PORTVERSION= 2.004 +CATEGORIES= x11-fonts +MASTER_SITES= https://github.com/notofonts/khmer/releases/download/NotoSansKhmer-v${PORTVERSION}/ +PKGNAMESUFFIX= -sans-khmer +DISTNAME= NotoSansKhmer-v${PORTVERSION} +DIST_SUBDIR= Noto + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Google Noto Sans Khmer +WWW= https://fonts.google.com/noto \ + https://notofonts.github.io/ \ + https://github.com/notofonts/khmer + +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}/NotoSansKhmer/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR} + +.include <bsd.port.mk> diff --git a/x11-fonts/noto-sans-khmer/distinfo b/x11-fonts/noto-sans-khmer/distinfo new file mode 100644 index 000000000000..fff71ed5301e --- /dev/null +++ b/x11-fonts/noto-sans-khmer/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1710676079 +SHA256 (Noto/NotoSansKhmer-v2.004.zip) = 19382ca97d62febea1c735ebee35a5aa4f03beca9b6ea6f6d86b7a7a0025a688 +SIZE (Noto/NotoSansKhmer-v2.004.zip) = 8949267 diff --git a/x11-fonts/noto-sans-khmer/pkg-descr b/x11-fonts/noto-sans-khmer/pkg-descr new file mode 100644 index 000000000000..00ade5bcd159 --- /dev/null +++ b/x11-fonts/noto-sans-khmer/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 Khmer. diff --git a/x11-fonts/noto-sans-khmer/pkg-plist b/x11-fonts/noto-sans-khmer/pkg-plist new file mode 100644 index 000000000000..a8a11d951af3 --- /dev/null +++ b/x11-fonts/noto-sans-khmer/pkg-plist @@ -0,0 +1,36 @@ +%%FONTSDIR%%/NotoSansKhmer-Black.ttf +%%FONTSDIR%%/NotoSansKhmer-Bold.ttf +%%FONTSDIR%%/NotoSansKhmer-Condensed.ttf +%%FONTSDIR%%/NotoSansKhmer-CondensedBlack.ttf +%%FONTSDIR%%/NotoSansKhmer-CondensedBold.ttf +%%FONTSDIR%%/NotoSansKhmer-CondensedExtraBold.ttf +%%FONTSDIR%%/NotoSansKhmer-CondensedExtraLight.ttf +%%FONTSDIR%%/NotoSansKhmer-CondensedLight.ttf +%%FONTSDIR%%/NotoSansKhmer-CondensedMedium.ttf +%%FONTSDIR%%/NotoSansKhmer-CondensedSemiBold.ttf +%%FONTSDIR%%/NotoSansKhmer-CondensedThin.ttf +%%FONTSDIR%%/NotoSansKhmer-ExtraBold.ttf +%%FONTSDIR%%/NotoSansKhmer-ExtraCondensed.ttf +%%FONTSDIR%%/NotoSansKhmer-ExtraCondensedBlack.ttf +%%FONTSDIR%%/NotoSansKhmer-ExtraCondensedBold.ttf +%%FONTSDIR%%/NotoSansKhmer-ExtraCondensedExtraBold.ttf +%%FONTSDIR%%/NotoSansKhmer-ExtraCondensedExtraLight.ttf +%%FONTSDIR%%/NotoSansKhmer-ExtraCondensedLight.ttf +%%FONTSDIR%%/NotoSansKhmer-ExtraCondensedMedium.ttf +%%FONTSDIR%%/NotoSansKhmer-ExtraCondensedSemiBold.ttf +%%FONTSDIR%%/NotoSansKhmer-ExtraCondensedThin.ttf +%%FONTSDIR%%/NotoSansKhmer-ExtraLight.ttf +%%FONTSDIR%%/NotoSansKhmer-Light.ttf +%%FONTSDIR%%/NotoSansKhmer-Medium.ttf +%%FONTSDIR%%/NotoSansKhmer-Regular.ttf +%%FONTSDIR%%/NotoSansKhmer-SemiBold.ttf +%%FONTSDIR%%/NotoSansKhmer-SemiCondensed.ttf +%%FONTSDIR%%/NotoSansKhmer-SemiCondensedBlack.ttf +%%FONTSDIR%%/NotoSansKhmer-SemiCondensedBold.ttf +%%FONTSDIR%%/NotoSansKhmer-SemiCondensedExtraBold.ttf +%%FONTSDIR%%/NotoSansKhmer-SemiCondensedExtraLight.ttf +%%FONTSDIR%%/NotoSansKhmer-SemiCondensedLight.ttf +%%FONTSDIR%%/NotoSansKhmer-SemiCondensedMedium.ttf +%%FONTSDIR%%/NotoSansKhmer-SemiCondensedSemiBold.ttf +%%FONTSDIR%%/NotoSansKhmer-SemiCondensedThin.ttf +%%FONTSDIR%%/NotoSansKhmer-Thin.ttf
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403231512.42NFCIJE034429>