Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2024 18:21:32 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: a6ac892a1592 - main - x11-fonts/noto-sans-symbols: Convert from a meta port to a normal port
Message-ID:  <202405131821.44DILWix026291@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=a6ac892a1592df6b174b479e58df1c35f2fd6230

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

    x11-fonts/noto-sans-symbols: Convert from a meta port to a normal port
    
    - Merge x11-fonts/noto-sans-symbols-{basic,extra}
    - Bump PORTREVISION for dependency and package change
---
 x11-fonts/noto-sans-symbols/Makefile  | 36 ++++++++++++++++++++++++++++++-----
 x11-fonts/noto-sans-symbols/distinfo  | 21 ++++++++++++++++++++
 x11-fonts/noto-sans-symbols/pkg-descr |  2 +-
 x11-fonts/noto-sans-symbols/pkg-plist |  9 +++++++++
 4 files changed, 62 insertions(+), 6 deletions(-)

diff --git a/x11-fonts/noto-sans-symbols/Makefile b/x11-fonts/noto-sans-symbols/Makefile
index dfaa2640382f..04898f46636b 100644
--- a/x11-fonts/noto-sans-symbols/Makefile
+++ b/x11-fonts/noto-sans-symbols/Makefile
@@ -1,17 +1,43 @@
 PORTNAME=	noto
-PORTVERSION=	2.003
+PORTVERSION=	2.008
+PORTREVISION=	1
 CATEGORIES=	x11-fonts
+MASTER_SITES=	https://github.com/notofonts/notofonts.github.io/raw/noto-monthly-release-23.7.1/fonts/ \
+		https://github.com/notofonts/notofonts.github.io/raw/noto-monthly-release-23.7.1/fonts/NotoSansSymbols/hinted/ttf/:fonts
 PKGNAMESUFFIX=	-sans-symbols
+DISTFILES=	LICENSE \
+		${FONTS:S|$|:fonts|}
+DIST_SUBDIR=	Noto/SansSymbols/${PORTVERSION}
+EXTRACT_ONLY=	# empty
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Google Noto Sans Symbols
 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/NotoSansSymbols
 
-RUN_DEPENDS=	noto-sans-symbols-basic>=0:x11-fonts/noto-sans-symbols-basic \
-		noto-sans-symbols-extra>=0:x11-fonts/noto-sans-symbols-extra
+LICENSE=	OFL11
+LICENSE_FILE=	${DISTDIR}/${DIST_SUBDIR}/LICENSE
 
-USES=		metaport
+USES=		fonts
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+NO_WRKSUBDIR=	yes
+
+FONTS=		NotoSansSymbols-Black.ttf \
+		NotoSansSymbols-Bold.ttf \
+		NotoSansSymbols-ExtraBold.ttf \
+		NotoSansSymbols-ExtraLight.ttf \
+		NotoSansSymbols-Light.ttf \
+		NotoSansSymbols-Medium.ttf \
+		NotoSansSymbols-Regular.ttf \
+		NotoSansSymbols-SemiBold.ttf \
+		NotoSansSymbols-Thin.ttf
+
+do-install:
+	${MKDIR} ${STAGEDIR}${FONTSDIR}
+	cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${FONTS} ${STAGEDIR}${FONTSDIR}
 
 .include <bsd.port.mk>
