git: bcc03f52b1e4 - main - x11-fonts/noto-serif-armenian: Convert from upstream tarball to individual font files

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

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

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

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

diff --git a/x11-fonts/noto-serif-armenian/Makefile b/x11-fonts/noto-serif-armenian/Makefile
index 6246ae1689cb..f24297fcd8b5 100644
--- a/x11-fonts/noto-serif-armenian/Makefile
+++ b/x11-fonts/noto-serif-armenian/Makefile
@@ -1,28 +1,69 @@
 PORTNAME=	noto
 PORTVERSION=	2.008
 CATEGORIES=	x11-fonts
-MASTER_SITES=	https://github.com/notofonts/armenian/releases/download/NotoSerifArmenian-v${PORTVERSION}/
+MASTER_SITES=	https://github.com/notofonts/notofonts.github.io/raw/NotoSerifArmenian-v${PORTVERSION}/fonts/ \
+		https://github.com/notofonts/notofonts.github.io/raw/NotoSerifArmenian-v${PORTVERSION}/fonts/NotoSerifArmenian/hinted/ttf/:fonts
 PKGNAMESUFFIX=	-serif-armenian
-DISTNAME=	NotoSerifArmenian-v${PORTVERSION}
-DIST_SUBDIR=	Noto
+DISTFILES=	LICENSE \
+		${FONTS:S|$|:fonts|}
+DIST_SUBDIR=	Noto/SerifArmenian/${PORTVERSION}
+EXTRACT_ONLY=	# empty
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Google Noto Serif Armenian
 WWW=		https://fonts.google.com/noto \
 		https://notofonts.github.io/ \
-		https://github.com/notofonts/armenian
+		https://github.com/notofonts/armenian \
+		https://github.com/notofonts/notofonts.github.io/tree/main/fonts/NotoSerifArmenian
 
 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=		NotoSerifArmenian-Black.ttf \
+		NotoSerifArmenian-Bold.ttf \
+		NotoSerifArmenian-Condensed.ttf \
+		NotoSerifArmenian-CondensedBlack.ttf \
+		NotoSerifArmenian-CondensedBold.ttf \
+		NotoSerifArmenian-CondensedExtraBold.ttf \
+		NotoSerifArmenian-CondensedExtraLight.ttf \
+		NotoSerifArmenian-CondensedLight.ttf \
+		NotoSerifArmenian-CondensedMedium.ttf \
+		NotoSerifArmenian-CondensedSemiBold.ttf \
+		NotoSerifArmenian-CondensedThin.ttf \
+		NotoSerifArmenian-ExtraBold.ttf \
+		NotoSerifArmenian-ExtraCondensed.ttf \
+		NotoSerifArmenian-ExtraCondensedBlack.ttf \
+		NotoSerifArmenian-ExtraCondensedBold.ttf \
+		NotoSerifArmenian-ExtraCondensedExtraBold.ttf \
+		NotoSerifArmenian-ExtraCondensedExtraLight.ttf \
+		NotoSerifArmenian-ExtraCondensedLight.ttf \
+		NotoSerifArmenian-ExtraCondensedMedium.ttf \
+		NotoSerifArmenian-ExtraCondensedSemiBold.ttf \
+		NotoSerifArmenian-ExtraCondensedThin.ttf \
+		NotoSerifArmenian-ExtraLight.ttf \
+		NotoSerifArmenian-Light.ttf \
+		NotoSerifArmenian-Medium.ttf \
+		NotoSerifArmenian-Regular.ttf \
+		NotoSerifArmenian-SemiBold.ttf \
+		NotoSerifArmenian-SemiCondensed.ttf \
+		NotoSerifArmenian-SemiCondensedBlack.ttf \
+		NotoSerifArmenian-SemiCondensedBold.ttf \
+		NotoSerifArmenian-SemiCondensedExtraBold.ttf \
+		NotoSerifArmenian-SemiCondensedExtraLight.ttf \
+		NotoSerifArmenian-SemiCondensedLight.ttf \
+		NotoSerifArmenian-SemiCondensedMedium.ttf \
+		NotoSerifArmenian-SemiCondensedSemiBold.ttf \
+		NotoSerifArmenian-SemiCondensedThin.ttf \
+		NotoSerifArmenian-Thin.ttf
+
 do-install:
 	${MKDIR} ${STAGEDIR}${FONTSDIR}
