Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2024 15:12:53 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: 7f02f5305849 - main - x11-fonts/noto-basic: Convert to a meta port
Message-ID:  <202403231512.42NFCr7b036733@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=7f02f530584906729308bbd0d051866fdfc22e71

commit 7f02f530584906729308bbd0d051866fdfc22e71
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-23 15:10:53 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-23 15:10:53 +0000

    x11-fonts/noto-basic: Convert to a meta port
    
    - Bump PORTREVISION for dependency and package change
---
 x11-fonts/noto-basic/Makefile  | 37 +++++++++----------------------------
 x11-fonts/noto-basic/distinfo  |  3 ---
 x11-fonts/noto-basic/pkg-descr |  2 +-
 x11-fonts/noto-basic/pkg-plist | 12 ------------
 4 files changed, 10 insertions(+), 44 deletions(-)

diff --git a/x11-fonts/noto-basic/Makefile b/x11-fonts/noto-basic/Makefile
index e351a2d73543..3f8acb519b48 100644
--- a/x11-fonts/noto-basic/Makefile
+++ b/x11-fonts/noto-basic/Makefile
@@ -1,39 +1,20 @@
 PORTNAME=	noto
 PORTVERSION=	2.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	x11-fonts
-MASTER_SITES=	https://noto-website-2.storage.googleapis.com/pkgs/
 PKGNAMESUFFIX=	-basic
-DISTNAME=	Noto-hinted
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Google Noto Fonts family (Basic)
-WWW=		https://fonts.google.com/noto
+WWW=		https://fonts.google.com/noto \
+		https://github.com/notofonts/notofonts.github.io
 
-LICENSE=	OFL11
-LICENSE_FILE=	${WRKSRC}/LICENSE_OFL.txt
+RUN_DEPENDS=	noto-sans-basic>=0:x11-fonts/noto-sans-basic \
+		noto-sans-mono-basic>=0:x11-fonts/noto-sans-mono-basic \
+		noto-sans-symbols-basic>=0:x11-fonts/noto-sans-symbols-basic \
+		noto-sans-symbols2>=0:x11-fonts/noto-sans-symbols2 \
+		noto-serif-basic>=0:x11-fonts/noto-serif-basic
 
-USES=		fonts zip
-
-NO_ARCH=	yes
-NO_BUILD=	yes
-NO_WRKSUBDIR=	yes
-
-BASIC_FONTS=	NotoSans-Bold.ttf \
-		NotoSans-BoldItalic.ttf \
-		NotoSans-Italic.ttf \
-		NotoSans-Regular.ttf \
-		NotoSansMono-Bold.ttf \
-		NotoSansMono-Regular.ttf \
-		NotoSansSymbols-Bold.ttf \
-		NotoSansSymbols-Regular.ttf \
-		NotoSerif-Bold.ttf \
-		NotoSerif-BoldItalic.ttf \
-		NotoSerif-Italic.ttf \
-		NotoSerif-Regular.ttf
-
-do-install:
-	${MKDIR} ${STAGEDIR}${FONTSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${BASIC_FONTS} ${STAGEDIR}${FONTSDIR}
+USES=		metaport
 
 .include <bsd.port.mk>
diff --git a/x11-fonts/noto-basic/distinfo b/x11-fonts/noto-basic/distinfo
deleted file mode 100644
index ad7bf3b8c0ba..000000000000
--- a/x11-fonts/noto-basic/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1598970895
-SHA256 (Noto-hinted.zip) = 837b4a9352fce32ad7f298fbf155af1da5b6f3f8dbd995eb63fdd8e82117e4ae
-SIZE (Noto-hinted.zip) = 1159948133
diff --git a/x11-fonts/noto-basic/pkg-descr b/x11-fonts/noto-basic/pkg-descr
index 180293d23376..295cfc1c5779 100644
--- a/x11-fonts/noto-basic/pkg-descr
+++ b/x11-fonts/noto-basic/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 provides the basic fonts set.
+This port is the meta port for basic fonts set.
diff --git a/x11-fonts/noto-basic/pkg-plist b/x11-fonts/noto-basic/pkg-plist
deleted file mode 100644
index f9278dc9d79e..000000000000
--- a/x11-fonts/noto-basic/pkg-plist
+++ /dev/null
@@ -1,12 +0,0 @@
-%%FONTSDIR%%/NotoSans-Bold.ttf
-%%FONTSDIR%%/NotoSans-BoldItalic.ttf
-%%FONTSDIR%%/NotoSans-Italic.ttf
-%%FONTSDIR%%/NotoSans-Regular.ttf
-%%FONTSDIR%%/NotoSansMono-Bold.ttf
-%%FONTSDIR%%/NotoSansMono-Regular.ttf
-%%FONTSDIR%%/NotoSansSymbols-Bold.ttf
-%%FONTSDIR%%/NotoSansSymbols-Regular.ttf
-%%FONTSDIR%%/NotoSerif-Bold.ttf
-%%FONTSDIR%%/NotoSerif-BoldItalic.ttf
-%%FONTSDIR%%/NotoSerif-Italic.ttf
-%%FONTSDIR%%/NotoSerif-Regular.ttf



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