git: 9bdd2e02f04d - main - x11-fonts/noto-jp: Convert to a meta port

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 30 Dec 2022 09:08:54 UTC
The branch main has been updated by sunpoet:

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

commit 9bdd2e02f04d027087617570cd216cda6d25b2e9
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-12-30 08:40:54 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-12-30 09:04:14 +0000

    x11-fonts/noto-jp: Convert to a meta port
    
    - Update to Sans 2.004 and Serif 2.001
    - Update WWW
    - Update pkg-descr
---
 x11-fonts/noto-jp/Makefile  | 54 +++++---------------------------------
 x11-fonts/noto-jp/distinfo  | 63 ---------------------------------------------
 x11-fonts/noto-jp/pkg-descr |  5 +---
 x11-fonts/noto-jp/pkg-plist | 30 ---------------------
 4 files changed, 7 insertions(+), 145 deletions(-)

diff --git a/x11-fonts/noto-jp/Makefile b/x11-fonts/noto-jp/Makefile
index 5ac71f1578e2..da65ff2982c0 100644
--- a/x11-fonts/noto-jp/Makefile
+++ b/x11-fonts/noto-jp/Makefile
@@ -1,58 +1,16 @@
 PORTNAME=	noto
-PORTVERSION=	2.002
+PORTVERSION=	2.004
 CATEGORIES=	x11-fonts
-MASTER_SITES=	https://github.com/googlefonts/noto-cjk/raw/v20201206-cjk/
 PKGNAMESUFFIX=	-jp
-DISTFILES=	LICENSE \
-		${NOTO_JP_FONTS}
-DIST_SUBDIR=	Noto/CJK/${PORTVERSION}
-EXTRACT_ONLY=	# empty
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Google Noto Fonts family (Japanese)
-WWW=		https://www.google.com/get/noto/
+WWW=		https://www.google.com/get/noto/ \
+		https://github.com/googlefonts/noto-cjk
 
-LICENSE=	OFL11
-LICENSE_FILE=	${DISTDIR}/${DIST_SUBDIR}/LICENSE
+RUN_DEPENDS=	noto-sans-jp>=0:x11-fonts/noto-sans-jp \
+		noto-serif-jp>=0:x11-fonts/noto-serif-jp
 
-USES=		fonts
-
-NO_ARCH=	yes
-NO_BUILD=	yes
-
-NOTO_JP_FONTS=	NotoSansCJKjp-Black.otf \
-		NotoSansCJKjp-Bold.otf \
-		NotoSansCJKjp-DemiLight.otf \
-		NotoSansCJKjp-Light.otf \
-		NotoSansCJKjp-Medium.otf \
-		NotoSansCJKjp-Regular.otf \
-		NotoSansCJKjp-Thin.otf \
-		NotoSansJP-Black.otf \
-		NotoSansJP-Bold.otf \
-		NotoSansJP-DemiLight.otf \
-		NotoSansJP-Light.otf \
-		NotoSansJP-Medium.otf \
-		NotoSansJP-Regular.otf \
-		NotoSansJP-Thin.otf \
-		NotoSansMonoCJKjp-Bold.otf \
-		NotoSansMonoCJKjp-Regular.otf \
-		NotoSerifCJKjp-Black.otf \
-		NotoSerifCJKjp-Bold.otf \
-		NotoSerifCJKjp-ExtraLight.otf \
-		NotoSerifCJKjp-Light.otf \
-		NotoSerifCJKjp-Medium.otf \
-		NotoSerifCJKjp-Regular.otf \
-		NotoSerifCJKjp-SemiBold.otf \
-		NotoSerifJP-Black.otf \
-		NotoSerifJP-Bold.otf \
-		NotoSerifJP-ExtraLight.otf \
-		NotoSerifJP-Light.otf \
-		NotoSerifJP-Medium.otf \
-		NotoSerifJP-Regular.otf \
-		NotoSerifJP-SemiBold.otf
-
-do-install:
-	${MKDIR} ${STAGEDIR}${FONTSDIR}
-	cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${NOTO_JP_FONTS} ${STAGEDIR}${FONTSDIR}
+USES=		metaport
 
 .include <bsd.port.mk>
