git: 47725805f865 - main - x11-fonts/noto-serif-myanmar: Convert from upstream tarball to individual font files

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 16 May 2024 06:30:38 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=47725805f865cb6ef124c21dc184bb04240174a7

commit 47725805f865cb6ef124c21dc184bb04240174a7
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-16 06:18:04 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-16 06:22:04 +0000

    x11-fonts/noto-serif-myanmar: Convert from upstream tarball to individual font files
---
 x11-fonts/noto-serif-myanmar/Makefile | 57 +++++++++++++++++++++----
 x11-fonts/noto-serif-myanmar/distinfo | 78 +++++++++++++++++++++++++++++++++--
 2 files changed, 125 insertions(+), 10 deletions(-)

diff --git a/x11-fonts/noto-serif-myanmar/Makefile b/x11-fonts/noto-serif-myanmar/Makefile
index c0b6179db80d..836dbffe06c9 100644
--- a/x11-fonts/noto-serif-myanmar/Makefile
+++ b/x11-fonts/noto-serif-myanmar/Makefile
@@ -1,28 +1,71 @@
 PORTNAME=	noto
 PORTVERSION=	2.106
 CATEGORIES=	x11-fonts
-MASTER_SITES=	https://github.com/notofonts/myanmar/releases/download/NotoSerifMyanmar-v${PORTVERSION}/
+#MASTER_SITES=	https://github.com/notofonts/notofonts.github.io/raw/NotoSerifMyanmar-v${PORTVERSION}/fonts/ \
+#		https://github.com/notofonts/notofonts.github.io/raw/NotoSerifMyanmar-v${PORTVERSION}/fonts/NotoSerifMyanmar/hinted/ttf/:fonts
+MASTER_SITES=	https://github.com/notofonts/notofonts.github.io/raw/noto-monthly-release-23.2.1/fonts/ \
+		https://github.com/notofonts/notofonts.github.io/raw/noto-monthly-release-23.2.1/fonts/NotoSerifMyanmar/hinted/ttf/:fonts
 PKGNAMESUFFIX=	-serif-myanmar
-DISTNAME=	NotoSerifMyanmar-v${PORTVERSION}
-DIST_SUBDIR=	Noto
+DISTFILES=	LICENSE \
+		${FONTS:S|$|:fonts|}
+DIST_SUBDIR=	Noto/SerifMyanmar/${PORTVERSION}
+EXTRACT_ONLY=	# empty
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Google Noto Serif Myanmar
 WWW=		https://fonts.google.com/noto \
 		https://notofonts.github.io/ \
-		https://github.com/notofonts/myanmar
+		https://github.com/notofonts/myanmar \
+		https://github.com/notofonts/notofonts.github.io/tree/main/fonts/NotoSerifMyanmar
 
 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=		NotoSerifMyanmar-Black.ttf \
+		NotoSerifMyanmar-Bold.ttf \
+		NotoSerifMyanmar-Condensed.ttf \
+		NotoSerifMyanmar-CondensedBlack.ttf \
+		NotoSerifMyanmar-CondensedBold.ttf \
+		NotoSerifMyanmar-CondensedExtraBold.ttf \
+		NotoSerifMyanmar-CondensedExtraLight.ttf \
+		NotoSerifMyanmar-CondensedLight.ttf \
+		NotoSerifMyanmar-CondensedMedium.ttf \
+		NotoSerifMyanmar-CondensedSemiBold.ttf \
+		NotoSerifMyanmar-CondensedThin.ttf \
+		NotoSerifMyanmar-ExtraBold.ttf \
+		NotoSerifMyanmar-ExtraCondensed.ttf \
+		NotoSerifMyanmar-ExtraCondensedBlack.ttf \
+		NotoSerifMyanmar-ExtraCondensedBold.ttf \
+		NotoSerifMyanmar-ExtraCondensedExtraBold.ttf \
+		NotoSerifMyanmar-ExtraCondensedExtraLight.ttf \
+		NotoSerifMyanmar-ExtraCondensedLight.ttf \
+		NotoSerifMyanmar-ExtraCondensedMedium.ttf \
+		NotoSerifMyanmar-ExtraCondensedSemiBold.ttf \
+		NotoSerifMyanmar-ExtraCondensedThin.ttf \
+		NotoSerifMyanmar-ExtraLight.ttf \
+		NotoSerifMyanmar-Light.ttf \
+		NotoSerifMyanmar-Medium.ttf \
+		NotoSerifMyanmar-Regular.ttf \
+		NotoSerifMyanmar-SemiBold.ttf \
+		NotoSerifMyanmar-SemiCondensed.ttf \
+		NotoSerifMyanmar-SemiCondensedBlack.ttf \
+		NotoSerifMyanmar-SemiCondensedBold.ttf \
+		NotoSerifMyanmar-SemiCondensedExtraBold.ttf \
+		NotoSerifMyanmar-SemiCondensedExtraLight.ttf \
+		NotoSerifMyanmar-SemiCondensedLight.ttf \
+		NotoSerifMyanmar-SemiCondensedMedium.ttf \
+		NotoSerifMyanmar-SemiCondensedSemiBold.ttf \
+		NotoSerifMyanmar-SemiCondensedThin.ttf \
+		NotoSerifMyanmar-Thin.ttf
+
 do-install:
 	${MKDIR} ${STAGEDIR}${FONTSDIR}
