Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2018 23:26:37 +0000 (UTC)
From:      Koichiro Iwao <meta@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r470584 - head/x11-fonts/inconsolata-ttf
Message-ID:  <201805212326.w4LNQbD8078434@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: meta
Date: Mon May 21 23:26:37 2018
New Revision: 470584
URL: https://svnweb.freebsd.org/changeset/ports/470584

Log:
  x11-fonts/inconsolata-ttf: Update to 2.001
  
  According to WWW[1], the official release is at Google Fonts[2] and official
  upstream repository is on GitHub[3] now.
  
  * Update to 2.001
  * Update WWW
  * Add LICENSE, LICENSE_FILE
  * Add NO_ARCH
  * Bump PORTEPOCH since upstream now has an explicit version number and it goes backwards
  
  [1] http://levien.com/type/myfonts/inconsolata.html
  [2] https://www.google.com/fonts/specimen/Inconsolata
  [3] https://github.com/google/fonts/tree/master/ofl/inconsolata
  
  PR:		228331
  Submitted by:	meta (myself)
  Approved by:	ashish (maintainer), pi (mentor)
  Differential Revision:	https://reviews.freebsd.org/D15472

Modified:
  head/x11-fonts/inconsolata-ttf/Makefile
  head/x11-fonts/inconsolata-ttf/distinfo
  head/x11-fonts/inconsolata-ttf/pkg-descr

Modified: head/x11-fonts/inconsolata-ttf/Makefile
==============================================================================
--- head/x11-fonts/inconsolata-ttf/Makefile	Mon May 21 22:52:23 2018	(r470583)
+++ head/x11-fonts/inconsolata-ttf/Makefile	Mon May 21 23:26:37 2018	(r470584)
@@ -2,25 +2,34 @@
 # $FreeBSD$
 
 PORTNAME=	inconsolata-ttf
-PORTVERSION=	20090215
-PORTREVISION=	2
+PORTVERSION=	2.001
+PORTEPOCH=	1
 CATEGORIES=	x11-fonts
-MASTER_SITES=	http://www.levien.com/type/myfonts/
-DISTNAME=	Inconsolata
-EXTRACT_SUFX=	.otf
-EXTRACT_ONLY=
 
 MAINTAINER=	ashish@FreeBSD.org
 COMMENT=	Monospaced truetype font
 
+LICENSE=	OFL11
+LICENSE_FILE=	${WRKSRC}/OFL.txt
+
+NO_ARCH=	yes
 USES=		fonts
+USE_GITHUB=	yes
+GH_ACCOUNT=	google
+GH_PROJECT=	fonts
+GH_TAGNAME=	efcbdc5
 FONTNAME=	inconsolata
 USE_XORG=	x11
-PLIST_FILES=	${FONTSDIR}/${DISTNAME}${EXTRACT_SUFX}
+PLIST_FILES=	${FONTSDIR}/Inconsolata-Bold.ttf \
+		${FONTSDIR}/Inconsolata-Regular.ttf
 NO_BUILD=	yes
 
+WRKSRC_SUBDIR=	ofl/${FONTNAME}
+
 do-install:
 	${MKDIR} ${STAGEDIR}${FONTSDIR}
-	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} ${STAGEDIR}${FONTSDIR}
+	${INSTALL_DATA} ${WRKSRC}/Inconsolata-Bold.ttf \
+			${WRKSRC}/Inconsolata-Regular.ttf \
+			${STAGEDIR}/${FONTSDIR}
 
 .include <bsd.port.mk>

Modified: head/x11-fonts/inconsolata-ttf/distinfo
==============================================================================
--- head/x11-fonts/inconsolata-ttf/distinfo	Mon May 21 22:52:23 2018	(r470583)
+++ head/x11-fonts/inconsolata-ttf/distinfo	Mon May 21 23:26:37 2018	(r470584)
@@ -1,2 +1,3 @@
-SHA256 (Inconsolata.otf) = 1561e616c414a1b82d6e6dfbd18e5726fd65028913ade191e5fa38b6ec375a1a
-SIZE (Inconsolata.otf) = 58464
+TIMESTAMP = 1526620705
+SHA256 (google-fonts-2.001-efcbdc5_GH0.tar.gz) = 437ab149a7dfc8e30fd475eaa961389acb3b23c0b53281619d68de0069b8e777
+SIZE (google-fonts-2.001-efcbdc5_GH0.tar.gz) = 342767177

Modified: head/x11-fonts/inconsolata-ttf/pkg-descr
==============================================================================
--- head/x11-fonts/inconsolata-ttf/pkg-descr	Mon May 21 22:52:23 2018	(r470583)
+++ head/x11-fonts/inconsolata-ttf/pkg-descr	Mon May 21 23:26:37 2018	(r470584)
@@ -3,4 +3,4 @@ print.  There are a great many "programmer fonts," des
 on the screen, but in most cases do not have the attention to detail for high
 resolution rendering.
 
-WWW: http://www.levien.com/type/myfonts/inconsolata.html
+WWW: https://fonts.google.com/specimen/Inconsolata



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