diff --git a/x11-fonts/noto-jp/distinfo b/x11-fonts/noto-jp/distinfo
deleted file mode 100644
index 5288228993dd..000000000000
--- a/x11-fonts/noto-jp/distinfo
+++ /dev/null
@@ -1,63 +0,0 @@
-TIMESTAMP = 1634111666
-SHA256 (Noto/CJK/2.002/LICENSE) = 6a73f9541c2de74158c0e7cf6b0a58ef774f5a780bf191f2d7ec9cc53efe2bf2
-SIZE (Noto/CJK/2.002/LICENSE) = 4301
-SHA256 (Noto/CJK/2.002/NotoSansCJKjp-Black.otf) = 9af8d152fcaeb50cab8665064025103f04d62dec431f71141457e8701b4a4803
-SIZE (Noto/CJK/2.002/NotoSansCJKjp-Black.otf) = 18045916
-SHA256 (Noto/CJK/2.002/NotoSansCJKjp-Bold.otf) = ad23152c3b30e0e470bd1205a78a05113f633d892772ae5bdaf96e9356f7f68c
-SIZE (Noto/CJK/2.002/NotoSansCJKjp-Bold.otf) = 17538216
-SHA256 (Noto/CJK/2.002/NotoSansCJKjp-DemiLight.otf) = 174abb3c5f1608e7b9d7b2334c536b36ca035bb28218b3b1d6e9777462677107
-SIZE (Noto/CJK/2.002/NotoSansCJKjp-DemiLight.otf) = 16904672
-SHA256 (Noto/CJK/2.002/NotoSansCJKjp-Light.otf) = b951ebc1daf23b7d277d87d45e193184e13fc0300a1c529fc58a456acee03147
-SIZE (Noto/CJK/2.002/NotoSansCJKjp-Light.otf) = 16818868
-SHA256 (Noto/CJK/2.002/NotoSansCJKjp-Medium.otf) = 919d08e599bd3ecce9bb8ca1de0c7797f8ffdf55c67d83d4896206acdd72735b
-SIZE (Noto/CJK/2.002/NotoSansCJKjp-Medium.otf) = 17052612
-SHA256 (Noto/CJK/2.002/NotoSansCJKjp-Regular.otf) = ab6c34435d045dba5988f810e1be28235fb0a31be7c0cd1354d894c1c2bb87a9
-SIZE (Noto/CJK/2.002/NotoSansCJKjp-Regular.otf) = 16964104
-SHA256 (Noto/CJK/2.002/NotoSansCJKjp-Thin.otf) = e5c7afc62f0169bb677d4961dee20586a94e68a7e168919bf877d7b3ac33edb5
-SIZE (Noto/CJK/2.002/NotoSansCJKjp-Thin.otf) = 15603500
-SHA256 (Noto/CJK/2.002/NotoSansJP-Black.otf) = d3c9fa36d2f53948dce2fd9a17f045ffa5fab55202bf22a51f117d8c046e3e64
-SIZE (Noto/CJK/2.002/NotoSansJP-Black.otf) = 4916340
-SHA256 (Noto/CJK/2.002/NotoSansJP-Bold.otf) = 940533b442d9fbfe810142ae46c24dad3990bd2ed62e565e22895308897e76bf
-SIZE (Noto/CJK/2.002/NotoSansJP-Bold.otf) = 4714720
-SHA256 (Noto/CJK/2.002/NotoSansJP-DemiLight.otf) = 6fee911f9be0c012a9278b22b1e59779865c00bdd7bef3a7526f23f1f8982169
-SIZE (Noto/CJK/2.002/NotoSansJP-DemiLight.otf) = 4559540
-SHA256 (Noto/CJK/2.002/NotoSansJP-Light.otf) = 9688e0969d0e1fded12f9d0ffbfd412faf5fb0610ee473aeae1c0de9030740a6
-SIZE (Noto/CJK/2.002/NotoSansJP-Light.otf) = 4535596
-SHA256 (Noto/CJK/2.002/NotoSansJP-Medium.otf) = 68b6f53ce931fe8235706fdb2b003db0642a8a6271e1308c857262f65aa8c2d3
-SIZE (Noto/CJK/2.002/NotoSansJP-Medium.otf) = 4587172
-SHA256 (Noto/CJK/2.002/NotoSansJP-Regular.otf) = a134311616ec89a45682312bcde81f3d61fc84191e20d1098c6764218e103cc5
-SIZE (Noto/CJK/2.002/NotoSansJP-Regular.otf) = 4570384
-SHA256 (Noto/CJK/2.002/NotoSansJP-Thin.otf) = a254f98cc14e009b8e4c5d8385b40b0384788231ab0dcec44665f0d19f61620f
-SIZE (Noto/CJK/2.002/NotoSansJP-Thin.otf) = 4263408
-SHA256 (Noto/CJK/2.002/NotoSansMonoCJKjp-Bold.otf) = 6bdcc5e7a8d95af0199b547d9ddb3ac98009b80f2fb81c4b5d0ca8119dc83f13
-SIZE (Noto/CJK/2.002/NotoSansMonoCJKjp-Bold.otf) = 17494448
-SHA256 (Noto/CJK/2.002/NotoSansMonoCJKjp-Regular.otf) = 7cf9f9f69e701f9b3c13921af85366865db9806f117e663ea30645f4bb7756f2
-SIZE (Noto/CJK/2.002/NotoSansMonoCJKjp-Regular.otf) = 16920532
-SHA256 (Noto/CJK/2.002/NotoSerifCJKjp-Black.otf) = 0db4bdcfe6e0a7cf0fd4fa532d1dd7c33cb2de90197f5c1fcaa33d5ffa1bd1f7
-SIZE (Noto/CJK/2.002/NotoSerifCJKjp-Black.otf) = 22926508
-SHA256 (Noto/CJK/2.002/NotoSerifCJKjp-Bold.otf) = 58934baab3edc7196d7e2b79a07c8e0377699fa61708b87be8711315dbc2ccf3
-SIZE (Noto/CJK/2.002/NotoSerifCJKjp-Bold.otf) = 24694400
-SHA256 (Noto/CJK/2.002/NotoSerifCJKjp-ExtraLight.otf) = c1e56e2ad421217782e6cb18ef88533efb0d99523249b6ebd987c3f958bd8e92
-SIZE (Noto/CJK/2.002/NotoSerifCJKjp-ExtraLight.otf) = 21313820
-SHA256 (Noto/CJK/2.002/NotoSerifCJKjp-Light.otf) = 485ec27ad7c2ae6eb44af1a6b5f0a603577a886b04f8cc4c0e5db219e2978715
-SIZE (Noto/CJK/2.002/NotoSerifCJKjp-Light.otf) = 23468788
-SHA256 (Noto/CJK/2.002/NotoSerifCJKjp-Medium.otf) = 481cec1d1c2b12c8c2504134393e480b6c0a34af0120c130603c55dc0ba938f0
-SIZE (Noto/CJK/2.002/NotoSerifCJKjp-Medium.otf) = 23900156
-SHA256 (Noto/CJK/2.002/NotoSerifCJKjp-Regular.otf) = 79c0247b9bd2bcb68d011b0b32d00f575743cb69b308c57625371c1b457cdf88
-SIZE (Noto/CJK/2.002/NotoSerifCJKjp-Regular.otf) = 23624340
-SHA256 (Noto/CJK/2.002/NotoSerifCJKjp-SemiBold.otf) = 5a60025b47c0583ba4f0977c8c8da66a586b547365af6ef9776b720a027821da
-SIZE (Noto/CJK/2.002/NotoSerifCJKjp-SemiBold.otf) = 23888120
-SHA256 (Noto/CJK/2.002/NotoSerifJP-Black.otf) = 82493ab8e52bbbdc196ea619e3a4175397b66c1f3e546a37f572b142c44c9a40
-SIZE (Noto/CJK/2.002/NotoSerifJP-Black.otf) = 6339268
-SHA256 (Noto/CJK/2.002/NotoSerifJP-Bold.otf) = 36fb67448496053160fb393a5839742bcb88dfad1810c9081d16275061422483
-SIZE (Noto/CJK/2.002/NotoSerifJP-Bold.otf) = 6436060
-SHA256 (Noto/CJK/2.002/NotoSerifJP-ExtraLight.otf) = d7f1ff319dfad5716767c2426161c7ec0de32f0188a26e42f9725d58595fdb59
-SIZE (Noto/CJK/2.002/NotoSerifJP-ExtraLight.otf) = 5675496
-SHA256 (Noto/CJK/2.002/NotoSerifJP-Light.otf) = 230c9cf1e5e74273c174640333cb352323f3d6114e3e41a3c972d1ae065e885e
-SIZE (Noto/CJK/2.002/NotoSerifJP-Light.otf) = 6093028
-SHA256 (Noto/CJK/2.002/NotoSerifJP-Medium.otf) = ead14d3d2b05d4f22360940fd3a14a28da9e0a67ac7df261ab17121807ad7db1
-SIZE (Noto/CJK/2.002/NotoSerifJP-Medium.otf) = 6248168
-SHA256 (Noto/CJK/2.002/NotoSerifJP-Regular.otf) = a12875dcde3979f7901cd52c6f750f763e5ad2824cf3c27019a61dd5de5a8d9d
-SIZE (Noto/CJK/2.002/NotoSerifJP-Regular.otf) = 6174156
-SHA256 (Noto/CJK/2.002/NotoSerifJP-SemiBold.otf) = 4d8a38b1c13717513aa93d5efb22c801b5b6494ecd7135bc3ebabce45e703fd0
-SIZE (Noto/CJK/2.002/NotoSerifJP-SemiBold.otf) = 6283516
diff --git a/x11-fonts/noto-jp/pkg-descr b/x11-fonts/noto-jp/pkg-descr
index a67f342d66a0..5aaf78b11179 100644
--- a/x11-fonts/noto-jp/pkg-descr
+++ b/x11-fonts/noto-jp/pkg-descr
@@ -6,7 +6,4 @@ and letters in the Basic Multilingual Plane of Unicode. It also provides limited
 coverage of CJK Ideographs in Plane 2 of Unicode as necessary to support
 standards from China and Japan.
 
