git: 521c5632e5bc - main - x11-fonts/noto-serif-bengali: Convert from upstream tarball to individual font files

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=521c5632e5bcf717104f9bffe8d719306c23cc78

commit 521c5632e5bcf717104f9bffe8d719306c23cc78
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-16 06:17:59 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-16 06:22:02 +0000

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

diff --git a/x11-fonts/noto-serif-bengali/Makefile b/x11-fonts/noto-serif-bengali/Makefile
index ef4f1138c63b..16a625a64ac2 100644
--- a/x11-fonts/noto-serif-bengali/Makefile
+++ b/x11-fonts/noto-serif-bengali/Makefile
@@ -1,28 +1,71 @@
 PORTNAME=	noto
 PORTVERSION=	2.003
 CATEGORIES=	x11-fonts
-MASTER_SITES=	https://github.com/notofonts/bengali/releases/download/NotoSerifBengali-v${PORTVERSION}/
+#MASTER_SITES=	https://github.com/notofonts/notofonts.github.io/raw/NotoSerifBengali-v${PORTVERSION}/fonts/ \
+#		https://github.com/notofonts/notofonts.github.io/raw/NotoSerifBengali-v${PORTVERSION}/fonts/NotoSerifBengali/hinted/ttf/:fonts
+MASTER_SITES=	https://github.com/notofonts/notofonts.github.io/raw/noto-monthly-release-23.12.1/fonts/ \
+		https://github.com/notofonts/notofonts.github.io/raw/noto-monthly-release-23.12.1/fonts/NotoSerifBengali/hinted/ttf/:fonts
 PKGNAMESUFFIX=	-serif-bengali
-DISTNAME=	NotoSerifBengali-v${PORTVERSION}
-DIST_SUBDIR=	Noto
+DISTFILES=	LICENSE \
+		${FONTS:S|$|:fonts|}
+DIST_SUBDIR=	Noto/SerifBengali/${PORTVERSION}
+EXTRACT_ONLY=	# empty
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Google Noto Serif Bengali
 WWW=		https://fonts.google.com/noto \
 		https://notofonts.github.io/ \
-		https://github.com/notofonts/bengali
+		https://github.com/notofonts/bengali \
+		https://github.com/notofonts/notofonts.github.io/tree/main/fonts/NotoSerifBengali
 
 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=		NotoSerifBengali-Black.ttf \
+		NotoSerifBengali-Bold.ttf \
+		NotoSerifBengali-Condensed.ttf \
+		NotoSerifBengali-CondensedBlack.ttf \
+		NotoSerifBengali-CondensedBold.ttf \
+		NotoSerifBengali-CondensedExtraBold.ttf \
+		NotoSerifBengali-CondensedExtraLight.ttf \
+		NotoSerifBengali-CondensedLight.ttf \
+		NotoSerifBengali-CondensedMedium.ttf \
+		NotoSerifBengali-CondensedSemiBold.ttf \
+		NotoSerifBengali-CondensedThin.ttf \
+		NotoSerifBengali-ExtraBold.ttf \
+		NotoSerifBengali-ExtraCondensed.ttf \
+		NotoSerifBengali-ExtraCondensedBlack.ttf \
+		NotoSerifBengali-ExtraCondensedBold.ttf \
+		NotoSerifBengali-ExtraCondensedExtraBold.ttf \
+		NotoSerifBengali-ExtraCondensedExtraLight.ttf \
+		NotoSerifBengali-ExtraCondensedLight.ttf \
+		NotoSerifBengali-ExtraCondensedMedium.ttf \
+		NotoSerifBengali-ExtraCondensedSemiBold.ttf \
+		NotoSerifBengali-ExtraCondensedThin.ttf \
+		NotoSerifBengali-ExtraLight.ttf \
+		NotoSerifBengali-Light.ttf \
+		NotoSerifBengali-Medium.ttf \
+		NotoSerifBengali-Regular.ttf \
+		NotoSerifBengali-SemiBold.ttf \
+		NotoSerifBengali-SemiCondensed.ttf \
+		NotoSerifBengali-SemiCondensedBlack.ttf \
+		NotoSerifBengali-SemiCondensedBold.ttf \
+		NotoSerifBengali-SemiCondensedExtraBold.ttf \
+		NotoSerifBengali-SemiCondensedExtraLight.ttf \
+		NotoSerifBengali-SemiCondensedLight.ttf \
+		NotoSerifBengali-SemiCondensedMedium.ttf \
+		NotoSerifBengali-SemiCondensedSemiBold.ttf \
+		NotoSerifBengali-SemiCondensedThin.ttf \
+		NotoSerifBengali-Thin.ttf
+
 do-install:
 	${MKDIR} ${STAGEDIR}${FONTSDIR}
