git: 72eb41c34c4b - main - x11-fonts/noto-sans-armenian: Convert from upstream tarball to individual font files

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

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

commit 72eb41c34c4bc4d041a28a7a76a9f5f316decc10
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-16 06:17:48 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-16 06:21:58 +0000

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

diff --git a/x11-fonts/noto-sans-armenian/Makefile b/x11-fonts/noto-sans-armenian/Makefile
index fe94db927435..a2e6c308cb1f 100644
--- a/x11-fonts/noto-sans-armenian/Makefile
+++ b/x11-fonts/noto-sans-armenian/Makefile
@@ -1,28 +1,69 @@
 PORTNAME=	noto
 PORTVERSION=	2.008
 CATEGORIES=	x11-fonts
-MASTER_SITES=	https://github.com/notofonts/armenian/releases/download/NotoSansArmenian-v${PORTVERSION}/
+MASTER_SITES=	https://github.com/notofonts/notofonts.github.io/raw/NotoSansArmenian-v${PORTVERSION}/fonts/ \
+		https://github.com/notofonts/notofonts.github.io/raw/NotoSansArmenian-v${PORTVERSION}/fonts/NotoSansArmenian/hinted/ttf/:fonts
 PKGNAMESUFFIX=	-sans-armenian
-DISTNAME=	NotoSansArmenian-v${PORTVERSION}
-DIST_SUBDIR=	Noto
+DISTFILES=	LICENSE \
+		${FONTS:S|$|:fonts|}
+DIST_SUBDIR=	Noto/SansArmenian/${PORTVERSION}
+EXTRACT_ONLY=	# empty
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Google Noto Sans 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/NotoSansArmenian
 
 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=		NotoSansArmenian-Black.ttf \
+		NotoSansArmenian-Bold.ttf \
+		NotoSansArmenian-Condensed.ttf \
+		NotoSansArmenian-CondensedBlack.ttf \
+		NotoSansArmenian-CondensedBold.ttf \
+		NotoSansArmenian-CondensedExtraBold.ttf \
+		NotoSansArmenian-CondensedExtraLight.ttf \
+		NotoSansArmenian-CondensedLight.ttf \
+		NotoSansArmenian-CondensedMedium.ttf \
+		NotoSansArmenian-CondensedSemiBold.ttf \
+		NotoSansArmenian-CondensedThin.ttf \
+		NotoSansArmenian-ExtraBold.ttf \
+		NotoSansArmenian-ExtraCondensed.ttf \
+		NotoSansArmenian-ExtraCondensedBlack.ttf \
+		NotoSansArmenian-ExtraCondensedBold.ttf \
+		NotoSansArmenian-ExtraCondensedExtraBold.ttf \
+		NotoSansArmenian-ExtraCondensedExtraLight.ttf \
+		NotoSansArmenian-ExtraCondensedLight.ttf \
+		NotoSansArmenian-ExtraCondensedMedium.ttf \
+		NotoSansArmenian-ExtraCondensedSemiBold.ttf \
+		NotoSansArmenian-ExtraCondensedThin.ttf \
+		NotoSansArmenian-ExtraLight.ttf \
+		NotoSansArmenian-Light.ttf \
+		NotoSansArmenian-Medium.ttf \
+		NotoSansArmenian-Regular.ttf \
+		NotoSansArmenian-SemiBold.ttf \
+		NotoSansArmenian-SemiCondensed.ttf \
+		NotoSansArmenian-SemiCondensedBlack.ttf \
+		NotoSansArmenian-SemiCondensedBold.ttf \
+		NotoSansArmenian-SemiCondensedExtraBold.ttf \
+		NotoSansArmenian-SemiCondensedExtraLight.ttf \
+		NotoSansArmenian-SemiCondensedLight.ttf \
+		NotoSansArmenian-SemiCondensedMedium.ttf \
+		NotoSansArmenian-SemiCondensedSemiBold.ttf \
+		NotoSansArmenian-SemiCondensedThin.ttf \
+		NotoSansArmenian-Thin.ttf
+
 do-install:
 	${MKDIR} ${STAGEDIR}${FONTSDIR}
-	${INSTALL_DATA} ${WRKSRC}/NotoSansArmenian/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR}
+	cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${FONTS} ${STAGEDIR}${FONTSDIR}
 
 .include <bsd.port.mk>
