1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-17 19:39:43 +00:00

x11-fonts/noto-serif-khmer: Convert from upstream tarball to individual font files

This commit is contained in:
Po-Chuan Hsieh 2024-05-16 14:18:03 +08:00
parent 0cc257226e
commit 78e41ebb20
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 123 additions and 10 deletions

View File

@ -1,28 +1,69 @@
PORTNAME= noto
PORTVERSION= 2.004
CATEGORIES= x11-fonts
MASTER_SITES= https://github.com/notofonts/khmer/releases/download/NotoSerifKhmer-v${PORTVERSION}/
MASTER_SITES= https://github.com/notofonts/notofonts.github.io/raw/NotoSerifKhmer-v${PORTVERSION}/fonts/ \
https://github.com/notofonts/notofonts.github.io/raw/NotoSerifKhmer-v${PORTVERSION}/fonts/NotoSerifKhmer/hinted/ttf/:fonts
PKGNAMESUFFIX= -serif-khmer
DISTNAME= NotoSerifKhmer-v${PORTVERSION}
DIST_SUBDIR= Noto
DISTFILES= LICENSE \
${FONTS:S|$|:fonts|}
DIST_SUBDIR= Noto/SerifKhmer/${PORTVERSION}
EXTRACT_ONLY= # empty
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Google Noto Serif Khmer
WWW= https://fonts.google.com/noto \
https://notofonts.github.io/ \
https://github.com/notofonts/khmer
https://github.com/notofonts/khmer \
https://github.com/notofonts/notofonts.github.io/tree/main/fonts/NotoSerifKhmer
LICENSE= OFL11
LICENSE_FILE= ${WRKSRC}/OFL.txt
LICENSE_FILE= ${DISTDIR}/${DIST_SUBDIR}/LICENSE
USES= fonts zip
USES= fonts
NO_ARCH= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
FONTS= NotoSerifKhmer-Black.ttf \
NotoSerifKhmer-Bold.ttf \
NotoSerifKhmer-Condensed.ttf \
NotoSerifKhmer-CondensedBlack.ttf \
NotoSerifKhmer-CondensedBold.ttf \
NotoSerifKhmer-CondensedExtraBold.ttf \
NotoSerifKhmer-CondensedExtraLight.ttf \
NotoSerifKhmer-CondensedLight.ttf \
NotoSerifKhmer-CondensedMedium.ttf \
NotoSerifKhmer-CondensedSemiBold.ttf \
NotoSerifKhmer-CondensedThin.ttf \
NotoSerifKhmer-ExtraBold.ttf \
NotoSerifKhmer-ExtraCondensed.ttf \
NotoSerifKhmer-ExtraCondensedBlack.ttf \
NotoSerifKhmer-ExtraCondensedBold.ttf \
NotoSerifKhmer-ExtraCondensedExtraBold.ttf \
NotoSerifKhmer-ExtraCondensedExtraLight.ttf \
NotoSerifKhmer-ExtraCondensedLight.ttf \
NotoSerifKhmer-ExtraCondensedMedium.ttf \
NotoSerifKhmer-ExtraCondensedSemiBold.ttf \
NotoSerifKhmer-ExtraCondensedThin.ttf \
NotoSerifKhmer-ExtraLight.ttf \
NotoSerifKhmer-Light.ttf \
NotoSerifKhmer-Medium.ttf \
NotoSerifKhmer-Regular.ttf \
NotoSerifKhmer-SemiBold.ttf \
NotoSerifKhmer-SemiCondensed.ttf \
NotoSerifKhmer-SemiCondensedBlack.ttf \
NotoSerifKhmer-SemiCondensedBold.ttf \
NotoSerifKhmer-SemiCondensedExtraBold.ttf \
NotoSerifKhmer-SemiCondensedExtraLight.ttf \
NotoSerifKhmer-SemiCondensedLight.ttf \
NotoSerifKhmer-SemiCondensedMedium.ttf \
NotoSerifKhmer-SemiCondensedSemiBold.ttf \
NotoSerifKhmer-SemiCondensedThin.ttf \
NotoSerifKhmer-Thin.ttf
do-install:
${MKDIR} ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/NotoSerifKhmer/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR}
cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${FONTS} ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>