-This port is the set of Japanese fonts which supports all of the kanji in JIS X
-0208, JIS X 0213, and JIS X 0212 to include all kanji in Adobe-Japan1-6.
-
-See also: https://github.com/googlefonts/noto-cjk
+This port is the meta port for Japanese fonts.
diff --git a/x11-fonts/noto-jp/pkg-plist b/x11-fonts/noto-jp/pkg-plist
deleted file mode 100644
index 1af7f1f4eef3..000000000000
--- a/x11-fonts/noto-jp/pkg-plist
+++ /dev/null
@@ -1,30 +0,0 @@
-%%FONTSDIR%%/NotoSansCJKjp-Black.otf
-%%FONTSDIR%%/NotoSansCJKjp-Bold.otf
-%%FONTSDIR%%/NotoSansCJKjp-DemiLight.otf
-%%FONTSDIR%%/NotoSansCJKjp-Light.otf
-%%FONTSDIR%%/NotoSansCJKjp-Medium.otf
-%%FONTSDIR%%/NotoSansCJKjp-Regular.otf
-%%FONTSDIR%%/NotoSansCJKjp-Thin.otf
-%%FONTSDIR%%/NotoSansMonoCJKjp-Bold.otf
-%%FONTSDIR%%/NotoSansMonoCJKjp-Regular.otf
-%%FONTSDIR%%/NotoSansJP-Black.otf
-%%FONTSDIR%%/NotoSansJP-Bold.otf
-%%FONTSDIR%%/NotoSansJP-DemiLight.otf
-%%FONTSDIR%%/NotoSansJP-Light.otf
-%%FONTSDIR%%/NotoSansJP-Medium.otf
-%%FONTSDIR%%/NotoSansJP-Regular.otf
-%%FONTSDIR%%/NotoSansJP-Thin.otf
-%%FONTSDIR%%/NotoSerifCJKjp-Black.otf
-%%FONTSDIR%%/NotoSerifCJKjp-Bold.otf
-%%FONTSDIR%%/NotoSerifCJKjp-ExtraLight.otf
-%%FONTSDIR%%/NotoSerifCJKjp-Light.otf
-%%FONTSDIR%%/NotoSerifCJKjp-Medium.otf
-%%FONTSDIR%%/NotoSerifCJKjp-Regular.otf
-%%FONTSDIR%%/NotoSerifCJKjp-SemiBold.otf
-%%FONTSDIR%%/NotoSerifJP-Black.otf
-%%FONTSDIR%%/NotoSerifJP-Bold.otf
-%%FONTSDIR%%/NotoSerifJP-ExtraLight.otf
-%%FONTSDIR%%/NotoSerifJP-Light.otf
-%%FONTSDIR%%/NotoSerifJP-Medium.otf
-%%FONTSDIR%%/NotoSerifJP-Regular.otf
-%%FONTSDIR%%/NotoSerifJP-SemiBold.otf