diff --git a/x11-fonts/noto-sans-armenian/distinfo b/x11-fonts/noto-sans-armenian/distinfo
index f515b64b7a31..78f12a6a4eca 100644
--- a/x11-fonts/noto-sans-armenian/distinfo
+++ b/x11-fonts/noto-sans-armenian/distinfo
@@ -1,3 +1,75 @@
-TIMESTAMP = 1710676061
-SHA256 (Noto/NotoSansArmenian-v2.008.zip) = eab89b99e134177ca6a3f9f0412a7cb812aafceb13175d686b4c45cb237f64ac
-SIZE (Noto/NotoSansArmenian-v2.008.zip) = 4472441
+TIMESTAMP = 1715677660
+SHA256 (Noto/SansArmenian/2.008/LICENSE) = f2095b08bed08b23a6fe26112fcd679a2bee3f002eef077eb05d215ed1051bd8
+SIZE (Noto/SansArmenian/2.008/LICENSE) = 4374
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-Black.ttf) = 842d8bd193c94730ded6f5c28b93b4e56e6403dbcc7ec4d4e3f19000cd215eb4
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-Black.ttf) = 32768
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-Bold.ttf) = 58e4529f7f44d1fcfbd5d81d446b656f1230267ebfa96f8006956f18fbe4bbe2
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-Bold.ttf) = 30784
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-Condensed.ttf) = cf4c3d72ce7de144c533a54a5389fb7d93e40c8afa3eb98290031c5407a9b0b0
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-Condensed.ttf) = 30536
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-CondensedBlack.ttf) = 1a7e0def3a1fd9c96608c56c0e50275805cab8951b1d4d25611a278b55b6b5cc
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-CondensedBlack.ttf) = 31352
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-CondensedBold.ttf) = ab0011fa158023ead394792c3faf102b78ffab12838e957c2ef6326906ae654b
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-CondensedBold.ttf) = 30828
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-CondensedExtraBold.ttf) = ef98101153c0991769311e2433d389045532c66275817fc66a8fc3968eff2a31
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-CondensedExtraBold.ttf) = 31136
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-CondensedExtraLight.ttf) = 9d744ed4435e6a7e34884a8adf5f2d31f27db2f8f9f02296dcc2c203bf9748cf
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-CondensedExtraLight.ttf) = 29588
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-CondensedLight.ttf) = 573e54bb3d4b10185e130503d137de00a4f1b9731850a84d512aa2dd692b09f3
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-CondensedLight.ttf) = 29572
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-CondensedMedium.ttf) = 6a8e028f51451e7e89fe457b4b797755d3611dc6d338438289080f65ff1dd2a6
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-CondensedMedium.ttf) = 30772
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-CondensedSemiBold.ttf) = 44dfc2b86c571e84cd91837c61a9faf4736b8139201b06716287b6e32c8764c8
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-CondensedSemiBold.ttf) = 30868
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-CondensedThin.ttf) = 4005a62009155c39fef07071a4dd642e9fde40208fee35b46c8156135d37cbda
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-CondensedThin.ttf) = 29512
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-ExtraBold.ttf) = 684dfdf4b9c4aa1096266959b575a2896b9502e60122ae4dc8f6b64f63c1b71a
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-ExtraBold.ttf) = 32400
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-ExtraCondensed.ttf) = f069917ef2cf95224ce619a2792556e1c9e56f8a3cecd4d195758989ff554975
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-ExtraCondensed.ttf) = 29912
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-ExtraCondensedBlack.ttf) = a7eda179e72bd4bc9bf7d22dd4cfee1b62d76e25b729501d3ad525c662bb54d2
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-ExtraCondensedBlack.ttf) = 30600
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-ExtraCondensedBold.ttf) = 9cfd9166c1efcf23844c2ea9d73bc400657b66c8e0fd164cd34c0dc51aff5ddf
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-ExtraCondensedBold.ttf) = 30152
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-ExtraCondensedExtraBold.ttf) = b9b48236e4b95efcb3460ea52a5bfc9f70532144a5b4dd719511c816471cad27
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-ExtraCondensedExtraBold.ttf) = 30688
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-ExtraCondensedExtraLight.ttf) = f1273d93d0c6ede4621888e14bc5f2eba20db4421be72e00d1a449b5cd6d92b6
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-ExtraCondensedExtraLight.ttf) = 29048
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-ExtraCondensedLight.ttf) = a05020f5323d8cd8f64c869215736f915c437febabd4134f3c5fb7be70f34b45
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-ExtraCondensedLight.ttf) = 28876
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-ExtraCondensedMedium.ttf) = dbf2be0419889b029cd185b2500a92799bb6a5986637b430a7d671397ee5d895
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-ExtraCondensedMedium.ttf) = 30200
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-ExtraCondensedSemiBold.ttf) = 02ab5f104e8f22ba8030cacf8e737c6b5fd08f0f27d1d2fc93eb92312071a437
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-ExtraCondensedSemiBold.ttf) = 30356
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-ExtraCondensedThin.ttf) = daaf3a5aa9bd24f2072e2011d60d3c0a75fb7f37083f5d938e9779d49ef4e2cb
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-ExtraCondensedThin.ttf) = 28828
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-ExtraLight.ttf) = 29102254ebd50c382baaa5076a90b65dd5b0ffeb3486b5e33db8f07e6a9d48eb
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-ExtraLight.ttf) = 29700
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-Light.ttf) = 1b46fb1d8aa3bee42aa428b22aef06fdb381d73d49d3bfc14c4270fee4d0f0ea
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-Light.ttf) = 29596
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-Medium.ttf) = d028c91f4ebce32ec708dc9b1697eb7f96ea2c1bb8fe47ff1ffcfde9477fcdea
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-Medium.ttf) = 30700
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-Regular.ttf) = 720df88c332417a235b4d6209d14ec2e2bf4bfe2a954b7453d869ea593bfce1e
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-Regular.ttf) = 30752
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-SemiBold.ttf) = 7b8779b43036645be7db44317c8557d6f7a329741e9f0de861887a305f2fdeb8
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-SemiBold.ttf) = 30904
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-SemiCondensed.ttf) = a86b30034edfcf6bf36fa8e4ff50a6da6d2692550771599711297d01b298b862
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-SemiCondensed.ttf) = 30648
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-SemiCondensedBlack.ttf) = 8b373072d7af5a69a69be66ff590aa26f77116ae54ca7faf970abb8632e3708a
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-SemiCondensedBlack.ttf) = 31624
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-SemiCondensedBold.ttf) = 1163835203b7bceff84c9e8fbbdef8aee7910173d9609bbd80a643cef185dcbe
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-SemiCondensedBold.ttf) = 30764
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-SemiCondensedExtraBold.ttf) = 4e091a7a1b9561fc4d1debc3fb65237a5264c3944e223a69cc1880b6b4939f76
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-SemiCondensedExtraBold.ttf) = 31316
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-SemiCondensedExtraLight.ttf) = 8dc2cd0da152950a8ac671127afb2cba4fa4f0b9561cc819aab7b5f1769b5edf
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-SemiCondensedExtraLight.ttf) = 29620
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-SemiCondensedLight.ttf) = 4da794b125a61f48542bdd30735ef25dc29c5d87e88cea88c66d2b1d71bf70a7
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-SemiCondensedLight.ttf) = 29544
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-SemiCondensedMedium.ttf) = c4926c41096b23654f7931a9ee3fc1fec611066645af96214735bea51d050e09
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-SemiCondensedMedium.ttf) = 30812
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-SemiCondensedSemiBold.ttf) = 61ebbf4258bb40d24ee1d2a8b2793dec309bde507aa81cc7fea64bef61a54a9a
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-SemiCondensedSemiBold.ttf) = 31248
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-SemiCondensedThin.ttf) = 666a30e8b45685a740c485e3e07d6987964fc2c5ca2e8a6f59838c6e9fff1949
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-SemiCondensedThin.ttf) = 29572
+SHA256 (Noto/SansArmenian/2.008/NotoSansArmenian-Thin.ttf) = 24827a6c6dc174a66a2387f880e3a689ea09638a0032de6752866304e5e754cc
+SIZE (Noto/SansArmenian/2.008/NotoSansArmenian-Thin.ttf) = 30576