Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2024 18:21:33 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: d028f05ab6ce - main - x11-fonts/noto-sans-symbols2: Convert from upstream tarball to individual font file
Message-ID:  <202405131821.44DILX3H026345@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=d028f05ab6cee4d7baeeaf2344317f3b9e5c2969

commit d028f05ab6cee4d7baeeaf2344317f3b9e5c2969
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 18:20:15 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 18:20:15 +0000

    x11-fonts/noto-sans-symbols2: Convert from upstream tarball to individual font file
---
 x11-fonts/noto-sans-symbols2/Makefile | 20 +++++++++++++-------
 x11-fonts/noto-sans-symbols2/distinfo |  8 +++++---
 2 files changed, 18 insertions(+), 10 deletions(-)

diff --git a/x11-fonts/noto-sans-symbols2/Makefile b/x11-fonts/noto-sans-symbols2/Makefile
index ae9731f901b9..0ffc40c6b5f4 100644
--- a/x11-fonts/noto-sans-symbols2/Makefile
+++ b/x11-fonts/noto-sans-symbols2/Makefile
@@ -1,21 +1,25 @@
 PORTNAME=	noto
 PORTVERSION=	2.008
 CATEGORIES=	x11-fonts
-MASTER_SITES=	https://github.com/notofonts/symbols/releases/download/NotoSansSymbols2-v${PORTVERSION}/
+MASTER_SITES=	https://github.com/notofonts/notofonts.github.io/raw/noto-monthly-release-23.11.1/fonts/ \
+		https://github.com/notofonts/notofonts.github.io/raw/noto-monthly-release-23.11.1/fonts/NotoSansSymbols2/hinted/ttf/:fonts
 PKGNAMESUFFIX=	-sans-symbols2
-DISTNAME=	NotoSansSymbols2-v${PORTVERSION}
-DIST_SUBDIR=	Noto
+DISTFILES=	LICENSE \
+		${FONTS:S|$|:fonts|}
+DIST_SUBDIR=	Noto/SansSymbols2/${PORTVERSION}
+EXTRACT_ONLY=	# empty
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Google Noto Sans Symbols 2
 WWW=		https://fonts.google.com/noto \
 		https://notofonts.github.io/ \
-		https://github.com/notofonts/symbols
+		https://github.com/notofonts/symbols \
+		https://github.com/notofonts/notofonts.github.io/tree/main/fonts/NotoSansSymbols2
 
 LICENSE=	OFL11
-LICENSE_FILE=	${WRKSRC}/OFL.txt
+LICENSE_FILE=	${DISTDIR}/${DIST_SUBDIR}/LICENSE
 
-USES=		fonts zip
+USES=		fonts
 
 NO_ARCH=	yes
 NO_BUILD=	yes
@@ -23,8 +27,10 @@ NO_WRKSUBDIR=	yes
 
 PLIST_FILES=	${FONTSDIR}/NotoSansSymbols2-Regular.ttf
 
+FONTS=		NotoSansSymbols2-Regular.ttf
+
 do-install:
 	${MKDIR} ${STAGEDIR}${FONTSDIR}
-	${INSTALL_DATA} ${WRKSRC}/NotoSansSymbols2/hinted/ttf/NotoSansSymbols2-Regular.ttf ${STAGEDIR}${FONTSDIR}
+	cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${FONTS} ${STAGEDIR}${FONTSDIR}
 
 .include <bsd.port.mk>
diff --git a/x11-fonts/noto-sans-symbols2/distinfo b/x11-fonts/noto-sans-symbols2/distinfo
index be133a69a46c..97bb612a318c 100644
--- a/x11-fonts/noto-sans-symbols2/distinfo
+++ b/x11-fonts/noto-sans-symbols2/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1710676091
-SHA256 (Noto/NotoSansSymbols2-v2.008.zip) = 346c930bbe8eb946701a05c54e9c11a2094dee1d93c387bf1771c0a3e335688f
-SIZE (Noto/NotoSansSymbols2-v2.008.zip) = 2331441
+TIMESTAMP = 1712354461
+SHA256 (Noto/SansSymbols2/2.008/LICENSE) = f2095b08bed08b23a6fe26112fcd679a2bee3f002eef077eb05d215ed1051bd8
+SIZE (Noto/SansSymbols2/2.008/LICENSE) = 4374
+SHA256 (Noto/SansSymbols2/2.008/NotoSansSymbols2-Regular.ttf) = c4a0a80f0041ce4be81e2478faad22776d23edb98ae3f0d19bd37044820ecf9d
+SIZE (Noto/SansSymbols2/2.008/NotoSansSymbols2-Regular.ttf) = 671568



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