-	${INSTALL_DATA} ${WRKSRC}/NotoSerifArmenian/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-armenian/distinfo b/x11-fonts/noto-serif-armenian/distinfo
index 35226c8072cc..130780c2685e 100644
--- a/x11-fonts/noto-serif-armenian/distinfo
+++ b/x11-fonts/noto-serif-armenian/distinfo
@@ -1,3 +1,75 @@
-TIMESTAMP = 1710676103
-SHA256 (Noto/NotoSerifArmenian-v2.008.zip) = b21c198a4c76ae598a304decefb3b5c2a4c2d4c3ae226728eff359185f291c6f
-SIZE (Noto/NotoSerifArmenian-v2.008.zip) = 4889280
+TIMESTAMP = 1715677690
+SHA256 (Noto/SerifArmenian/2.008/LICENSE) = f2095b08bed08b23a6fe26112fcd679a2bee3f002eef077eb05d215ed1051bd8
+SIZE (Noto/SerifArmenian/2.008/LICENSE) = 4374
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-Black.ttf) = ce52754bc0096b968ff62984fd0b1edd858303a2fa09a94c6f435c58705625e1
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-Black.ttf) = 32340
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-Bold.ttf) = 79b6e9d36f8409444d16bb88e8c1f091aaf9548fb9ba7e5dba572aec325f905e
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-Bold.ttf) = 30260
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-Condensed.ttf) = 7cc9f4c3525059b5143fb5173e92f6d8612f5a59fa9271c539b7357939979d27
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-Condensed.ttf) = 33640
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-CondensedBlack.ttf) = 724beb511351c5599a16a467046151a4fa86dbd9a0c998683f94a3ff4dc397b7
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-CondensedBlack.ttf) = 34852
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-CondensedBold.ttf) = 6a5c257f0a520381939bd483d68bc2053486d65daf85d2446c51a6344ce591f4
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-CondensedBold.ttf) = 29800
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-CondensedExtraBold.ttf) = 7fe37ce2e8d7eb30c5e53bf25059b4a1fc851321c5ae61b14b6f7ff044471274
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-CondensedExtraBold.ttf) = 30856
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-CondensedExtraLight.ttf) = c9c1678355c9821d61f5e84ded63a9e9aeea78099d814058760ad79470ccfe57
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-CondensedExtraLight.ttf) = 30936
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-CondensedLight.ttf) = f23bd6e75213b5bdb7211dfd3de2bcc2d49c3b5a7c0a719ee3ba7622fc1d6787
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-CondensedLight.ttf) = 30472
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-CondensedMedium.ttf) = 4d9b8a01c4db65a897ab1bba7d41f6972a2d7aa431de37233afadf2f775aada5
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-CondensedMedium.ttf) = 31248
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-CondensedSemiBold.ttf) = 962dbfa79fee054e2dd74ee651ca6d7781c52dd0c42a5bbcca232416057ab4c7
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-CondensedSemiBold.ttf) = 30668
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-CondensedThin.ttf) = fb6180f342c734a6cb3180e4b88e4ad32f4355b30218e0719e99b79734d5b2e6
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-CondensedThin.ttf) = 32180
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-ExtraBold.ttf) = b6443e89074ac6dbae139313cd09874343fa5f551cc2bbbf22542d5033ed330c
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-ExtraBold.ttf) = 34516
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-ExtraCondensed.ttf) = a7f513679425f225f4b418925a8bcb96448112a987025c64b17d64fbf98d49a8
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-ExtraCondensed.ttf) = 32756
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-ExtraCondensedBlack.ttf) = 2ff1e09e0e53a33488a454a7f2334d3739e0db796c68f9332804548383e2df8c
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-ExtraCondensedBlack.ttf) = 34788
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-ExtraCondensedBold.ttf) = f490b58292c26812130eada7d3cf84d0a3b85c5cecd9ae1bad8c7496c262d983
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-ExtraCondensedBold.ttf) = 29800
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-ExtraCondensedExtraBold.ttf) = 5d46099e5808a9ea56e624f69df1732c1e42f7720794be241cdf2baf6337473e
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-ExtraCondensedExtraBold.ttf) = 30644
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-ExtraCondensedExtraLight.ttf) = 684c5ebb08f973c6418db60f342b8ac735fdcbce89acd1e70cab9c10d5ba56e3
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-ExtraCondensedExtraLight.ttf) = 30936
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-ExtraCondensedLight.ttf) = d74cccba92bf0250cd168356d4d92571a6e1bdcd9d202eb3cf8a970b2a6b4850
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-ExtraCondensedLight.ttf) = 30572
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-ExtraCondensedMedium.ttf) = 30eee831cf817d353e1e1913bc5100e9cb183f54c52bd7671c853fe7ca982ffe
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-ExtraCondensedMedium.ttf) = 30180
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-ExtraCondensedSemiBold.ttf) = 35563fccbea15d677d32a63658dd54e8876a6772883ef5da57ff0e15e62e6e7c
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-ExtraCondensedSemiBold.ttf) = 29736
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-ExtraCondensedThin.ttf) = 149cad19ccbcfc8ad5d185111777988fa80a5d85ae66bca726e1240b5d19c960
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-ExtraCondensedThin.ttf) = 29056
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-ExtraLight.ttf) = e39600060c2701fe97749dccf4f7ee955f4c0e3d8d8929e094fc4ee22905253a
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-ExtraLight.ttf) = 30716
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-Light.ttf) = 0d5441710947413428eb2db4c44ec8ced82f55b4ff803fc08bf2a5f3dc4ddbd9
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-Light.ttf) = 30748
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-Medium.ttf) = e882020eec686e496984bb3ac316f7654893031ec4218e3d815d263f5bb49bf0
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-Medium.ttf) = 31656
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-Regular.ttf) = 6dc71b17c55d398c7cc88edeec527292ba1e0573b033ac2136c636ab36c27d76
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-Regular.ttf) = 31040
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-SemiBold.ttf) = 25505719552436e6e7a3d77e3f4c98bf66189a4832c1ab298a6835b78e01059b
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-SemiBold.ttf) = 30880
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-SemiCondensed.ttf) = 33f766b2bce2006d19b4cbdee48baa9f04e6eca572c91e77a0a5e8e1ff448ab9
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-SemiCondensed.ttf) = 33392
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-SemiCondensedBlack.ttf) = 94ebb2b00d7f78cfd36bdd093e4f7895ac8ae57bbcffdc32af4a4cb09df3577d
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-SemiCondensedBlack.ttf) = 32308
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-SemiCondensedBold.ttf) = 25c1fc7052b6bad62db70115a7930ba81075b526fc5244d2313ac58a777254b5
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-SemiCondensedBold.ttf) = 30068
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-SemiCondensedExtraBold.ttf) = f204d46da7acb9347887f9c7d5615c631afe66a0ac91b95eab593372479e6296
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-SemiCondensedExtraBold.ttf) = 34756
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-SemiCondensedExtraLight.ttf) = ffade45eef1d66da6b6ffe60520aaedbd93cd890bd0ccc14fe6e35308cf3525d
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-SemiCondensedExtraLight.ttf) = 30724
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-SemiCondensedLight.ttf) = 19cd957f01ee4debd6a8aaaa59277c54195237ff27a2f56422de486ece1d6b1f
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-SemiCondensedLight.ttf) = 30960
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-SemiCondensedMedium.ttf) = 9e24ede68b957d05a4061936338eb0d3b274c1b47e14663441c72ac6450e8832
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-SemiCondensedMedium.ttf) = 30792
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-SemiCondensedSemiBold.ttf) = 7c01741039d95b42f1b52f710bc595a404e242fd620af42af02613125ef2b6c6
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-SemiCondensedSemiBold.ttf) = 31796
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-SemiCondensedThin.ttf) = 6b4e181959f8735fcb3048c4c94a356d471d862fd898b78c76250856c7995566
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-SemiCondensedThin.ttf) = 32128
+SHA256 (Noto/SerifArmenian/2.008/NotoSerifArmenian-Thin.ttf) = 20480721d37055c2a859f789c351730f57696ab93cc0c2af11b7d7724ea22d89
+SIZE (Noto/SerifArmenian/2.008/NotoSerifArmenian-Thin.ttf) = 30504