1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

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

This commit is contained in:
Po-Chuan Hsieh 2024-05-16 14:18:07 +08:00
parent b31b117e4b
commit 8c65b473fb
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.002
CATEGORIES= x11-fonts
MASTER_SITES= https://github.com/notofonts/thai/releases/download/NotoSerifThai-v${PORTVERSION}/
MASTER_SITES= https://github.com/notofonts/notofonts.github.io/raw/NotoSerifThai-v${PORTVERSION}/fonts/ \
https://github.com/notofonts/notofonts.github.io/raw/NotoSerifThai-v${PORTVERSION}/fonts/NotoSerifThai/hinted/ttf/:fonts
PKGNAMESUFFIX= -serif-thai
DISTNAME= NotoSerifThai-v${PORTVERSION}
DIST_SUBDIR= Noto
DISTFILES= LICENSE \
${FONTS:S|$|:fonts|}
DIST_SUBDIR= Noto/SerifThai/${PORTVERSION}
EXTRACT_ONLY= # empty
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Google Noto Serif Thai
WWW= https://fonts.google.com/noto \
https://notofonts.github.io/ \
https://github.com/notofonts/thai
https://github.com/notofonts/thai \
https://github.com/notofonts/notofonts.github.io/tree/main/fonts/NotoSerifThai
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= NotoSerifThai-Black.ttf \
NotoSerifThai-Bold.ttf \
NotoSerifThai-Condensed.ttf \
NotoSerifThai-CondensedBlack.ttf \
NotoSerifThai-CondensedBold.ttf \
NotoSerifThai-CondensedExtraBold.ttf \
NotoSerifThai-CondensedExtraLight.ttf \
NotoSerifThai-CondensedLight.ttf \
NotoSerifThai-CondensedMedium.ttf \
NotoSerifThai-CondensedSemiBold.ttf \
NotoSerifThai-CondensedThin.ttf \
NotoSerifThai-ExtraBold.ttf \
NotoSerifThai-ExtraCondensed.ttf \
NotoSerifThai-ExtraCondensedBlack.ttf \
NotoSerifThai-ExtraCondensedBold.ttf \
NotoSerifThai-ExtraCondensedExtraBold.ttf \
NotoSerifThai-ExtraCondensedExtraLight.ttf \
NotoSerifThai-ExtraCondensedLight.ttf \
NotoSerifThai-ExtraCondensedMedium.ttf \
NotoSerifThai-ExtraCondensedSemiBold.ttf \
NotoSerifThai-ExtraCondensedThin.ttf \
NotoSerifThai-ExtraLight.ttf \
NotoSerifThai-Light.ttf \
NotoSerifThai-Medium.ttf \
NotoSerifThai-Regular.ttf \
NotoSerifThai-SemiBold.ttf \
NotoSerifThai-SemiCondensed.ttf \
NotoSerifThai-SemiCondensedBlack.ttf \
NotoSerifThai-SemiCondensedBold.ttf \
NotoSerifThai-SemiCondensedExtraBold.ttf \
NotoSerifThai-SemiCondensedExtraLight.ttf \
NotoSerifThai-SemiCondensedLight.ttf \
NotoSerifThai-SemiCondensedMedium.ttf \
NotoSerifThai-SemiCondensedSemiBold.ttf \
NotoSerifThai-SemiCondensedThin.ttf \
NotoSerifThai-Thin.ttf
do-install:
${MKDIR} ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/NotoSerifThai/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 = 1710676127
SHA256 (Noto/NotoSerifThai-v2.002.zip) = 89e3c04bfc54d9a5dd0aec660bf974ad46df38385df7d9397c083482d515049a
SIZE (Noto/NotoSerifThai-v2.002.zip) = 5733486
TIMESTAMP = 1715677716
SHA256 (Noto/SerifThai/2.002/LICENSE) = f2095b08bed08b23a6fe26112fcd679a2bee3f002eef077eb05d215ed1051bd8
SIZE (Noto/SerifThai/2.002/LICENSE) = 4374
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-Black.ttf) = 495c31538daca2f6664907005af4ebbc46c49805b37d8e184562e630ba349c60
SIZE (Noto/SerifThai/2.002/NotoSerifThai-Black.ttf) = 48424
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-Bold.ttf) = af3f64944248fe0dd9a37c0d2e8eed69930623d962eb5b2130fa81bb9e879dd1
SIZE (Noto/SerifThai/2.002/NotoSerifThai-Bold.ttf) = 46544
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-Condensed.ttf) = 4661aa6289363b49546b35484646bacef18377201437445b8d0396c81f4f9c42
SIZE (Noto/SerifThai/2.002/NotoSerifThai-Condensed.ttf) = 45152
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-CondensedBlack.ttf) = 6de1d85fd0f250ce7bcf9337d5955840ada35d4f52dee5d20f5667a5ef640a85
SIZE (Noto/SerifThai/2.002/NotoSerifThai-CondensedBlack.ttf) = 48360
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-CondensedBold.ttf) = 2cb6d481cd073552a9f4ecdecf4d849d33f520d746aca6aac2a94bff0cc0ecba
SIZE (Noto/SerifThai/2.002/NotoSerifThai-CondensedBold.ttf) = 45536
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-CondensedExtraBold.ttf) = 590becea26f9d3dcf1a36a911200034c84abececd43a2d47dd80c07788e5d46e
SIZE (Noto/SerifThai/2.002/NotoSerifThai-CondensedExtraBold.ttf) = 47740
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-CondensedExtraLight.ttf) = 27e5ec2d4e987ff3d8cf61bbf85323498f696cc881c91692c2e19269334321a5
SIZE (Noto/SerifThai/2.002/NotoSerifThai-CondensedExtraLight.ttf) = 46288
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-CondensedLight.ttf) = 23de21f2b4c1a703013a0403232fd2066f98034620abf939fe511d728cf59362
SIZE (Noto/SerifThai/2.002/NotoSerifThai-CondensedLight.ttf) = 46204
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-CondensedMedium.ttf) = abb3a26dfcb8fa100777d1baa5af4dd4c44356cc10ae1f807796f7c7833e96b0
SIZE (Noto/SerifThai/2.002/NotoSerifThai-CondensedMedium.ttf) = 45340
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-CondensedSemiBold.ttf) = 74e8e048e7513c76dfcecaa9ada226113e0d53407e3a9f90ae9caff5972fcb61
SIZE (Noto/SerifThai/2.002/NotoSerifThai-CondensedSemiBold.ttf) = 45920
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-CondensedThin.ttf) = 02381a138e894ddc078cc6fa6a14f6607d639fccab0266915f82a3bc1d3082f7
SIZE (Noto/SerifThai/2.002/NotoSerifThai-CondensedThin.ttf) = 46528
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-ExtraBold.ttf) = a337a1a1f8f4c87b991a80faea33dd16e68e54bcb1df680cf369b87bfecafa2c
SIZE (Noto/SerifThai/2.002/NotoSerifThai-ExtraBold.ttf) = 47444
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-ExtraCondensed.ttf) = adafe94b1dc85d5749d39854e9b03ff4a61c47ddc05c9a440ab0e69fd8874fbe
SIZE (Noto/SerifThai/2.002/NotoSerifThai-ExtraCondensed.ttf) = 45280
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-ExtraCondensedBlack.ttf) = 6a7211cc7eca2150cf0d8a87d4aa8a2077b65ef8091ace4317160981f9c0b5c1
SIZE (Noto/SerifThai/2.002/NotoSerifThai-ExtraCondensedBlack.ttf) = 48284
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-ExtraCondensedBold.ttf) = 234459843d73d23199ce3019e45fc5ce168f6e6ff6448a22b4e887ae85339ca2
SIZE (Noto/SerifThai/2.002/NotoSerifThai-ExtraCondensedBold.ttf) = 45176
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-ExtraCondensedExtraBold.ttf) = c0330393cfe5c103070183a5f224eda75a6a9afb91750d671bb5e7c6c8dceda7
SIZE (Noto/SerifThai/2.002/NotoSerifThai-ExtraCondensedExtraBold.ttf) = 47916
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-ExtraCondensedExtraLight.ttf) = bc3c8f88f880f6143fffdc58c1d6966d6f21dbeb5db50aeb8941653a960c942b
SIZE (Noto/SerifThai/2.002/NotoSerifThai-ExtraCondensedExtraLight.ttf) = 46040
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-ExtraCondensedLight.ttf) = d2195519d0ceb1c696bfecf95542a010c111f7c470491a16a073ef6dbbfbc5c2
SIZE (Noto/SerifThai/2.002/NotoSerifThai-ExtraCondensedLight.ttf) = 45952
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-ExtraCondensedMedium.ttf) = 13a23f7f4ffcb658c78a46ce9d16814269e01561addc77f7e75b46437aeca4d4
SIZE (Noto/SerifThai/2.002/NotoSerifThai-ExtraCondensedMedium.ttf) = 45060
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-ExtraCondensedSemiBold.ttf) = 47b55a4a495cd761d5ae333ebbe1f1f60bbcdaf3249aed105e149846d3207877
SIZE (Noto/SerifThai/2.002/NotoSerifThai-ExtraCondensedSemiBold.ttf) = 46164
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-ExtraCondensedThin.ttf) = 8a04cead8dd9b9ef194660fac3be0de523343fef4fc81fc1f95e9aa28fc1eb83
SIZE (Noto/SerifThai/2.002/NotoSerifThai-ExtraCondensedThin.ttf) = 47220
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-ExtraLight.ttf) = 0a3fe3787e19efe4ededb1d743ce3d8cc8e03d19f06ce9841149433e496c0ae0
SIZE (Noto/SerifThai/2.002/NotoSerifThai-ExtraLight.ttf) = 46940
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-Light.ttf) = b03cb8b3c90c64e26dbfe94c68c1d302fa607fb779d60805e5d31d97d9db5f97
SIZE (Noto/SerifThai/2.002/NotoSerifThai-Light.ttf) = 46448
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-Medium.ttf) = 59bb1cbea784e5b5df38ad60ee193eae030f25cd22b461bf5e9f72decb4d047d
SIZE (Noto/SerifThai/2.002/NotoSerifThai-Medium.ttf) = 45488
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-Regular.ttf) = 747b5bb1fdd329850ddd3218d872a3d2a96ab0dd544f51e5300c6d1b12071b62
SIZE (Noto/SerifThai/2.002/NotoSerifThai-Regular.ttf) = 45424
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-SemiBold.ttf) = 662fd2666066477649bca721953bebe9d530add47aae4bee96a3ed8cf0ac21a8
SIZE (Noto/SerifThai/2.002/NotoSerifThai-SemiBold.ttf) = 46816
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-SemiCondensed.ttf) = a143952303e7adb3ce7c17cc947db02e2fd93d45c773f446b031c253c38c4887
SIZE (Noto/SerifThai/2.002/NotoSerifThai-SemiCondensed.ttf) = 45420
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-SemiCondensedBlack.ttf) = b9d94f8b8a83abe5c01513d66ae94aa7f872efd91898fa919dce376165dec914
SIZE (Noto/SerifThai/2.002/NotoSerifThai-SemiCondensedBlack.ttf) = 48252
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-SemiCondensedBold.ttf) = b7deebdb35afef6be56ec6afee529e7d5f58b040daac0b24067bc01f09ecc5a8
SIZE (Noto/SerifThai/2.002/NotoSerifThai-SemiCondensedBold.ttf) = 46376
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-SemiCondensedExtraBold.ttf) = b0d4682946c5576c19e2354989439377a45d900a014f907129c8152e8888cd9b
SIZE (Noto/SerifThai/2.002/NotoSerifThai-SemiCondensedExtraBold.ttf) = 48116
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-SemiCondensedExtraLight.ttf) = af922ee8fd7d26f8ae830bf821b82c0a2db96fe73e21220e2d58c9d9d79320c5
SIZE (Noto/SerifThai/2.002/NotoSerifThai-SemiCondensedExtraLight.ttf) = 46776
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-SemiCondensedLight.ttf) = 3e063b9c65a08266762c82e2ea413880684e367009ad5b05ca94016bb34d67e5
SIZE (Noto/SerifThai/2.002/NotoSerifThai-SemiCondensedLight.ttf) = 46036
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-SemiCondensedMedium.ttf) = b5998718d148515f73934fd219542952f5c93d4164565309ada611607f0a3466
SIZE (Noto/SerifThai/2.002/NotoSerifThai-SemiCondensedMedium.ttf) = 45440
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-SemiCondensedSemiBold.ttf) = 69621252e2a1ec8ab32a31819c9dde5ba1eea9f7b2242e9767216c116a685148
SIZE (Noto/SerifThai/2.002/NotoSerifThai-SemiCondensedSemiBold.ttf) = 46376
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-SemiCondensedThin.ttf) = ce5b6957d841317daf2391125dc6487f547bb80c409e1fcbef913494165fca16
SIZE (Noto/SerifThai/2.002/NotoSerifThai-SemiCondensedThin.ttf) = 45876
SHA256 (Noto/SerifThai/2.002/NotoSerifThai-Thin.ttf) = cf5406bc04c05a691d008fa6be01aa0afedf4a98e2259acf76f3a170a640506c
SIZE (Noto/SerifThai/2.002/NotoSerifThai-Thin.ttf) = 45168