git: 0cc257226eed - main - x11-fonts/noto-serif-hebrew: Convert from upstream tarball to individual font files

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=0cc257226eed7fea07ccd5a0f332f669d36907e7

commit 0cc257226eed7fea07ccd5a0f332f669d36907e7
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-16 06:18:02 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-16 06:22:03 +0000

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

diff --git a/x11-fonts/noto-serif-hebrew/Makefile b/x11-fonts/noto-serif-hebrew/Makefile
index 3dc6e2ce8e92..743025b6f53b 100644
--- a/x11-fonts/noto-serif-hebrew/Makefile
+++ b/x11-fonts/noto-serif-hebrew/Makefile
@@ -1,28 +1,71 @@
 PORTNAME=	noto
 PORTVERSION=	2.003
 CATEGORIES=	x11-fonts
-MASTER_SITES=	https://github.com/notofonts/hebrew/releases/download/NotoSerifHebrew-v${PORTVERSION}/
+#MASTER_SITES=	https://github.com/notofonts/notofonts.github.io/raw/NotoSerifHebrew-v${PORTVERSION}/fonts/ \
+#		https://github.com/notofonts/notofonts.github.io/raw/NotoSerifHebrew-v${PORTVERSION}/fonts/NotoSerifHebrew/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/NotoSerifHebrew/hinted/ttf/:fonts
 PKGNAMESUFFIX=	-serif-hebrew
-DISTNAME=	NotoSerifHebrew-v${PORTVERSION}
-DIST_SUBDIR=	Noto
+DISTFILES=	LICENSE \
+		${FONTS:S|$|:fonts|}
+DIST_SUBDIR=	Noto/SerifHebrew/${PORTVERSION}
+EXTRACT_ONLY=	# empty
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Google Noto Serif Hebrew
 WWW=		https://fonts.google.com/noto \
 		https://notofonts.github.io/ \
-		https://github.com/notofonts/hebrew
+		https://github.com/notofonts/hebrew \
+		https://github.com/notofonts/notofonts.github.io/tree/main/fonts/NotoSerifHebrew
 
 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=		NotoSerifHebrew-Black.ttf \
+		NotoSerifHebrew-Bold.ttf \
+		NotoSerifHebrew-Condensed.ttf \
+		NotoSerifHebrew-CondensedBlack.ttf \
+		NotoSerifHebrew-CondensedBold.ttf \
+		NotoSerifHebrew-CondensedExtraBold.ttf \
+		NotoSerifHebrew-CondensedExtraLight.ttf \
+		NotoSerifHebrew-CondensedLight.ttf \
+		NotoSerifHebrew-CondensedMedium.ttf \
+		NotoSerifHebrew-CondensedSemiBold.ttf \
+		NotoSerifHebrew-CondensedThin.ttf \
+		NotoSerifHebrew-ExtraBold.ttf \
+		NotoSerifHebrew-ExtraCondensed.ttf \
+		NotoSerifHebrew-ExtraCondensedBlack.ttf \
+		NotoSerifHebrew-ExtraCondensedBold.ttf \
+		NotoSerifHebrew-ExtraCondensedExtraBold.ttf \
+		NotoSerifHebrew-ExtraCondensedExtraLight.ttf \
+		NotoSerifHebrew-ExtraCondensedLight.ttf \
+		NotoSerifHebrew-ExtraCondensedMedium.ttf \
+		NotoSerifHebrew-ExtraCondensedSemiBold.ttf \
+		NotoSerifHebrew-ExtraCondensedThin.ttf \
+		NotoSerifHebrew-ExtraLight.ttf \
+		NotoSerifHebrew-Light.ttf \
+		NotoSerifHebrew-Medium.ttf \
+		NotoSerifHebrew-Regular.ttf \
+		NotoSerifHebrew-SemiBold.ttf \
+		NotoSerifHebrew-SemiCondensed.ttf \
+		NotoSerifHebrew-SemiCondensedBlack.ttf \
+		NotoSerifHebrew-SemiCondensedBold.ttf \
+		NotoSerifHebrew-SemiCondensedExtraBold.ttf \
+		NotoSerifHebrew-SemiCondensedExtraLight.ttf \
+		NotoSerifHebrew-SemiCondensedLight.ttf \
+		NotoSerifHebrew-SemiCondensedMedium.ttf \
+		NotoSerifHebrew-SemiCondensedSemiBold.ttf \
+		NotoSerifHebrew-SemiCondensedThin.ttf \
+		NotoSerifHebrew-Thin.ttf
+
 do-install:
 	${MKDIR} ${STAGEDIR}${FONTSDIR}