diff --git a/x11-fonts/noto-sans-symbols/distinfo b/x11-fonts/noto-sans-symbols/distinfo
new file mode 100644
index 000000000000..041108018f9b
--- /dev/null
+++ b/x11-fonts/noto-sans-symbols/distinfo
@@ -0,0 +1,21 @@
+TIMESTAMP = 1712261153
+SHA256 (Noto/SansSymbols/2.008/LICENSE) = f2095b08bed08b23a6fe26112fcd679a2bee3f002eef077eb05d215ed1051bd8
+SIZE (Noto/SansSymbols/2.008/LICENSE) = 4374
+SHA256 (Noto/SansSymbols/2.008/NotoSansSymbols-Black.ttf) = 637e3857aa729ec67aae4bfc6838cd298cad2b4a54de953916f0b1c5e10b2121
+SIZE (Noto/SansSymbols/2.008/NotoSansSymbols-Black.ttf) = 235968
+SHA256 (Noto/SansSymbols/2.008/NotoSansSymbols-Bold.ttf) = af83250e7c5bdd37d542187a724ac6b33453a6550e741cebcacf7a771891f75e
+SIZE (Noto/SansSymbols/2.008/NotoSansSymbols-Bold.ttf) = 228028
+SHA256 (Noto/SansSymbols/2.008/NotoSansSymbols-ExtraBold.ttf) = 3b603fecbbd9ad1b45223c6b7871cf9d54b653653fade3c1da0bdec98cef8740
+SIZE (Noto/SansSymbols/2.008/NotoSansSymbols-ExtraBold.ttf) = 229908
+SHA256 (Noto/SansSymbols/2.008/NotoSansSymbols-ExtraLight.ttf) = a14c578c4b8ad2142a7830225a5d215ed15c7e2295cebd7e211614336e2288fc
+SIZE (Noto/SansSymbols/2.008/NotoSansSymbols-ExtraLight.ttf) = 232496
+SHA256 (Noto/SansSymbols/2.008/NotoSansSymbols-Light.ttf) = 659843a49ef43ff42f9c315285a9e8b828853c46496f8bed426800b68b10b697
+SIZE (Noto/SansSymbols/2.008/NotoSansSymbols-Light.ttf) = 228800
+SHA256 (Noto/SansSymbols/2.008/NotoSansSymbols-Medium.ttf) = f2422696752b46d12ff32c4abfe5201b34c9b83404fc5da6ccab05fceaff6bd3
+SIZE (Noto/SansSymbols/2.008/NotoSansSymbols-Medium.ttf) = 227616
+SHA256 (Noto/SansSymbols/2.008/NotoSansSymbols-Regular.ttf) = d0e98e9a2c046594c5021437273943be7e79e0fd980fde125279e22302212595
+SIZE (Noto/SansSymbols/2.008/NotoSansSymbols-Regular.ttf) = 226980
+SHA256 (Noto/SansSymbols/2.008/NotoSansSymbols-SemiBold.ttf) = 9ab8ee074de01e611ee9085c4721eeaa02efe815dea7b32f682bba7dd6fb6afe
+SIZE (Noto/SansSymbols/2.008/NotoSansSymbols-SemiBold.ttf) = 228356
+SHA256 (Noto/SansSymbols/2.008/NotoSansSymbols-Thin.ttf) = b3f87bf5316769f72382ac64cbefc08030350028d4dacb5622a1c5cefc6ec6e9
+SIZE (Noto/SansSymbols/2.008/NotoSansSymbols-Thin.ttf) = 231428
diff --git a/x11-fonts/noto-sans-symbols/pkg-descr b/x11-fonts/noto-sans-symbols/pkg-descr
index 5740f14d488b..3f90cb4dbfb8 100644
--- a/x11-fonts/noto-sans-symbols/pkg-descr
+++ b/x11-fonts/noto-sans-symbols/pkg-descr
@@ -9,4 +9,4 @@ Noto has multiple styles and weights, and is freely available to all. The
 comprehensive set of fonts and tools used in our development is available in our
 GitHub repositories.
 
-This port is the meta port for Noto Sans Symbols.
+This port provides the fonts set of Noto Sans Symbols.
diff --git a/x11-fonts/noto-sans-symbols/pkg-plist b/x11-fonts/noto-sans-symbols/pkg-plist
new file mode 100644
index 000000000000..22f632081289
--- /dev/null
+++ b/x11-fonts/noto-sans-symbols/pkg-plist
@@ -0,0 +1,9 @@
+%%FONTSDIR%%/NotoSansSymbols-Black.ttf
+%%FONTSDIR%%/NotoSansSymbols-Bold.ttf
+%%FONTSDIR%%/NotoSansSymbols-ExtraBold.ttf
+%%FONTSDIR%%/NotoSansSymbols-ExtraLight.ttf
+%%FONTSDIR%%/NotoSansSymbols-Light.ttf
+%%FONTSDIR%%/NotoSansSymbols-Medium.ttf
+%%FONTSDIR%%/NotoSansSymbols-Regular.ttf
+%%FONTSDIR%%/NotoSansSymbols-SemiBold.ttf
+%%FONTSDIR%%/NotoSansSymbols-Thin.ttf



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