View File

@ -1,3 +1,75 @@
TIMESTAMP = 1710676115
SHA256 (Noto/NotoSerifKhmer-v2.004.zip) = e1b7faaae544661f30308692f15c672c5052d6046052a2f0ce48005e50cf75d7
SIZE (Noto/NotoSerifKhmer-v2.004.zip) = 11483055
TIMESTAMP = 1715677704
SHA256 (Noto/SerifKhmer/2.004/LICENSE) = f2095b08bed08b23a6fe26112fcd679a2bee3f002eef077eb05d215ed1051bd8
SIZE (Noto/SerifKhmer/2.004/LICENSE) = 4374
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-Black.ttf) = 5eca8ef6a04abe41feb30736a7023975cd36864bb97f9b207bb3fea2fc008ec2
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-Black.ttf) = 152288
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-Bold.ttf) = 946ed867d7a058a6b5010c235c1a857521a5bb6a7eb28cff722fb32d7ac108b0
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-Bold.ttf) = 152152
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-Condensed.ttf) = 7ec683209390b6ef35279cba32c0b2b81b4430e6937f76d5a2908c94643f22ad
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-Condensed.ttf) = 149688
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-CondensedBlack.ttf) = 18be0bcc1bce4c1251b53fb96ab87f54b5ee3970d1cff750832b7a15875f8752
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-CondensedBlack.ttf) = 149792
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-CondensedBold.ttf) = 35da872476faf345223d1b29648f3620537b74959c1735c0bea130d4e7178a2c
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-CondensedBold.ttf) = 148528
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-CondensedExtraBold.ttf) = ee68784ea0855c17cafb950c6bd3096acb79c57c842d9980c7b8cb5c0b369fd5
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-CondensedExtraBold.ttf) = 148060
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-CondensedExtraLight.ttf) = 705e3f6b57a4800bfdc50d5e1cd5acd9ce291b63d5b8c228e7c16d595a2d54ed
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-CondensedExtraLight.ttf) = 145912
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-CondensedLight.ttf) = cde1eb9cde93aac06cb817f82a4922bb75c0b264731a9fe10abf266ae5061c6e
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-CondensedLight.ttf) = 145908
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-CondensedMedium.ttf) = a3f195b5d5bce743be51458918dee533a897f3c8235b22c8ea5b171f9ba5bdd0
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-CondensedMedium.ttf) = 146156
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-CondensedSemiBold.ttf) = 2b9a7fb870f65ffb6175b80d56ca82d661f30aa58f13e68be4da007214a366fc
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-CondensedSemiBold.ttf) = 146752
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-CondensedThin.ttf) = 93798fd55a365d1fcfd5a41c7b8ae46dc408fe2beb98e274d6037be1b39bdd1a
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-CondensedThin.ttf) = 141100
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-ExtraBold.ttf) = a0aae1647ededca5497a90c2342e131755638e4b2ee6015d39ac28c85db248bd
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-ExtraBold.ttf) = 150388
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-ExtraCondensed.ttf) = 86a2d5a4124ed80ba6621dd5ef8f877636dcbb6099c108838eee39db12dadb6a
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-ExtraCondensed.ttf) = 150444
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-ExtraCondensedBlack.ttf) = 9fefd2b2851616258c4a7176432a507cb85cc59e71dc2687ae98988768e6f98e
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-ExtraCondensedBlack.ttf) = 148200
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-ExtraCondensedBold.ttf) = ad27241061a1a0cc49be41c8b311ad5fd8bdbf0d6dcacdf4fd3060b7494f7925
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-ExtraCondensedBold.ttf) = 147948
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-ExtraCondensedExtraBold.ttf) = 73608d33efda978726e44f71a7d786df30dba4b244c2da08da7878f01f791df7
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-ExtraCondensedExtraBold.ttf) = 147900
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-ExtraCondensedExtraLight.ttf) = 975513176291771718a2139127ba8c65e804e68747966d9e9740a9913ff71003
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-ExtraCondensedExtraLight.ttf) = 143120
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-ExtraCondensedLight.ttf) = ab2203533cc4e58032db609a274e018aed2039e9aa024b5e1b1a2aac13a344bc
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-ExtraCondensedLight.ttf) = 146720
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-ExtraCondensedMedium.ttf) = 64d4374f606d4dbfa942b793a5b611a946e819e27e1dd1036aadb28d813c7b68
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-ExtraCondensedMedium.ttf) = 145200
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-ExtraCondensedSemiBold.ttf) = f47cef8c061d028fadf60bd650b0c98352aaceafb3b6171b6bc1987398eb1c91
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-ExtraCondensedSemiBold.ttf) = 146616
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-ExtraCondensedThin.ttf) = d03f87f3cc7f6a522add463f8ebeaeb898e1c0c1f2d401e870227db7796f6510
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-ExtraCondensedThin.ttf) = 141864
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-ExtraLight.ttf) = eb31c9c36add1fd44160452f1fb75a9ff175c6640de7bc6c07a22a3aaea51377
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-ExtraLight.ttf) = 143948
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-Light.ttf) = f29941f9cc5d1172d69daffd0be361f83b06361637e0dd894b02c1ebe59908c3
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-Light.ttf) = 150796
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-Medium.ttf) = 3da5a0f17bf284c2b692d3cf8ad14c2942d55a75eb3180c20f6331754dbbd7e2
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-Medium.ttf) = 150704
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-Regular.ttf) = ef0612212c7417da732dd43c744abf66f4f62c45d4f8962e42c8553230e0da2a
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-Regular.ttf) = 154372
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-SemiBold.ttf) = a444b55f0fa32d77535a6d2dd93a8e8701052535681924ce65123dd69f8927ca
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-SemiBold.ttf) = 153572
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-SemiCondensed.ttf) = ef03f41629872185ae68557a5a05c25058075facdbc4e73c02a8d4141c89b909
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-SemiCondensed.ttf) = 152044
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-SemiCondensedBlack.ttf) = 3014278aee83eba7c03b94a9fa787d6601605189dec16fbd2f2ef154b5ae7dda
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-SemiCondensedBlack.ttf) = 151960
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-SemiCondensedBold.ttf) = 0477905b21faa2af35fea63d4618f34889dd234ee9adaee3c90de49e6724ce6e
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-SemiCondensedBold.ttf) = 150544
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-SemiCondensedExtraBold.ttf) = 19a6c2cd57b23e5679eaa8d2c3481bec0dc770705d3b7889b21cc8c336aecbb6
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-SemiCondensedExtraBold.ttf) = 149108
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-SemiCondensedExtraLight.ttf) = 42e75f1804c8ed0bf30f6067c28501e80d511d8deed03d660468e99b25c70a2c
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-SemiCondensedExtraLight.ttf) = 143844
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-SemiCondensedLight.ttf) = 324112060c890a4acc56a2676b6d06376010bac440123ecdac2528fc3ff73f1f
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-SemiCondensedLight.ttf) = 146380
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-SemiCondensedMedium.ttf) = 37f9d55647a53a3a9fd176d35b7f1fcffa037e8f56e50f7c3cd6813cf788d07f
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-SemiCondensedMedium.ttf) = 150792
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-SemiCondensedSemiBold.ttf) = b5a45b259a763c56c8f652be65de3b99a8cf2a392a628c233587f7a8a333ada9
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-SemiCondensedSemiBold.ttf) = 148536
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-SemiCondensedThin.ttf) = a72f0799cffd0cd1a07d4d1269bbdc9152c7c50d20a2831f119153b7b3741e0b
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-SemiCondensedThin.ttf) = 142548
SHA256 (Noto/SerifKhmer/2.004/NotoSerifKhmer-Thin.ttf) = 02859cc68813be5aed5b526804f443dcbb6a730d7faedd6ccf6d44b15cd74efa
SIZE (Noto/SerifKhmer/2.004/NotoSerifKhmer-Thin.ttf) = 143328