git: 210af0af5ee2 - main - x11-fonts/noto-sans-ethiopic: Convert from upstream tarball to individual font files

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

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

commit 210af0af5ee2586c8d2363808d4551398c6e9086
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-16 06:17:51 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-16 06:22:00 +0000

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

diff --git a/x11-fonts/noto-sans-ethiopic/Makefile b/x11-fonts/noto-sans-ethiopic/Makefile
index 3246d6d6d639..6c62ba94329d 100644
--- a/x11-fonts/noto-sans-ethiopic/Makefile
+++ b/x11-fonts/noto-sans-ethiopic/Makefile
@@ -1,28 +1,71 @@
 PORTNAME=	noto
 PORTVERSION=	2.102
 CATEGORIES=	x11-fonts
-MASTER_SITES=	https://github.com/notofonts/ethiopic/releases/download/NotoSansEthiopic-v${PORTVERSION}/
+#MASTER_SITES=	https://github.com/notofonts/notofonts.github.io/raw/NotoSansEthiopic-v${PORTVERSION}/fonts/ \
+#		https://github.com/notofonts/notofonts.github.io/raw/NotoSansEthiopic-v${PORTVERSION}/fonts/NotoSansEthiopic/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/NotoSansEthiopic/hinted/ttf/:fonts
 PKGNAMESUFFIX=	-sans-ethiopic
-DISTNAME=	NotoSansEthiopic-v${PORTVERSION}
-DIST_SUBDIR=	Noto
+DISTFILES=	LICENSE \
+		${FONTS:S|$|:fonts|}
+DIST_SUBDIR=	Noto/SansEthiopic/${PORTVERSION}
+EXTRACT_ONLY=	# empty
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Google Noto Sans Ethiopic
 WWW=		https://fonts.google.com/noto \
 		https://notofonts.github.io/ \
-		https://github.com/notofonts/ethiopic
+		https://github.com/notofonts/ethiopic \
+		https://github.com/notofonts/notofonts.github.io/tree/main/fonts/NotoSansEthiopic
 
 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=		NotoSansEthiopic-Black.ttf \
+		NotoSansEthiopic-Bold.ttf \
+		NotoSansEthiopic-Condensed.ttf \
+		NotoSansEthiopic-CondensedBlack.ttf \
+		NotoSansEthiopic-CondensedBold.ttf \
+		NotoSansEthiopic-CondensedExtraBold.ttf \
+		NotoSansEthiopic-CondensedExtraLight.ttf \
+		NotoSansEthiopic-CondensedLight.ttf \
+		NotoSansEthiopic-CondensedMedium.ttf \
+		NotoSansEthiopic-CondensedSemiBold.ttf \
+		NotoSansEthiopic-CondensedThin.ttf \
+		NotoSansEthiopic-ExtraBold.ttf \
+		NotoSansEthiopic-ExtraCondensed.ttf \
+		NotoSansEthiopic-ExtraCondensedBlack.ttf \
+		NotoSansEthiopic-ExtraCondensedBold.ttf \
+		NotoSansEthiopic-ExtraCondensedExtraBold.ttf \
+		NotoSansEthiopic-ExtraCondensedExtraLight.ttf \
+		NotoSansEthiopic-ExtraCondensedLight.ttf \
+		NotoSansEthiopic-ExtraCondensedMedium.ttf \
+		NotoSansEthiopic-ExtraCondensedSemiBold.ttf \
+		NotoSansEthiopic-ExtraCondensedThin.ttf \
+		NotoSansEthiopic-ExtraLight.ttf \
+		NotoSansEthiopic-Light.ttf \
+		NotoSansEthiopic-Medium.ttf \
+		NotoSansEthiopic-Regular.ttf \
+		NotoSansEthiopic-SemiBold.ttf \
+		NotoSansEthiopic-SemiCondensed.ttf \
+		NotoSansEthiopic-SemiCondensedBlack.ttf \
+		NotoSansEthiopic-SemiCondensedBold.ttf \
+		NotoSansEthiopic-SemiCondensedExtraBold.ttf \
+		NotoSansEthiopic-SemiCondensedExtraLight.ttf \
+		NotoSansEthiopic-SemiCondensedLight.ttf \
+		NotoSansEthiopic-SemiCondensedMedium.ttf \
+		NotoSansEthiopic-SemiCondensedSemiBold.ttf \
+		NotoSansEthiopic-SemiCondensedThin.ttf \
+		NotoSansEthiopic-Thin.ttf
+
 do-install:
 	${MKDIR} ${STAGEDIR}${FONTSDIR}
