Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2024 06:30:09 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: 66facc8a2926 - main - x11-fonts/noto-naskh-arabic: Convert from upstream tarball to individual font files
Message-ID:  <202405160630.44G6U96q037296@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=66facc8a29261627ed321462facba295dde5fd45

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

    x11-fonts/noto-naskh-arabic: Convert from upstream tarball to individual font files
---
 x11-fonts/noto-naskh-arabic/Makefile | 25 ++++++++++++++++++-------
 x11-fonts/noto-naskh-arabic/distinfo | 14 +++++++++++---
 2 files changed, 29 insertions(+), 10 deletions(-)

diff --git a/x11-fonts/noto-naskh-arabic/Makefile b/x11-fonts/noto-naskh-arabic/Makefile
index a8cc55633599..103fc2d239e9 100644
--- a/x11-fonts/noto-naskh-arabic/Makefile
+++ b/x11-fonts/noto-naskh-arabic/Makefile
@@ -1,28 +1,39 @@
 PORTNAME=	noto
 PORTVERSION=	2.018
 CATEGORIES=	x11-fonts
-MASTER_SITES=	https://github.com/notofonts/arabic/releases/download/NotoNaskhArabic-v${PORTVERSION}/
+#MASTER_SITES=	https://github.com/notofonts/notofonts.github.io/raw/NotoNaskhArabic-v${PORTVERSION}/fonts/ \
+#		https://github.com/notofonts/notofonts.github.io/raw/NotoNaskhArabic-v${PORTVERSION}/fonts/NotoNaskhArabic/hinted/ttf/:fonts
+MASTER_SITES=	https://github.com/notofonts/notofonts.github.io/raw/noto-monthly-release-23.12.1/fonts/ \
+		https://github.com/notofonts/notofonts.github.io/raw/noto-monthly-release-23.12.1/fonts/NotoNaskhArabic/hinted/ttf/:fonts
 PKGNAMESUFFIX=	-naskh-arabic
-DISTNAME=	NotoNaskhArabic-v${PORTVERSION}
-DIST_SUBDIR=	Noto
+DISTFILES=	LICENSE \
+		${FONTS:S|$|:fonts|}
+DIST_SUBDIR=	Noto/NaskhArabic/${PORTVERSION}
+EXTRACT_ONLY=	# empty
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Google Noto Naskh Arabic
 WWW=		https://fonts.google.com/noto \
 		https://notofonts.github.io/ \
-		https://github.com/notofonts/arabic
+		https://github.com/notofonts/arabic \
+		https://github.com/notofonts/notofonts.github.io/tree/main/fonts/NotoNaskhArabic
 
 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=		NotoNaskhArabic-Bold.ttf \
+		NotoNaskhArabic-Medium.ttf \
+		NotoNaskhArabic-Regular.ttf \
+		NotoNaskhArabic-SemiBold.ttf
+
 do-install:
 	${MKDIR} ${STAGEDIR}${FONTSDIR}
-	${INSTALL_DATA} ${WRKSRC}/NotoNaskhArabic/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR}
+	cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${FONTS} ${STAGEDIR}${FONTSDIR}
 
 .include <bsd.port.mk>
diff --git a/x11-fonts/noto-naskh-arabic/distinfo b/x11-fonts/noto-naskh-arabic/distinfo
index a3423ba64d0b..531fa7fe8e45 100644
--- a/x11-fonts/noto-naskh-arabic/distinfo
+++ b/x11-fonts/noto-naskh-arabic/distinfo
@@ -1,3 +1,11 @@
-TIMESTAMP = 1710676057
-SHA256 (Noto/NotoNaskhArabic-v2.018.zip) = 3c5dce5eebe2b8bd9e2d208872c5b6d51d1a2a99bd77528d4d72651a00b164f0
-SIZE (Noto/NotoNaskhArabic-v2.018.zip) = 3501911
+TIMESTAMP = 1715677656
+SHA256 (Noto/NaskhArabic/2.018/LICENSE) = f2095b08bed08b23a6fe26112fcd679a2bee3f002eef077eb05d215ed1051bd8
+SIZE (Noto/NaskhArabic/2.018/LICENSE) = 4374
+SHA256 (Noto/NaskhArabic/2.018/NotoNaskhArabic-Bold.ttf) = 6a6abacebd8f08cf24cda234770d9eabfd35fe7bb76c5dd66ae99e86f630bf92
+SIZE (Noto/NaskhArabic/2.018/NotoNaskhArabic-Bold.ttf) = 298672
+SHA256 (Noto/NaskhArabic/2.018/NotoNaskhArabic-Medium.ttf) = 7808a7ed4f26fa202dc04be6e68ea6e2e5f1dd0ec2623e589f1eac4df1cfeef5
+SIZE (Noto/NaskhArabic/2.018/NotoNaskhArabic-Medium.ttf) = 278536
+SHA256 (Noto/NaskhArabic/2.018/NotoNaskhArabic-Regular.ttf) = a9662e3ee87c3f9640ad25ba33078298cddab197a3e8da75a3b1feea42b85ef3
+SIZE (Noto/NaskhArabic/2.018/NotoNaskhArabic-Regular.ttf) = 260252
+SHA256 (Noto/NaskhArabic/2.018/NotoNaskhArabic-SemiBold.ttf) = d7097725c75736288b05724339df8b23674c7ddcee3dc004e25b36e26fc2d5a4
+SIZE (Noto/NaskhArabic/2.018/NotoNaskhArabic-SemiBold.ttf) = 280216



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