-	${INSTALL_DATA} ${WRKSRC}/NotoSerifMyanmar/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR}
+	cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${FONTS} ${STAGEDIR}${FONTSDIR}
 
 .include <bsd.port.mk>
diff --git a/x11-fonts/noto-serif-myanmar/distinfo b/x11-fonts/noto-serif-myanmar/distinfo
index f707e67dacac..b55c9fac128e 100644
--- a/x11-fonts/noto-serif-myanmar/distinfo
+++ b/x11-fonts/noto-serif-myanmar/distinfo
@@ -1,3 +1,75 @@
-TIMESTAMP = 1710676119
-SHA256 (Noto/NotoSerifMyanmar-v2.106.zip) = dc425f27d119c763c0f567c938f8f629effcb1f13df1e2661baec3e5a2d046e3
-SIZE (Noto/NotoSerifMyanmar-v2.106.zip) = 22766074
+TIMESTAMP = 1715677708
+SHA256 (Noto/SerifMyanmar/2.106/LICENSE) = f2095b08bed08b23a6fe26112fcd679a2bee3f002eef077eb05d215ed1051bd8
+SIZE (Noto/SerifMyanmar/2.106/LICENSE) = 4374
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-Black.ttf) = 83753dee49ea3a651ea4fd1a3f7b617fe862c41166e9eb9cb3a7d2b835315113
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-Black.ttf) = 289676
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-Bold.ttf) = 80cd19b7adea5f46a893d617d9b4d0481e4ca39edb6cd6ec5c688f25353da977
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-Bold.ttf) = 283636
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-Condensed.ttf) = 79b35eb2c59758a527aa700631b3ae4a38bb34cc5a2a9b3fe1b5d1cc8b2fc528
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-Condensed.ttf) = 271644
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-CondensedBlack.ttf) = 3ecf968ec153e81c2aa8bca0ec6c334c186136494964e65e3ca41da6cdf6f35c
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-CondensedBlack.ttf) = 280528
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-CondensedBold.ttf) = 2d2233bff35368da659caedd3c1282f573ed216ba70745a8a97751e49418822c
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-CondensedBold.ttf) = 277348
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-CondensedExtraBold.ttf) = 292ccc04d0355df05cfe9b7e3618ca29e52cf994f28073ac7fa4b8941fd25150
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-CondensedExtraBold.ttf) = 279628
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-CondensedExtraLight.ttf) = 71807d1001ff6312fb337fc23c1b6b6218e652aa0b12a0242beab9a9dead58c6
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-CondensedExtraLight.ttf) = 271932
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-CondensedLight.ttf) = 15c3649d4429fa146a08d7a527471aed30ae78344daa1f931d714e048fb39ef3
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-CondensedLight.ttf) = 267644
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-CondensedMedium.ttf) = 5fcb82f3a3c573dade6f98f2dd07ae4caec6adbb9c6840db9490df55afb5c04e
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-CondensedMedium.ttf) = 271596
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-CondensedSemiBold.ttf) = 8950daa19c9aa4184649ff25f96d2c153bdfdbe9ce776e656c1c75c34c25e74b
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-CondensedSemiBold.ttf) = 271828
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-CondensedThin.ttf) = e7271d6f7aa956e8b12b850739d028565460915a7e61975f5a7ae8c35ab883a2
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-CondensedThin.ttf) = 258184
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-ExtraBold.ttf) = 0d54199d346640a1a7d9a349eaf014d324f27026a8bcb438bf8fa7253d40b6e3
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-ExtraBold.ttf) = 286272
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-ExtraCondensed.ttf) = adc82df0f94d580b851fd71e7e983a07aa74f58680016ab93985e737c562c141
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-ExtraCondensed.ttf) = 270436
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-ExtraCondensedBlack.ttf) = 97244475a680096854711b999f6cb4639247735ec7d71f1d0401a559e487b014
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-ExtraCondensedBlack.ttf) = 279480
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-ExtraCondensedBold.ttf) = 4fb68d39e05d018789730de6a7a6728c3c403be27a687d54f1ac6bea96ce0607
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-ExtraCondensedBold.ttf) = 276368
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-ExtraCondensedExtraBold.ttf) = ba012275724d7c688ef8b575daff33cd0f25ce6822f809ff6519df4fb19a9be5
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-ExtraCondensedExtraBold.ttf) = 278112
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-ExtraCondensedExtraLight.ttf) = a035d86d06877caaa31f312ee1d8a981b1fabf758b6a8a7791f7eaaa5373b6f6
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-ExtraCondensedExtraLight.ttf) = 271536
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-ExtraCondensedLight.ttf) = 8dafd39a72ac5d29759bc4a9d8e7ac4d9ff4ada635cb49c58fe84b60385d4301
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-ExtraCondensedLight.ttf) = 267688
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-ExtraCondensedMedium.ttf) = 6144499715d772be68134d46cea25fed1c1ce093cdce2455f3f2f88c53c8f54d
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-ExtraCondensedMedium.ttf) = 269752
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-ExtraCondensedSemiBold.ttf) = 498e2a2f6f976182538321f00dab349bc703bbe792482cb5fac7c96d4602cc45
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-ExtraCondensedSemiBold.ttf) = 270792
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-ExtraCondensedThin.ttf) = c227aa02b6516fc6496ae98fdb18088d9b0aab053cbbee4030bba88ce0b549bb
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-ExtraCondensedThin.ttf) = 256416
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-ExtraLight.ttf) = 899587bb4de8202e8478297d0875ae09142bac2ded459867fa183ae2ea0d161e
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-ExtraLight.ttf) = 267492
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-Light.ttf) = da5eaaf424097be9447d057dcef03c88f0c9db28f958d5e5db813393ede84e73
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-Light.ttf) = 272280
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-Medium.ttf) = 024f0d7cdf9cd977a02d22a9b9fdddb66b7135bd12162f7c9d81a25074ec0879
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-Medium.ttf) = 278400
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-Regular.ttf) = fe1a5f1c9cafab515e89e20f884aee3681ccd9f3f2e7bf357c6758d9268535a5
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-Regular.ttf) = 277152
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-SemiBold.ttf) = 82d7acc426cd71e08fc49681fd64ecfb92d218df54dba4b9f28f9295620ed72c
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-SemiBold.ttf) = 280848
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-SemiCondensed.ttf) = 4ad94ad5a31598d15077a54889cd7c1be6efb646546b71f58a7982555f0b9d0d
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-SemiCondensed.ttf) = 274116
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-SemiCondensedBlack.ttf) = 8866dcfa8e590b01ae3a900f606842a1e88cc0f21cc13fc7e833d1307a627552
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-SemiCondensedBlack.ttf) = 284800
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-SemiCondensedBold.ttf) = 2c9f67799ee57b6296d2feeef0b20ad427a8f14987cc69641736230d39ec523e
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-SemiCondensedBold.ttf) = 278940
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-SemiCondensedExtraBold.ttf) = de90ab9040e5c3cc77079e7fc182dfa32287073c8e3e3170a9a8191509fe1b1e
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-SemiCondensedExtraBold.ttf) = 281968
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-SemiCondensedExtraLight.ttf) = 88b90bc68f86d3015f9389652626524877e4b19472ad02dbbd5a60cd24e70d02
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-SemiCondensedExtraLight.ttf) = 266288
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-SemiCondensedLight.ttf) = a4a50d1ece8abe7c1ccfe68e92fffd58273b9cebce2efb11262035e8fe8c8329
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-SemiCondensedLight.ttf) = 269288
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-SemiCondensedMedium.ttf) = 53abef9c89dce5da18550a2dfb78ce05446d0cfd203a8f1958f5feab149b487b
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-SemiCondensedMedium.ttf) = 272616
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-SemiCondensedSemiBold.ttf) = 88487aa76eb8c48fea4ee540428757b6ffd868c58d59de5c603b492c612cf62e
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-SemiCondensedSemiBold.ttf) = 274824
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-SemiCondensedThin.ttf) = aea5a481c91e7a12bba8a285b880edd313bc9c9c4e9e6df5594d76ef46cbdcdc
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-SemiCondensedThin.ttf) = 260516
+SHA256 (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-Thin.ttf) = e147fe5f9bc511c63c8c09dbdaa3b5e70c7d043ec5f9d63f676cc3b18aa5b904
+SIZE (Noto/SerifMyanmar/2.106/NotoSerifMyanmar-Thin.ttf) = 262364