-	${INSTALL_DATA} ${WRKSRC}/NotoSansEthiopic/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-ethiopic/distinfo b/x11-fonts/noto-sans-ethiopic/distinfo
index b47e6c990646..b6bc7930c622 100644
--- a/x11-fonts/noto-sans-ethiopic/distinfo
+++ b/x11-fonts/noto-sans-ethiopic/distinfo
@@ -1,3 +1,75 @@
-TIMESTAMP = 1710676073
-SHA256 (Noto/NotoSansEthiopic-v2.102.zip) = 4e3e53aa1586344ba842f310ab35c65281fa11e8cc2d259613ad06a9ae994d52
-SIZE (Noto/NotoSansEthiopic-v2.102.zip) = 29992463
+TIMESTAMP = 1715677670
+SHA256 (Noto/SansEthiopic/2.102/LICENSE) = f2095b08bed08b23a6fe26112fcd679a2bee3f002eef077eb05d215ed1051bd8
+SIZE (Noto/SansEthiopic/2.102/LICENSE) = 4374
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-Black.ttf) = 0bc33e28e4139799dc025eb6bd2dfa8d60116cd2eea885ec7cc1945e56e95de3
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-Black.ttf) = 374056
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-Bold.ttf) = b45f16db963a94ccb6590b65d3b0e48f55cde011f7c0d4f3c00531e6b8500d6f
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-Bold.ttf) = 375172
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-Condensed.ttf) = 0d53545ebd8244e7b17fd04594142f55ff1e093d954af0be4857a7d5812c08cd
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-Condensed.ttf) = 386256
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-CondensedBlack.ttf) = ecabac5b4de1dad73fc45f20baf00a4cb8134766f99fc799bf2bf51e8e1d8ed1
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-CondensedBlack.ttf) = 392356
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-CondensedBold.ttf) = 22bb4295e035b12f1851c8fa35aabbce6b9b356dc1197a3957d7e845fae9771a
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-CondensedBold.ttf) = 388780
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-CondensedExtraBold.ttf) = 46cde7ec464f2ec849b470cabc5df58ec833971bf74af60092502d5fae88f88c
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-CondensedExtraBold.ttf) = 391888
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-CondensedExtraLight.ttf) = 7e424ea1e62776a20d58e02cc0bf71ee31d570d2db3f22b05baf3130dc0f46b9
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-CondensedExtraLight.ttf) = 393104
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-CondensedLight.ttf) = 3a60fe7d70f1e89a1d8d8cad8d2fa0e83f97d7f4a673218f25d7273b81c2ce14
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-CondensedLight.ttf) = 388532
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-CondensedMedium.ttf) = 44ed4d7a106e35f534b72ff73a437d49a0d7431cbfb74385c15e3682985d7861
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-CondensedMedium.ttf) = 393724
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-CondensedSemiBold.ttf) = c0fe5d22b7325486a1d907084fe880631c2ae63e913ab19f3fcfd1da2b001167
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-CondensedSemiBold.ttf) = 390384
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-CondensedThin.ttf) = 4009f18c538ca02177a50953c0f4bbe98601657d85c4361dc619a7a8b01fcc17
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-CondensedThin.ttf) = 356076
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-ExtraBold.ttf) = 5540da0ea6356823168fc5453bd633fe2874c8d1ba3b14dd4300d075715d7559
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-ExtraBold.ttf) = 376972
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-ExtraCondensed.ttf) = 5bcc82347c23ea2f5fc412e34fd5c04eb9b5d762ac74ea69356196f5051dd87a
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-ExtraCondensed.ttf) = 324108
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-ExtraCondensedBlack.ttf) = 3e5e9c41936344897d0bf8f76b8662720858374a798a2967854abd7e48f4221a
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-ExtraCondensedBlack.ttf) = 322236
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-ExtraCondensedBold.ttf) = d7f87e46f666ea966f6dbfd849503ff18d9d5e9bb37ed84ad818129c8a8bd2fd
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-ExtraCondensedBold.ttf) = 324648
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-ExtraCondensedExtraBold.ttf) = b2ab84dd9dd8bef888407eafea207b928930d4a4b4ce1f3a5c2c01d2879600bb
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-ExtraCondensedExtraBold.ttf) = 338600
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-ExtraCondensedExtraLight.ttf) = 6e24b206651ee2bd16ff635ee97b6575d3a6a294cc86bdf20859a850ebeef524
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-ExtraCondensedExtraLight.ttf) = 333136
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-ExtraCondensedLight.ttf) = bdc5332f29b94edb9583516305ccd40c1fa0fa37258898117f1cc10bd4b06d9d
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-ExtraCondensedLight.ttf) = 354072
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-ExtraCondensedMedium.ttf) = 4fe91c548db1283abd13e6292cf1c97388930d5608546b1d7019f880a2c80ec9
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-ExtraCondensedMedium.ttf) = 342676
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-ExtraCondensedSemiBold.ttf) = 58371a2215f056a0e509d62a9e40f1f82bd4796796caf952d46b60180ce0022b
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-ExtraCondensedSemiBold.ttf) = 337508
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-ExtraCondensedThin.ttf) = 3c4306154fd88bf5001df1b2b7f8e8aa7d697b99006d2762df28f75cc601a9f6
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-ExtraCondensedThin.ttf) = 302556
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-ExtraLight.ttf) = f449ecbb5282425dde9e2f40cf9a1c265fa87b1dda335cde33cb1c679ae5521a
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-ExtraLight.ttf) = 369444
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-Light.ttf) = 32f573965fe3bb68ae6c7f594501afadeb5aee0ecc4e140b938f459c81a23732
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-Light.ttf) = 370940
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-Medium.ttf) = d5c09c921049aa49066524e68cca4d7a5f5d07c30a0f1f436902910bbb8dd60d
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-Medium.ttf) = 379976
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-Regular.ttf) = f6f7fc379db9438959a2b0527e7a2cf36ea9c84626d56ec444fff37fc24c3c10
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-Regular.ttf) = 376804
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-SemiBold.ttf) = c4447908a95c2a7d8721f047fa19e95700bdf09d1b15e185be922263d3aa72c2
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-SemiBold.ttf) = 374200
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-SemiCondensed.ttf) = c3dc4e19a95fcdc2d319efb79d674241c9d474cef7b97bcd489497e67bdfe5b0
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-SemiCondensed.ttf) = 391776
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-SemiCondensedBlack.ttf) = 641b1752e33bb3a242a223b47de23e645e58c6a12b3b37f868e9c886675deca1
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-SemiCondensedBlack.ttf) = 387520
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-SemiCondensedBold.ttf) = 76c24fff4ddec77e686e39e40cc73bafcd1680b405c3b4c094600040e40d4b4f
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-SemiCondensedBold.ttf) = 390972
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-SemiCondensedExtraBold.ttf) = a2d776979fc40f78939c30a3f5913c5eb5b2e4072e1907fe6b5581f44c292dd5
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-SemiCondensedExtraBold.ttf) = 392848
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-SemiCondensedExtraLight.ttf) = 60c775836ad930491e599f087935431d355b0ac40fc3869a1bf1d51ae24abeaf
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-SemiCondensedExtraLight.ttf) = 385000
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-SemiCondensedLight.ttf) = 8a6b7a30fa35a9667624270709ab136a933a9910002295f3e7796831876f4982
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-SemiCondensedLight.ttf) = 389424
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-SemiCondensedMedium.ttf) = af6ab84c9d79f782f23ae160e448eef7b8abd378c57abe21874c60b80f3c4fd2
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-SemiCondensedMedium.ttf) = 397516
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-SemiCondensedSemiBold.ttf) = 061c46f8d703289313d637a873b778168cb51a445edda0378c87496fb009e149
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-SemiCondensedSemiBold.ttf) = 390844
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-SemiCondensedThin.ttf) = 4952664bc53bd3c5001980b847b26ba444bf0719054e56de056b0f8505c66b3a
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-SemiCondensedThin.ttf) = 367680
+SHA256 (Noto/SansEthiopic/2.102/NotoSansEthiopic-Thin.ttf) = 102e84de41f56ae0a907d2eabe7bc968036a4758280d0963c03a3be3ef26fc54
+SIZE (Noto/SansEthiopic/2.102/NotoSansEthiopic-Thin.ttf) = 336968