summaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-23 23:10:46 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-23 23:10:46 +0800
commita931c871b9dbbe126823e7a0a6aeefaf08fb1377 (patch)
treeee34b026cd0692ad9c2f0fe3337484ddfa5be0da /x11-fonts
parentx11-fonts/noto-serif-ethiopic: Add noto-serif-ethiopic 2.102 (diff)
x11-fonts/noto-serif-extra: Add noto-serif-extra 2.013
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 extra fonts set of Noto Serif.
Diffstat (limited to '')
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/noto-serif-extra/Makefile34
-rw-r--r--x11-fonts/noto-serif-extra/distinfo3
-rw-r--r--x11-fonts/noto-serif-extra/pkg-descr12
-rw-r--r--x11-fonts/noto-serif-extra/pkg-plist68
5 files changed, 118 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 4c7ae6dc5ea1..4533d0c2d46b 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -232,6 +232,7 @@
SUBDIR += noto-serif-devanagari
SUBDIR += noto-serif-display
SUBDIR += noto-serif-ethiopic
+ SUBDIR += noto-serif-extra
SUBDIR += noto-serif-hk
SUBDIR += noto-serif-jp
SUBDIR += noto-serif-kr
diff --git a/x11-fonts/noto-serif-extra/Makefile b/x11-fonts/noto-serif-extra/Makefile
new file mode 100644
index 000000000000..5a8fb14929a9
--- /dev/null
+++ b/x11-fonts/noto-serif-extra/Makefile
@@ -0,0 +1,34 @@
+PORTNAME= noto
+PORTVERSION= 2.013
+CATEGORIES= x11-fonts
+MASTER_SITES= https://github.com/notofonts/latin-greek-cyrillic/releases/download/NotoSerif-v${PORTVERSION}/
+PKGNAMESUFFIX= -serif-extra
+DISTNAME= NotoSerif-v${PORTVERSION}
+DIST_SUBDIR= Noto
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Google Noto Serif (Extra)
+WWW= https://fonts.google.com/noto \
+ https://notofonts.github.io/ \
+ https://github.com/notofonts/latin-greek-cyrillic
+
+LICENSE= OFL11
+LICENSE_FILE= ${WRKSRC}/OFL.txt
+
+USES= fonts zip
+
+NO_ARCH= yes
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+
+post-patch:
+ @${RM} ${WRKSRC}/NotoSerif/hinted/ttf/NotoSerif-Bold.ttf
+ @${RM} ${WRKSRC}/NotoSerif/hinted/ttf/NotoSerif-BoldItalic.ttf
+ @${RM} ${WRKSRC}/NotoSerif/hinted/ttf/NotoSerif-Italic.ttf
+ @${RM} ${WRKSRC}/NotoSerif/hinted/ttf/NotoSerif-Regular.ttf
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/NotoSerif/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/noto-serif-extra/distinfo b/x11-fonts/noto-serif-extra/distinfo
new file mode 100644
index 000000000000..700a735e0b91
--- /dev/null
+++ b/x11-fonts/noto-serif-extra/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1710676099
+SHA256 (Noto/NotoSerif-v2.013.zip) = fb4c6c75f10365f63b5c8ad5a1864ebe46dd0c70c40d0461cb0dc1b1b7c13a35
+SIZE (Noto/NotoSerif-v2.013.zip) = 78763707
diff --git a/x11-fonts/noto-serif-extra/pkg-descr b/x11-fonts/noto-serif-extra/pkg-descr
new file mode 100644
index 000000000000..5c9447c7d795
--- /dev/null
+++ b/x11-fonts/noto-serif-extra/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 extra fonts set of Noto Serif.
diff --git a/x11-fonts/noto-serif-extra/pkg-plist b/x11-fonts/noto-serif-extra/pkg-plist
new file mode 100644
index 000000000000..2c4a16d749a8
--- /dev/null
+++ b/x11-fonts/noto-serif-extra/pkg-plist
@@ -0,0 +1,68 @@
+%%FONTSDIR%%/NotoSerif-Black.ttf
+%%FONTSDIR%%/NotoSerif-BlackItalic.ttf
+%%FONTSDIR%%/NotoSerif-Condensed.ttf
+%%FONTSDIR%%/NotoSerif-CondensedBlack.ttf
+%%FONTSDIR%%/NotoSerif-CondensedBlackItalic.ttf
+%%FONTSDIR%%/NotoSerif-CondensedBold.ttf
+%%FONTSDIR%%/NotoSerif-CondensedBoldItalic.ttf
+%%FONTSDIR%%/NotoSerif-CondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSerif-CondensedExtraBoldItalic.ttf
+%%FONTSDIR%%/NotoSerif-CondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSerif-CondensedExtraLightItalic.ttf
+%%FONTSDIR%%/NotoSerif-CondensedItalic.ttf
+%%FONTSDIR%%/NotoSerif-CondensedLight.ttf
+%%FONTSDIR%%/NotoSerif-CondensedLightItalic.ttf
+%%FONTSDIR%%/NotoSerif-CondensedMedium.ttf
+%%FONTSDIR%%/NotoSerif-CondensedMediumItalic.ttf
+%%FONTSDIR%%/NotoSerif-CondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSerif-CondensedSemiBoldItalic.ttf
+%%FONTSDIR%%/NotoSerif-CondensedThin.ttf
+%%FONTSDIR%%/NotoSerif-CondensedThinItalic.ttf
+%%FONTSDIR%%/NotoSerif-ExtraBold.ttf
+%%FONTSDIR%%/NotoSerif-ExtraBoldItalic.ttf
+%%FONTSDIR%%/NotoSerif-ExtraCondensed.ttf
+%%FONTSDIR%%/NotoSerif-ExtraCondensedBlack.ttf
+%%FONTSDIR%%/NotoSerif-ExtraCondensedBlackItalic.ttf
+%%FONTSDIR%%/NotoSerif-ExtraCondensedBold.ttf
+%%FONTSDIR%%/NotoSerif-ExtraCondensedBoldItalic.ttf
+%%FONTSDIR%%/NotoSerif-ExtraCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSerif-ExtraCondensedExtraBoldItalic.ttf
+%%FONTSDIR%%/NotoSerif-ExtraCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSerif-ExtraCondensedExtraLightItalic.ttf
+%%FONTSDIR%%/NotoSerif-ExtraCondensedItalic.ttf
+%%FONTSDIR%%/NotoSerif-ExtraCondensedLight.ttf
+%%FONTSDIR%%/NotoSerif-ExtraCondensedLightItalic.ttf
+%%FONTSDIR%%/NotoSerif-ExtraCondensedMedium.ttf
+%%FONTSDIR%%/NotoSerif-ExtraCondensedMediumItalic.ttf
+%%FONTSDIR%%/NotoSerif-ExtraCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSerif-ExtraCondensedSemiBoldItalic.ttf
+%%FONTSDIR%%/NotoSerif-ExtraCondensedThin.ttf
+%%FONTSDIR%%/NotoSerif-ExtraCondensedThinItalic.ttf
+%%FONTSDIR%%/NotoSerif-ExtraLight.ttf
+%%FONTSDIR%%/NotoSerif-ExtraLightItalic.ttf
+%%FONTSDIR%%/NotoSerif-Light.ttf
+%%FONTSDIR%%/NotoSerif-LightItalic.ttf
+%%FONTSDIR%%/NotoSerif-Medium.ttf
+%%FONTSDIR%%/NotoSerif-MediumItalic.ttf
+%%FONTSDIR%%/NotoSerif-SemiBold.ttf
+%%FONTSDIR%%/NotoSerif-SemiBoldItalic.ttf
+%%FONTSDIR%%/NotoSerif-SemiCondensed.ttf
+%%FONTSDIR%%/NotoSerif-SemiCondensedBlack.ttf
+%%FONTSDIR%%/NotoSerif-SemiCondensedBlackItalic.ttf
+%%FONTSDIR%%/NotoSerif-SemiCondensedBold.ttf
+%%FONTSDIR%%/NotoSerif-SemiCondensedBoldItalic.ttf
+%%FONTSDIR%%/NotoSerif-SemiCondensedExtraBold.ttf
+%%FONTSDIR%%/NotoSerif-SemiCondensedExtraBoldItalic.ttf
+%%FONTSDIR%%/NotoSerif-SemiCondensedExtraLight.ttf
+%%FONTSDIR%%/NotoSerif-SemiCondensedExtraLightItalic.ttf
+%%FONTSDIR%%/NotoSerif-SemiCondensedItalic.ttf
+%%FONTSDIR%%/NotoSerif-SemiCondensedLight.ttf
+%%FONTSDIR%%/NotoSerif-SemiCondensedLightItalic.ttf
+%%FONTSDIR%%/NotoSerif-SemiCondensedMedium.ttf
+%%FONTSDIR%%/NotoSerif-SemiCondensedMediumItalic.ttf
+%%FONTSDIR%%/NotoSerif-SemiCondensedSemiBold.ttf
+%%FONTSDIR%%/NotoSerif-SemiCondensedSemiBoldItalic.ttf
+%%FONTSDIR%%/NotoSerif-SemiCondensedThin.ttf
+%%FONTSDIR%%/NotoSerif-SemiCondensedThinItalic.ttf
+%%FONTSDIR%%/NotoSerif-Thin.ttf
+%%FONTSDIR%%/NotoSerif-ThinItalic.ttf