svn commit: r494525 - head/x11-fonts/noto

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Mar 3 22:21:45 UTC 2019


Author: sunpoet
Date: Sun Mar  3 22:21:41 2019
New Revision: 494525
URL: https://svnweb.freebsd.org/changeset/ports/494525

Log:
  Change to meta port
  
  - Update COMMENT
  - Update pkg-descr
  - Update WWW
  - Bump PORTREVISION for package change

Deleted:
  head/x11-fonts/noto/distinfo
  head/x11-fonts/noto/pkg-plist
Modified:
  head/x11-fonts/noto/Makefile
  head/x11-fonts/noto/pkg-descr

Modified: head/x11-fonts/noto/Makefile
==============================================================================
--- head/x11-fonts/noto/Makefile	Sun Mar  3 22:21:32 2019	(r494524)
+++ head/x11-fonts/noto/Makefile	Sun Mar  3 22:21:41 2019	(r494525)
@@ -2,29 +2,31 @@
 
 PORTNAME=	noto
 PORTVERSION=	1.0.5
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	x11-fonts
-MASTER_SITES=	https://noto-website.storage.googleapis.com/pkgs/
-DISTNAME=	${PORTNAME:S|n|N|}-hinted
-DISTFILES=	${DISTNAME}.zip \
-		${PORTNAME:S|n|N|}SerifCJKjp-hinted.zip \
-		${PORTNAME:S|n|N|}SerifCJKkr-hinted.zip \
-		${PORTNAME:S|n|N|}SerifCJKsc-hinted.zip \
-		${PORTNAME:S|n|N|}SerifCJKtc-hinted.zip
 
 MAINTAINER=	sunpoet at FreeBSD.org
-COMMENT=	Google font family
+COMMENT=	Google Noto Fonts family (meta port)
 
 LICENSE=	OFL11
-LICENSE_FILE=	${WRKSRC}/LICENSE_OFL.txt
 
-USES=		fonts zip
-NO_BUILD=	yes
-NO_WRKSUBDIR=	yes
+USES=		metaport
 
-do-install:
-	${MKDIR} ${STAGEDIR}${FONTSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} *.otf ${STAGEDIR}${FONTSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTSDIR}
+OPTIONS_DEFINE=	BASIC EXTRA JP KR SC TC
+OPTIONS_DEFAULT=BASIC EXTRA JP KR SC TC
+
+BASIC_DESC=	Install basic fonts set
+EXTRA_DESC=	Install extra fonts set
+JP_DESC=	Install Japanese fonts set
+KR_DESC=	Install Korean fonts set
+SC_DESC=	Install Simplified Chinese fonts set
+TC_DESC=	Install Traditional Chinese fonts set
+
+BASIC_RUN_DEPENDS=	noto-basic>=0:x11-fonts/noto-basic
+EXTRA_RUN_DEPENDS=	noto-extra>=0:x11-fonts/noto-extra
+JP_RUN_DEPENDS=		noto-jp>=0:x11-fonts/noto-jp
+KR_RUN_DEPENDS=		noto-kr>=0:x11-fonts/noto-kr
+SC_RUN_DEPENDS=		noto-sc>=0:x11-fonts/noto-sc
+TC_RUN_DEPENDS=		noto-tc>=0:x11-fonts/noto-tc
 
 .include <bsd.port.mk>

Modified: head/x11-fonts/noto/pkg-descr
==============================================================================
--- head/x11-fonts/noto/pkg-descr	Sun Mar  3 22:21:32 2019	(r494524)
+++ head/x11-fonts/noto/pkg-descr	Sun Mar  3 22:21:41 2019	(r494525)
@@ -1,4 +1,21 @@
-Noto is Google's font family that aims to support all the world's languages.
-Its design goal is to achieve visual harmonization across languages.
+When text is rendered by a computer, sometimes characters are displayed as
+"tofu". They are little boxes to indicate your device doesn't have a font to
+display the text.
 
-WWW: http://www.google.com/get/noto/
+Google has been developing a font family called Noto, which aims to support all
+languages with a harmonious look and feel. Noto is Google's answer to tofu. The
+name noto is to convey the idea that Google's goal is to see no more "tofu".
+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.
+
+x11-fonts/noto is a meta port which includes:
+- x11-fonts/noto-basic: basic fonts set with emoji
+- x11-fonts/noto-extra: extra fonts set
+- x11-fonts/noto-jp: Japanese fonts set
+- x11-fonts/noto-kr: Korean fonts set
+- x11-fonts/noto-sc: Simplified Chinese fonts set
+- x11-fonts/noto-tc: Traditional Chinese fonts set
+
+WWW: https://www.google.com/get/noto/
+WWW: https://github.com/googlei18n?q=noto


More information about the svn-ports-all mailing list