-	${INSTALL_DATA} ${WRKSRC}/NotoSerifBengali/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-bengali/distinfo b/x11-fonts/noto-serif-bengali/distinfo
index 9bb8e67a5293..c13e99ba585f 100644
--- a/x11-fonts/noto-serif-bengali/distinfo
+++ b/x11-fonts/noto-serif-bengali/distinfo
@@ -1,3 +1,75 @@
-TIMESTAMP = 1710676101
-SHA256 (Noto/NotoSerifBengali-v2.003.zip) = 07f6fc8b2d03aeb1d21b0f7ea71fcf20b8853c42d9f5d89d06c29809813da616
-SIZE (Noto/NotoSerifBengali-v2.003.zip) = 26111417
+TIMESTAMP = 1715677692
+SHA256 (Noto/SerifBengali/2.003/LICENSE) = f2095b08bed08b23a6fe26112fcd679a2bee3f002eef077eb05d215ed1051bd8
+SIZE (Noto/SerifBengali/2.003/LICENSE) = 4374
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-Black.ttf) = dcb1c1381e29dd98d073bbf6240d686b41cd45dc2809c99dde8dbbf4d524ac09
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-Black.ttf) = 269460
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-Bold.ttf) = e58cc1c51fa3194ad9b20e24e1a3595cbf97991da5277e060621a3228235bebc
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-Bold.ttf) = 258628
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-Condensed.ttf) = d7023f7126dba7dedc4631226c1999c9b422036b85016475349e711bfb2213f6
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-Condensed.ttf) = 248948
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-CondensedBlack.ttf) = 2bd3372ce1e17e466b2b3a8e60a5999e4363c619536500b3607fdc8859c05d43
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-CondensedBlack.ttf) = 260604
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-CondensedBold.ttf) = 8a779a66d61e7368de6431502f93558f348d4b3bf63db79e7cf11bca2ee566f4
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-CondensedBold.ttf) = 255032
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-CondensedExtraBold.ttf) = 787f5b69e10630fd15c3296473bce9cb2c9f5c1729eb62f162f860c1b2613203
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-CondensedExtraBold.ttf) = 261280
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-CondensedExtraLight.ttf) = 9de44ce60edcffc2090ef9e9ef48c52e234223b50f5cb5ce31192e7ad32dba5f
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-CondensedExtraLight.ttf) = 221336
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-CondensedLight.ttf) = 195fe97b8bcaea2c81a89da0b0f88d4c1eb6e8512471f7e7812301f312b3f4a9
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-CondensedLight.ttf) = 241240
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-CondensedMedium.ttf) = ae502747405f6e826d2263fe079c1d39d227b7167a23419d0631774352074431
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-CondensedMedium.ttf) = 249076
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-CondensedSemiBold.ttf) = c69ad8c24193892e272613023d327198b98c87b4b6d2e33bac2d3db30e62ffb7
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-CondensedSemiBold.ttf) = 257668
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-CondensedThin.ttf) = 081ed9089cdcad4ba2f5f0c1d9e6f428e52785fd3e7c86190e5a54ad21de10b1
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-CondensedThin.ttf) = 226480
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-ExtraBold.ttf) = 959110c88edcc106c7b8ae43ab8c743e26a4298c4631266243ca10a840ec1add
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-ExtraBold.ttf) = 258752
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-ExtraCondensed.ttf) = 942135fef93255520e59e4fe4c6bd49e9e5fbae3726eb2b4151048fab9cd76d0
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-ExtraCondensed.ttf) = 247028
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-ExtraCondensedBlack.ttf) = 2c90a236ed1f90330be3dc304333166322be4b819a899a4e923788b8d9d8b832
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-ExtraCondensedBlack.ttf) = 253644
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-ExtraCondensedBold.ttf) = f55835d1eab53905cf44eceb39fa01575a8fda017da3f71d5bab5395353843b0
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-ExtraCondensedBold.ttf) = 257556
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-ExtraCondensedExtraBold.ttf) = 9ff76a2602a14dc3fcd3469bebaee0c3e491bf47f069c108b1ad926c5853190c
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-ExtraCondensedExtraBold.ttf) = 256992
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-ExtraCondensedExtraLight.ttf) = af132b1cc12495d0d18ef1fcc6e10bab2f9c1b2bba69e29548d1aae7bf47e44f
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-ExtraCondensedExtraLight.ttf) = 218980
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-ExtraCondensedLight.ttf) = 6fbd69f769353c97dd0ff6e153db30d9dc68ac5d037d6c48b999ffc9bbfef57a
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-ExtraCondensedLight.ttf) = 240448
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-ExtraCondensedMedium.ttf) = 1e8bb91f016b8c24a4aa16cc65427dd81f42fb4255e3c20663a9007346c37830
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-ExtraCondensedMedium.ttf) = 247696
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-ExtraCondensedSemiBold.ttf) = 40b1fbfef03cd5eb6c390c73d0cbbb87f908977afbda34fc6c9d4b10050398a8
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-ExtraCondensedSemiBold.ttf) = 252768
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-ExtraCondensedThin.ttf) = 3d13cfa726dbf78d3653aa6f157cd8c7a6fa396fb849b22bb92d7b81012d94b5
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-ExtraCondensedThin.ttf) = 225684
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-ExtraLight.ttf) = 1d6fc05d816b35e4bd54e47c0ae00bd5c94c4f95658f13d39969b2d477bd692e
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-ExtraLight.ttf) = 226068
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-Light.ttf) = 63cb537a5147f894430857569d00b8c7ec4f04634ffe53b70a4bf75ef85270c8
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-Light.ttf) = 233416
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-Medium.ttf) = 90073c42195188bf89c1ff861e85501effbea3ab6e4aaf3b90a6c6e39c33cb2c
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-Medium.ttf) = 256104
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-Regular.ttf) = b0618e272302cdb9e47ffd648e7aa8a09322fd1859b8abd06af6816015b92eec
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-Regular.ttf) = 263696
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-SemiBold.ttf) = 6d5d5f47f48c088d613d5d56d1767bef1adf9e116f6329332a01d20a302ae7a2
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-SemiBold.ttf) = 255024
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-SemiCondensed.ttf) = 09ba4e2073fff4459ec4a2f7e8208ad2012c27b2618b529704f09e36b765c8fd
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-SemiCondensed.ttf) = 252148
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-SemiCondensedBlack.ttf) = 41e84318b41903354e02cc51f38c4a0ccd822bc5fd6e5abea2e4d9c2289c1cc5
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-SemiCondensedBlack.ttf) = 263020
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-SemiCondensedBold.ttf) = 4a079f02c9fd08a814d89bcc6ff3652fd2937f0e09e6e24ccb1ac89e0cdf9217
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-SemiCondensedBold.ttf) = 257112
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-SemiCondensedExtraBold.ttf) = 2378f01ac2fe0150ac8ded35223110748f2d99cf2a24ba218bad142b35aa67d0
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-SemiCondensedExtraBold.ttf) = 259524
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-SemiCondensedExtraLight.ttf) = 82727d16fd13712649b3881c757a9b3c0477a796b250cc112f26b25e28731254
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-SemiCondensedExtraLight.ttf) = 223248
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-SemiCondensedLight.ttf) = af7283f3cec98d70e62d045030d95fe336c794134bb2931e3d09987d57c3c5bb
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-SemiCondensedLight.ttf) = 240720
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-SemiCondensedMedium.ttf) = b8454e615c3815cf9550f293c80959bf33cfdfa4c391d72f06d6ed0df9adb05d
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-SemiCondensedMedium.ttf) = 250684
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-SemiCondensedSemiBold.ttf) = 0aa61a1ca255e0f52dec9f1594550c50b6d3628c8781d5d35cfa1aeee2ad829f
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-SemiCondensedSemiBold.ttf) = 257436
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-SemiCondensedThin.ttf) = d42ec0f56aeaa8e09e9ecc3d65cc14ab5078f58cfc528c222136771eb4b3512d
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-SemiCondensedThin.ttf) = 228288
+SHA256 (Noto/SerifBengali/2.003/NotoSerifBengali-Thin.ttf) = f66e13c6185c7ab942ec687f0fc9afe434b0c8ffbaaa4169e4841bc03996712c
+SIZE (Noto/SerifBengali/2.003/NotoSerifBengali-Thin.ttf) = 235440