Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2024 15:12:44 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: b1d82e823b15 - main - x11-fonts/noto-serif-khmer: Add noto-serif-khmer 2.004
Message-ID:  <202403231512.42NFCimk036411@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=b1d82e823b153e47331c938a00ee334a5b59fb78

commit b1d82e823b153e47331c938a00ee334a5b59fb78
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-23 15:10:48 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-23 15:10:48 +0000

    x11-fonts/noto-serif-khmer: Add noto-serif-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 Serif Khmer.
---
 x11-fonts/Makefile                   |  1 +
 x11-fonts/noto-serif-khmer/Makefile  | 28 ++++++++++++++++++++++++++++
 x11-fonts/noto-serif-khmer/distinfo  |  3 +++
 x11-fonts/noto-serif-khmer/pkg-descr | 12 ++++++++++++
 x11-fonts/noto-serif-khmer/pkg-plist | 36 ++++++++++++++++++++++++++++++++++++
 5 files changed, 80 insertions(+)

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index fe89fd642712..47526bcb7b28 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -237,6 +237,7 @@
     SUBDIR += noto-serif-hebrew
     SUBDIR += noto-serif-hk
     SUBDIR += noto-serif-jp
+    SUBDIR += noto-serif-khmer
     SUBDIR += noto-serif-kr
     SUBDIR += noto-serif-sc
     SUBDIR += noto-serif-tc
diff --git a/x11-fonts/noto-serif-khmer/Makefile b/x11-fonts/noto-serif-khmer/Makefile
new file mode 100644
index 000000000000..fcb4f57ef3e4
--- /dev/null
+++ b/x11-fonts/noto-serif-khmer/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	noto
+PORTVERSION=	2.004
+CATEGORIES=	x11-fonts
+MASTER_SITES=	https://github.com/notofonts/khmer/releases/download/NotoSerifKhmer-v${PORTVERSION}/
+PKGNAMESUFFIX=	-serif-khmer
+DISTNAME=	NotoSerifKhmer-v${PORTVERSION}
+DIST_SUBDIR=	Noto
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Google Noto Serif 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}/NotoSerifKhmer/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/noto-serif-khmer/distinfo b/x11-fonts/noto-serif-khmer/distinfo
new file mode 100644
index 000000000000..288ef32a3d70
--- /dev/null
+++ b/x11-fonts/noto-serif-khmer/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1710676115
+SHA256 (Noto/NotoSerifKhmer-v2.004.zip) = e1b7faaae544661f30308692f15c672c5052d6046052a2f0ce48005e50cf75d7
+SIZE (Noto/NotoSerifKhmer-v2.004.zip) = 11483055
diff --git a/x11-fonts/noto-serif-khmer/pkg-descr b/x11-fonts/noto-serif-khmer/pkg-descr
new file mode 100644
index 000000000000..2284ddd0e2c9
--- /dev/null
+++ b/x11-fonts/noto-serif-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 Serif Khmer.
diff --git a/x11-fonts/noto-serif-khmer/pkg-plist b/x11-fonts/noto-serif-khmer/pkg-plist
new file mode 100644
index 000000000000..97221bcad4d4
--- /dev/null
+++ b/x11-fonts/noto-serif-khmer/pkg-plist
@@ -0,0 +1,36 @@
+%%FONTSDIR%%/NotoSerifKhmer-Black.ttf
+%%FONTSDIR%%/NotoSerifKhmer-Bold.ttf
+%%FONTSDIR%%/NotoSerifKhmer-Condensed.ttf
+%%FONTSDIR%%/NotoSerifKhmer-CondensedBlack.ttf
+%%FONTSDIR%%/NotoSerifKhmer-CondensedBold.ttf
+%%FONTSDIR%%/NotoSerifKhmer-CondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSerifKhmer-CondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSerifKhmer-CondensedLight.ttf
+%%FONTSDIR%%/NotoSerifKhmer-CondensedMedium.ttf
+%%FONTSDIR%%/NotoSerifKhmer-CondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSerifKhmer-CondensedThin.ttf
+%%FONTSDIR%%/NotoSerifKhmer-ExtraBold.ttf
+%%FONTSDIR%%/NotoSerifKhmer-ExtraCondensed.ttf
+%%FONTSDIR%%/NotoSerifKhmer-ExtraCondensedBlack.ttf
+%%FONTSDIR%%/NotoSerifKhmer-ExtraCondensedBold.ttf
+%%FONTSDIR%%/NotoSerifKhmer-ExtraCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSerifKhmer-ExtraCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSerifKhmer-ExtraCondensedLight.ttf
+%%FONTSDIR%%/NotoSerifKhmer-ExtraCondensedMedium.ttf
+%%FONTSDIR%%/NotoSerifKhmer-ExtraCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSerifKhmer-ExtraCondensedThin.ttf
+%%FONTSDIR%%/NotoSerifKhmer-ExtraLight.ttf
+%%FONTSDIR%%/NotoSerifKhmer-Light.ttf
+%%FONTSDIR%%/NotoSerifKhmer-Medium.ttf
+%%FONTSDIR%%/NotoSerifKhmer-Regular.ttf
+%%FONTSDIR%%/NotoSerifKhmer-SemiBold.ttf
+%%FONTSDIR%%/NotoSerifKhmer-SemiCondensed.ttf
+%%FONTSDIR%%/NotoSerifKhmer-SemiCondensedBlack.ttf
+%%FONTSDIR%%/NotoSerifKhmer-SemiCondensedBold.ttf
+%%FONTSDIR%%/NotoSerifKhmer-SemiCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSerifKhmer-SemiCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSerifKhmer-SemiCondensedLight.ttf
+%%FONTSDIR%%/NotoSerifKhmer-SemiCondensedMedium.ttf
+%%FONTSDIR%%/NotoSerifKhmer-SemiCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSerifKhmer-SemiCondensedThin.ttf
+%%FONTSDIR%%/NotoSerifKhmer-Thin.ttf



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403231512.42NFCimk036411>