Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 May 2024 20:26:01 GMT
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5407d18b4907 - main - x11-fonts/inconsolata-ttf: Update to 3.000
Message-ID:  <202405062026.446KQ1OE048388@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5407d18b4907bfc437555883b537a25869634c9d

commit 5407d18b4907bfc437555883b537a25869634c9d
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-05-06 20:23:40 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-05-06 20:23:46 +0000

    x11-fonts/inconsolata-ttf: Update to 3.000
    
    * Use upstream release archive
    * Only extract what we really need to save on I/O
    * Rework Makefile for readability and simplify
    
    PR:             278794
    Reviewed by:    ashish (maintainer)
---
 x11-fonts/inconsolata-ttf/Makefile | 33 ++++++++++++++++-----------------
 x11-fonts/inconsolata-ttf/distinfo |  6 +++---
 2 files changed, 19 insertions(+), 20 deletions(-)

diff --git a/x11-fonts/inconsolata-ttf/Makefile b/x11-fonts/inconsolata-ttf/Makefile
index 926d34fdad4e..a295deeee6b6 100644
--- a/x11-fonts/inconsolata-ttf/Makefile
+++ b/x11-fonts/inconsolata-ttf/Makefile
@@ -1,34 +1,33 @@
 PORTNAME=	inconsolata-ttf
-PORTVERSION=	2.001
-PORTREVISION=	1
+DISTVERSION=	3.000
 PORTEPOCH=	1
 CATEGORIES=	x11-fonts
+MASTER_SITES=	https://github.com/googlefonts/Inconsolata/releases/download/v${DISTVERSION}/
+DISTNAME=	fonts_ttf
+EXTRACT_SUFX=	.zip
+DIST_SUBDIR=	${PORTNAME}/${DISTVERSION}
 
 MAINTAINER=	ashish@FreeBSD.org
 COMMENT=	Monospaced truetype font
 WWW=		https://fonts.google.com/specimen/Inconsolata
 
 LICENSE=	OFL11
-LICENSE_FILE=	${WRKSRC}/OFL.txt
 
+USES=		fonts
+
+EXTRACT_AFTER_ARGS=	--include fonts/ttf/Inconsolata-Bold.ttf \
+			--include fonts/ttf/Inconsolata-Regular.ttf \
+			--strip-components 2 \
+			--no-same-owner --no-same-permissions
 NO_ARCH=	yes
-USES=		fonts xorg
-USE_GITHUB=	yes
-GH_ACCOUNT=	google
-GH_PROJECT=	fonts
-GH_TAGNAME=	efcbdc5
-FONTNAME=	inconsolata
-USE_XORG=	x11
-PLIST_FILES=	${FONTSDIR}/Inconsolata-Bold.ttf \
-		${FONTSDIR}/Inconsolata-Regular.ttf
 NO_BUILD=	yes
+NO_WRKSUBDIR=	yes
 
-WRKSRC_SUBDIR=	ofl/${FONTNAME}
+PLIST_FILES=	${FONTSDIR}/Inconsolata-Bold.ttf \
+		${FONTSDIR}/Inconsolata-Regular.ttf
 
 do-install:
-	${MKDIR} ${STAGEDIR}${FONTSDIR}
-	${INSTALL_DATA} ${WRKSRC}/Inconsolata-Bold.ttf \
-			${WRKSRC}/Inconsolata-Regular.ttf \
-			${STAGEDIR}/${FONTSDIR}
+	@${MKDIR} ${STAGEDIR}${FONTSDIR}
+	${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}/${FONTSDIR}
 
 .include <bsd.port.mk>
diff --git a/x11-fonts/inconsolata-ttf/distinfo b/x11-fonts/inconsolata-ttf/distinfo
index 9a132a0e6e1f..42b0ba4013f2 100644
--- a/x11-fonts/inconsolata-ttf/distinfo
+++ b/x11-fonts/inconsolata-ttf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1526620705
-SHA256 (google-fonts-2.001-efcbdc5_GH0.tar.gz) = 437ab149a7dfc8e30fd475eaa961389acb3b23c0b53281619d68de0069b8e777
-SIZE (google-fonts-2.001-efcbdc5_GH0.tar.gz) = 342767177
+TIMESTAMP = 1714935246
+SHA256 (inconsolata-ttf/3.000/fonts_ttf.zip) = 626e8ee07501dbb544b50aa59ac2e4b9ec86b810670158a59c7a3cbaf475548a
+SIZE (inconsolata-ttf/3.000/fonts_ttf.zip) = 4019918



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