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

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

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

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

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

diff --git a/x11-fonts/noto-serif-ethiopic/Makefile b/x11-fonts/noto-serif-ethiopic/Makefile
index c6b8a234567c..86986c1528e4 100644
--- a/x11-fonts/noto-serif-ethiopic/Makefile
+++ b/x11-fonts/noto-serif-ethiopic/Makefile
@@ -1,28 +1,69 @@
 PORTNAME=	noto
 PORTVERSION=	2.102
 CATEGORIES=	x11-fonts
-MASTER_SITES=	https://github.com/notofonts/ethiopic/releases/download/NotoSerifEthiopic-v${PORTVERSION}/
+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/NotoSerifEthiopic/hinted/ttf/:fonts
 PKGNAMESUFFIX=	-serif-ethiopic
-DISTNAME=	NotoSerifEthiopic-v${PORTVERSION}
-DIST_SUBDIR=	Noto
+DISTFILES=	LICENSE \
+		${FONTS:S|$|:fonts|}
+DIST_SUBDIR=	Noto/SerifEthiopic/${PORTVERSION}
+EXTRACT_ONLY=	# empty
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Google Noto Serif 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/NotoSerifEthiopic
 
 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=		NotoSerifEthiopic-Black.ttf \
+		NotoSerifEthiopic-Bold.ttf \
+		NotoSerifEthiopic-Condensed.ttf \
+		NotoSerifEthiopic-CondensedBlack.ttf \
+		NotoSerifEthiopic-CondensedBold.ttf \
+		NotoSerifEthiopic-CondensedExtraBold.ttf \
+		NotoSerifEthiopic-CondensedExtraLight.ttf \
+		NotoSerifEthiopic-CondensedLight.ttf \
+		NotoSerifEthiopic-CondensedMedium.ttf \
+		NotoSerifEthiopic-CondensedSemiBold.ttf \
+		NotoSerifEthiopic-CondensedThin.ttf \
+		NotoSerifEthiopic-ExtraBold.ttf \
+		NotoSerifEthiopic-ExtraCondensed.ttf \
+		NotoSerifEthiopic-ExtraCondensedBlack.ttf \
+		NotoSerifEthiopic-ExtraCondensedBold.ttf \
+		NotoSerifEthiopic-ExtraCondensedExtraBold.ttf \
+		NotoSerifEthiopic-ExtraCondensedExtraLight.ttf \
+		NotoSerifEthiopic-ExtraCondensedLight.ttf \
+		NotoSerifEthiopic-ExtraCondensedMedium.ttf \
+		NotoSerifEthiopic-ExtraCondensedSemiBold.ttf \
+		NotoSerifEthiopic-ExtraCondensedThin.ttf \
+		NotoSerifEthiopic-ExtraLight.ttf \
+		NotoSerifEthiopic-Light.ttf \
+		NotoSerifEthiopic-Medium.ttf \
+		NotoSerifEthiopic-Regular.ttf \
+		NotoSerifEthiopic-SemiBold.ttf \
+		NotoSerifEthiopic-SemiCondensed.ttf \
+		NotoSerifEthiopic-SemiCondensedBlack.ttf \
+		NotoSerifEthiopic-SemiCondensedBold.ttf \
+		NotoSerifEthiopic-SemiCondensedExtraBold.ttf \
+		NotoSerifEthiopic-SemiCondensedExtraLight.ttf \
+		NotoSerifEthiopic-SemiCondensedLight.ttf \
+		NotoSerifEthiopic-SemiCondensedMedium.ttf \
+		NotoSerifEthiopic-SemiCondensedSemiBold.ttf \
+		NotoSerifEthiopic-SemiCondensedThin.ttf \
+		NotoSerifEthiopic-Thin.ttf
+
 do-install:
 	${MKDIR} ${STAGEDIR}${FONTSDIR}