-	${INSTALL_DATA} ${WRKSRC}/NotoSerifHebrew/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-hebrew/distinfo b/x11-fonts/noto-serif-hebrew/distinfo
index cc3baa837271..66609a94023a 100644
--- a/x11-fonts/noto-serif-hebrew/distinfo
+++ b/x11-fonts/noto-serif-hebrew/distinfo
@@ -1,3 +1,75 @@
-TIMESTAMP = 1710676113
-SHA256 (Noto/NotoSerifHebrew-v2.003.zip) = e45c149d6c29b38b8981401f875ab4304e73a366312783c41c082eb5366d3921
-SIZE (Noto/NotoSerifHebrew-v2.003.zip) = 4539740
+TIMESTAMP = 1715677702
+SHA256 (Noto/SerifHebrew/2.003/LICENSE) = f2095b08bed08b23a6fe26112fcd679a2bee3f002eef077eb05d215ed1051bd8
+SIZE (Noto/SerifHebrew/2.003/LICENSE) = 4374
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-Black.ttf) = 1b19c6a0cfc64dcca4700a37bdc0efd479e98c03c4ed5147614241af56b4e31f
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-Black.ttf) = 31104
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-Bold.ttf) = af1151e63edd6bb0439ce1b300c410312247efae7e218b942f4c29812fb2004a
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-Bold.ttf) = 31944
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-Condensed.ttf) = 7fb527456a6c32d55701f511193b67113649bd75eca5ab47a99b182903b14268
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-Condensed.ttf) = 30824
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-CondensedBlack.ttf) = aa11d247a0872621b0d1e6867132c16200698ccf7cfd174573d63dbadd3f422e
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-CondensedBlack.ttf) = 31928
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-CondensedBold.ttf) = f1b339874c9e3211243fcbf835e8570d2357b4632d4826084495969d872fc61a
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-CondensedBold.ttf) = 31712
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-CondensedExtraBold.ttf) = 311ea0939fff664ab0d79b2e4e6564b3e8f73ec4738be5fe6b8b2449ef148fa5
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-CondensedExtraBold.ttf) = 31652
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-CondensedExtraLight.ttf) = 22cdf2e4dcc470d611e7ab71a2355815d3a88a8e2dc9c7d536e18fca95662072
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-CondensedExtraLight.ttf) = 30328
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-CondensedLight.ttf) = 5a80d5418a76ac61e6604f89dcfe34ea43274e26db89ee4a70485da4c7aec7a5
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-CondensedLight.ttf) = 30120
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-CondensedMedium.ttf) = 2b2d84ceff19faf5242dd6439791d7e36fc09d693c17ad173b9d1fd3cf96ed63
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-CondensedMedium.ttf) = 31180
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-CondensedSemiBold.ttf) = bcca6361b8d5e82ccdb5feda5654638df1dc999b479406b54c20cc891f2912a7
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-CondensedSemiBold.ttf) = 31836
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-CondensedThin.ttf) = 63d3fdf4d5e13149c64ba10f7927f590e5b2ba8cd8676df1cd5cb1aae2ad5aef
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-CondensedThin.ttf) = 29832
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-ExtraBold.ttf) = 90416c999bf9ccc1614f979f41f9021c5773e207e97f6603444b2d07a3d40962
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-ExtraBold.ttf) = 31924
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-ExtraCondensed.ttf) = 407585b81c1b92223c7bb8413c8770a3cbb370c96d8ef8f61a9773485fbe8241
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-ExtraCondensed.ttf) = 31288
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-ExtraCondensedBlack.ttf) = 93fe01787fdb647e44dc37a6d69d95fc148bc6c840cffd69c47ca54aa62bd289
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-ExtraCondensedBlack.ttf) = 31840
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-ExtraCondensedBold.ttf) = 60a53b4d953b6c3cafb411de1250ef6618cbdc17836818747e2a840b26631f9f
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-ExtraCondensedBold.ttf) = 31060
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-ExtraCondensedExtraBold.ttf) = d5ca02ebdcaae4dfddbfeaa98b8ac6dd8ecc64f29c99a8e6beaff42b1b1a5e95
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-ExtraCondensedExtraBold.ttf) = 31644
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-ExtraCondensedExtraLight.ttf) = 05cbbfadbd7aaed6e371204e6d7bae6d474157889b08dcd5f909bc0374664225
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-ExtraCondensedExtraLight.ttf) = 30276
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-ExtraCondensedLight.ttf) = 04c5219c35fe5e5c5ccd9c809fafe10a512683f2411de4542a22b8ea5be565a9
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-ExtraCondensedLight.ttf) = 30044
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-ExtraCondensedMedium.ttf) = 892a966529a0fec0f800e2e53d98310aa0433273b62b8615e15392c4da0e1ce5
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-ExtraCondensedMedium.ttf) = 30984
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-ExtraCondensedSemiBold.ttf) = 3320b702fb4d2906a99c893b3ed5e4b03f059b91635c9ae8d1e8ca7cb8ee0807
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-ExtraCondensedSemiBold.ttf) = 31044
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-ExtraCondensedThin.ttf) = dea05173485c6399395d1402a7a8cb87ee242a7d62f4854a0904e40084136644
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-ExtraCondensedThin.ttf) = 29892
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-ExtraLight.ttf) = 78267cafb6384c93d072a0d06cea1917da2adda1cdc9e6f0990e925d05bee6b9
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-ExtraLight.ttf) = 30132
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-Light.ttf) = e8f55cc46669edb2bf973027e79301be0a9444ce749aae24258e202f3b35cc4c
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-Light.ttf) = 30252
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-Medium.ttf) = 493a94fb696518db412be21d6a039c6436b85f03950bf2fdbd99ad26181ef696
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-Medium.ttf) = 31768
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-Regular.ttf) = c9395bb5a1d083c7aab5bd452460f56e4e0e651bf3177e437fdfb82526f4250c
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-Regular.ttf) = 31200
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-SemiBold.ttf) = ef4efa11bc0869bec954942db6786a5193c03fce702ca27932223ca958932881
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-SemiBold.ttf) = 32060
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-SemiCondensed.ttf) = 5bb7005cae23e87f8654494464786851ac98db965184c59f37223f9148f5b27f
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-SemiCondensed.ttf) = 32012
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-SemiCondensedBlack.ttf) = 80e4fb6d2bedd0c84cfb2120be1cc8564c45b9f293b7cfd79b9d09c5df5c4e97
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-SemiCondensedBlack.ttf) = 32112
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-SemiCondensedBold.ttf) = 618d2ba0d79c6fdf930dbc5991ec114bb7e99583e871e136eedf69ca57aabdcc
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-SemiCondensedBold.ttf) = 31936
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-SemiCondensedExtraBold.ttf) = 95e97526342b2ef2660e073a0296580107d06464f169d3878a8dee4f9029096f
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-SemiCondensedExtraBold.ttf) = 31848
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-SemiCondensedExtraLight.ttf) = 62fce961cb0d33b481c5ee8f1d90bbc242f3ab840eb97953e719a07697717ebe
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-SemiCondensedExtraLight.ttf) = 30372
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-SemiCondensedLight.ttf) = f5c93efad3934b9916438f8aaf5bb00c8c4eb6c11d268f3b974096d47621d6f7
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-SemiCondensedLight.ttf) = 30372
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-SemiCondensedMedium.ttf) = 9c32c5dd20d6cd8d542a78c21013e32d2450ad448483ea81264d9a2ae168aaeb
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-SemiCondensedMedium.ttf) = 31208
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-SemiCondensedSemiBold.ttf) = 50d5632ae9e21a0915bb32438fa2a8c5782adcfe7c237683e37fcdfbd5ec1477
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-SemiCondensedSemiBold.ttf) = 31660
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-SemiCondensedThin.ttf) = 81cfbcc1a1b796fa0862c9632d868e9361905a6999febf775c44d2a99bb3a956
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-SemiCondensedThin.ttf) = 29964
+SHA256 (Noto/SerifHebrew/2.003/NotoSerifHebrew-Thin.ttf) = e89be5f0c00d7b0cde9a342e2546907fe18e6dbf73c050e09c54d2c55a9f3238
+SIZE (Noto/SerifHebrew/2.003/NotoSerifHebrew-Thin.ttf) = 29900