Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2024 06:30:42 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b31b117e4ba6 - main - x11-fonts/noto-serif-telugu: Convert from upstream tarball to individual font files
Message-ID:  <202405160630.44G6Ug30043918@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

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

    x11-fonts/noto-serif-telugu: Convert from upstream tarball to individual font files
---
 x11-fonts/noto-serif-telugu/Makefile | 28 +++++++++++++++++++++-------
 x11-fonts/noto-serif-telugu/distinfo | 24 +++++++++++++++++++++---
 2 files changed, 42 insertions(+), 10 deletions(-)

diff --git a/x11-fonts/noto-serif-telugu/Makefile b/x11-fonts/noto-serif-telugu/Makefile
index 7ea06fd572fd..040e88fd305b 100644
--- a/x11-fonts/noto-serif-telugu/Makefile
+++ b/x11-fonts/noto-serif-telugu/Makefile
@@ -1,28 +1,42 @@
 PORTNAME=	noto
 PORTVERSION=	2.005
 CATEGORIES=	x11-fonts
-MASTER_SITES=	https://github.com/notofonts/telugu/releases/download/NotoSerifTelugu-v${PORTVERSION}/
+MASTER_SITES=	https://github.com/notofonts/notofonts.github.io/raw/NotoSerifTelugu-v${PORTVERSION}/fonts/ \
+		https://github.com/notofonts/notofonts.github.io/raw/NotoSerifTelugu-v${PORTVERSION}/fonts/NotoSerifTelugu/hinted/ttf/:fonts
 PKGNAMESUFFIX=	-serif-telugu
-DISTNAME=	NotoSerifTelugu-v${PORTVERSION}
-DIST_SUBDIR=	Noto
+DISTFILES=	LICENSE \
+		${FONTS:S|$|:fonts|}
+DIST_SUBDIR=	Noto/SerifTelugu/${PORTVERSION}
+EXTRACT_ONLY=	# empty
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Google Noto Serif Telugu
 WWW=		https://fonts.google.com/noto \
 		https://notofonts.github.io/ \
-		https://github.com/notofonts/telugu
+		https://github.com/notofonts/telugu \
+		https://github.com/notofonts/notofonts.github.io/tree/main/fonts/NotoSerifTelugu
 
 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=		NotoSerifTelugu-Black.ttf \
+		NotoSerifTelugu-Bold.ttf \
+		NotoSerifTelugu-ExtraBold.ttf \
+		NotoSerifTelugu-ExtraLight.ttf \
+		NotoSerifTelugu-Light.ttf \
+		NotoSerifTelugu-Medium.ttf \
+		NotoSerifTelugu-Regular.ttf \
+		NotoSerifTelugu-SemiBold.ttf \
+		NotoSerifTelugu-Thin.ttf
+
 do-install:
 	${MKDIR} ${STAGEDIR}${FONTSDIR}
-	${INSTALL_DATA} ${WRKSRC}/NotoSerifTelugu/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-telugu/distinfo b/x11-fonts/noto-serif-telugu/distinfo
index 23527afe478a..bd12986e0685 100644
--- a/x11-fonts/noto-serif-telugu/distinfo
+++ b/x11-fonts/noto-serif-telugu/distinfo
@@ -1,3 +1,21 @@
-TIMESTAMP = 1710676125
-SHA256 (Noto/NotoSerifTelugu-v2.005.zip) = 98b9b2478b4c2febefcdf92693ba098f44d55a70570b9cb88fad55018cc2f7f5
-SIZE (Noto/NotoSerifTelugu-v2.005.zip) = 5882887
+TIMESTAMP = 1715677714
+SHA256 (Noto/SerifTelugu/2.005/LICENSE) = f2095b08bed08b23a6fe26112fcd679a2bee3f002eef077eb05d215ed1051bd8
+SIZE (Noto/SerifTelugu/2.005/LICENSE) = 4374
+SHA256 (Noto/SerifTelugu/2.005/NotoSerifTelugu-Black.ttf) = 382442c138bc0d3032ee613cd6e8fbc6b03014e8e415b16baee267de696a28df
+SIZE (Noto/SerifTelugu/2.005/NotoSerifTelugu-Black.ttf) = 369992
+SHA256 (Noto/SerifTelugu/2.005/NotoSerifTelugu-Bold.ttf) = c3e590deff913f4e38803238c4508bed2e65dcb6759fe6c484362e839b26d7b1
+SIZE (Noto/SerifTelugu/2.005/NotoSerifTelugu-Bold.ttf) = 331876
+SHA256 (Noto/SerifTelugu/2.005/NotoSerifTelugu-ExtraBold.ttf) = 060df8b5e347ed9c1bc913382e1b1f277b95c810f2e55ccf849b96cd887e570a
+SIZE (Noto/SerifTelugu/2.005/NotoSerifTelugu-ExtraBold.ttf) = 377072
+SHA256 (Noto/SerifTelugu/2.005/NotoSerifTelugu-ExtraLight.ttf) = f4bd28a1c2b2fc402faa1cd18e06c985d786de2f96a007c1929dc8ee6b904a6f
+SIZE (Noto/SerifTelugu/2.005/NotoSerifTelugu-ExtraLight.ttf) = 319944
+SHA256 (Noto/SerifTelugu/2.005/NotoSerifTelugu-Light.ttf) = f00064db747eda7ae43379fb914a81662a7ead4d7e15aa6c77733a12cf360ce8
+SIZE (Noto/SerifTelugu/2.005/NotoSerifTelugu-Light.ttf) = 288484
+SHA256 (Noto/SerifTelugu/2.005/NotoSerifTelugu-Medium.ttf) = 7c2fd20bac2bcec3d6028525d6eab5f030adac666ff897744f1826d9009b7612
+SIZE (Noto/SerifTelugu/2.005/NotoSerifTelugu-Medium.ttf) = 304292
+SHA256 (Noto/SerifTelugu/2.005/NotoSerifTelugu-Regular.ttf) = 2b376e0351fb140f2edad9c54e8977f4f1effc4fe72443e152b3f6ad392c6f5f
+SIZE (Noto/SerifTelugu/2.005/NotoSerifTelugu-Regular.ttf) = 311724
+SHA256 (Noto/SerifTelugu/2.005/NotoSerifTelugu-SemiBold.ttf) = fb5905551e8b5c75d035c779662a3defdb7cd8d3f9f6db191d394e5a57db8b69
+SIZE (Noto/SerifTelugu/2.005/NotoSerifTelugu-SemiBold.ttf) = 310408
+SHA256 (Noto/SerifTelugu/2.005/NotoSerifTelugu-Thin.ttf) = 069a38ec2a441355082db2a17ddf13dd270189726a11d3bae4c25a90ea7f3b02
+SIZE (Noto/SerifTelugu/2.005/NotoSerifTelugu-Thin.ttf) = 290952



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405160630.44G6Ug30043918>