-	${INSTALL_DATA} ${WRKSRC}/NotoSerifEthiopic/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-ethiopic/distinfo b/x11-fonts/noto-serif-ethiopic/distinfo
index 60b995c1061f..06b651200021 100644
--- a/x11-fonts/noto-serif-ethiopic/distinfo
+++ b/x11-fonts/noto-serif-ethiopic/distinfo
@@ -1,3 +1,75 @@
-TIMESTAMP = 1710676109
-SHA256 (Noto/NotoSerifEthiopic-v2.102.zip) = 2cd163ed52f333c26fc2a55822ab1cabe875b782d73f9d55dfe5863d9e236c26
-SIZE (Noto/NotoSerifEthiopic-v2.102.zip) = 23415065
+TIMESTAMP = 1715677698
+SHA256 (Noto/SerifEthiopic/2.102/LICENSE) = f2095b08bed08b23a6fe26112fcd679a2bee3f002eef077eb05d215ed1051bd8
+SIZE (Noto/SerifEthiopic/2.102/LICENSE) = 4374
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-Black.ttf) = ce16591b9affbf5e2033feeddb7039a05427ac5dd86bb03f472d12c86bbf3e40
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-Black.ttf) = 311480
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-Bold.ttf) = 79fee593757de9ba7f8bd1cf7234827c1797d30c8e5b482645897ae538ae6cf9
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-Bold.ttf) = 308144
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-Condensed.ttf) = 6ea52037ea2e55b4de6f881dfa791eba128dd494688aa469c1fdc08b2af8d6f5
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-Condensed.ttf) = 308936
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-CondensedBlack.ttf) = ed0c19b9a238a86ec256529dd6c57c6cc86e3ce8bbaec1897c1d9c241a355d14
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-CondensedBlack.ttf) = 315172
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-CondensedBold.ttf) = a8757c61e55d93af7f6703b9b20b5aa21e14f3f262c90bde2bac7ff4daac34fc
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-CondensedBold.ttf) = 312036
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-CondensedExtraBold.ttf) = b43f46ef6b7911b328d164a53d37911fbbbff8e87da0ab32e7335f94c06a7b52
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-CondensedExtraBold.ttf) = 313012
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-CondensedExtraLight.ttf) = 875fa6ee052a7a45599b496356d87f1cd78cba60f6b68c4379c73e4aadd02691
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-CondensedExtraLight.ttf) = 321260
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-CondensedLight.ttf) = e9a753996d9dc4925f6fc22b4dad8f13dde180fb61c344cd78b3e9beb55c72b6
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-CondensedLight.ttf) = 320820
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-CondensedMedium.ttf) = cfbef1663556224551630ebc90b48e4984576bcbc6ee9bc75226abb850a3c0c1
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-CondensedMedium.ttf) = 313772
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-CondensedSemiBold.ttf) = f8f653086bd354d8bfaf9e63f2ae2efccbc321d5b9971d4d570cfabe58834254
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-CondensedSemiBold.ttf) = 316424
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-CondensedThin.ttf) = 5e09f7f3e650d35916f04d05f01eaf9e9996e173d1a1bf9e79ac288409d95bde
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-CondensedThin.ttf) = 313872
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-ExtraBold.ttf) = 93d6222473797a91c750477a987e012ebf64908b4c6fe408851ba80308efd73a
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-ExtraBold.ttf) = 312712
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-ExtraCondensed.ttf) = 07591ac81645b63cc06f17382ef4fb0c8b4761c064a46bfc584c3b2f232aefac
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-ExtraCondensed.ttf) = 307876
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-ExtraCondensedBlack.ttf) = 64adeafaa50f5d3dc919d2cda32dc30d43c07b14d201fb4dfc3174563e51049f
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-ExtraCondensedBlack.ttf) = 307496
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-ExtraCondensedBold.ttf) = 5548baf992842d7a8d08d05fa890aeec8919f660c7de3f31b452ddfe69a0cd2a
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-ExtraCondensedBold.ttf) = 310376
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-ExtraCondensedExtraBold.ttf) = fe3f2b72ad29e5eb0c75d6bf4649c25aa7500a01b25e3ea000c6f42a9576c708
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-ExtraCondensedExtraBold.ttf) = 311008
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-ExtraCondensedExtraLight.ttf) = 786e350f1a77a6f8ed66f6379aa77fc2e898f064dedbb8de1d8d2e793b744808
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-ExtraCondensedExtraLight.ttf) = 321336
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-ExtraCondensedLight.ttf) = 3361ca022b820c01273cf7eb66b4423e5cc1d82d9beca6eb5ee674d218d9670e
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-ExtraCondensedLight.ttf) = 319820
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-ExtraCondensedMedium.ttf) = 111887a23eb91a4fef97b8e7b29faa268d38d9ee47b8dc90e010cf29ca1775fc
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-ExtraCondensedMedium.ttf) = 311308
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-ExtraCondensedSemiBold.ttf) = 2c0eae3a205186549eb778bb605482cdd3dd52f1cd1717c0ddbf759ffcd017f1
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-ExtraCondensedSemiBold.ttf) = 318384
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-ExtraCondensedThin.ttf) = 9c3365c1529952304c16c1f18279adadb35bf2a557132a716fe55e75fe7a8f28
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-ExtraCondensedThin.ttf) = 305012
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-ExtraLight.ttf) = 35c22d9630a32a858370eb733fd6262da81292e594a11ba8220f4f95221228c2
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-ExtraLight.ttf) = 319376
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-Light.ttf) = dc47911636dedb2ae88e9916796a2acdd929686570aa9132a4331e0a7b2812a7
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-Light.ttf) = 318708
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-Medium.ttf) = 30358121c08e80d6f86ca35ee64966717ad7a26d55d3855b93f86b9600ac173f
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-Medium.ttf) = 309428
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-Regular.ttf) = 4d14f10b7436e762d41ddd9486acdc708744bf377a575d855b81b847b9590779
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-Regular.ttf) = 309844
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-SemiBold.ttf) = 98175da3cdd69591f20fce1b140fc36b8b99908911b3f05bd1203180a84c7dea
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-SemiBold.ttf) = 313080
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-SemiCondensed.ttf) = 9ecefee364cc1f2553144458af3f07f3cd095d00217605150843d72956ab24b3
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-SemiCondensed.ttf) = 310124
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-SemiCondensedBlack.ttf) = dcc12b4624f4aae2909320a19ef46dccc164be545587c0e313e7d11e49810984
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-SemiCondensedBlack.ttf) = 319296
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-SemiCondensedBold.ttf) = a3a658f1cbab2c83938314234a866befde27ca8dc0ae04903c36d5f9d4b8a68b
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-SemiCondensedBold.ttf) = 313320
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-SemiCondensedExtraBold.ttf) = 307a6a273ebf93c201f6088089f81b04bcce52cf4e4072618f4b173027db2791
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-SemiCondensedExtraBold.ttf) = 317608
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-SemiCondensedExtraLight.ttf) = ed836bb31b1d0147a826252e49e262f180396a6cf88851b2669423d42e1038fe
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-SemiCondensedExtraLight.ttf) = 323084
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-SemiCondensedLight.ttf) = ecf8b288828e8a7953d9318025247964f28370bdaf598cb5fad1e7e72298e81c
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-SemiCondensedLight.ttf) = 321428
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-SemiCondensedMedium.ttf) = 7aa71acd4a12349df3afff667414b833c410e62011ac6dd6e0437eb6e8860543
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-SemiCondensedMedium.ttf) = 315752
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-SemiCondensedSemiBold.ttf) = c6fb59414320591df19dc3929eed8d04e3eccbf6173d3954898225fa92d64ef7
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-SemiCondensedSemiBold.ttf) = 318656
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-SemiCondensedThin.ttf) = a27bd45c938d6019b03e7948d9d2e787d4b734af355d6e0af5ed332bce12e869
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-SemiCondensedThin.ttf) = 313448
+SHA256 (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-Thin.ttf) = d0531d0623004f7d0fa844e5e6da2dfe95f7f7706eadd29d5d48b9559b0bfa86
+SIZE (Noto/SerifEthiopic/2.102/NotoSerifEthiopic-Thin.ttf) = 306760