Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Dec 2025 19:56:35 +0000
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: 7fd709a48d32 - main - x11-fonts/plex-ttf: Use upstream distname
Message-ID:  <6935dbf3.2702c.45c8ae29@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7fd709a48d324c892db95fb342f9af63db0c319e

commit 7fd709a48d324c892db95fb342f9af63db0c319e
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2025-12-07 11:46:59 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2025-12-07 19:52:08 +0000

    x11-fonts/plex-ttf: Use upstream distname
    
    Use common approach when upstream uses odd naming for release archive
    While at it makes use of (bsd)tar's functionality instead of calling
    find externally
---
 x11-fonts/plex-ttf/Makefile | 16 +++++++++++-----
 x11-fonts/plex-ttf/distinfo |  6 +++---
 2 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/x11-fonts/plex-ttf/Makefile b/x11-fonts/plex-ttf/Makefile
index 2272cf79a36a..68e355b6f0a3 100644
--- a/x11-fonts/plex-ttf/Makefile
+++ b/x11-fonts/plex-ttf/Makefile
@@ -1,23 +1,29 @@
 PORTNAME=	plex-ttf
 DISTVERSION=	6.4.0
 CATEGORIES=	x11-fonts
-MASTER_SITES=	https://github.com/IBM/plex/releases/download/v${DISTVERSION}/TrueType${EXTRACT_SUFX}?dummy=/
+MASTER_SITES=	https://github.com/IBM/plex/releases/download/v${DISTVERSION}/
+DISTNAME=	TrueType
+DIST_SUBDIR=	fonts/${PORTNAME}/${DISTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	IBM's signature typeface
 WWW=		https://github.com/IBM/plex
 
 LICENSE=	OFL11
-LICENSE_FILE=	${WRKSRC}/TrueType/IBM-Plex-Mono/license.txt
+LICENSE_FILE=	${WRKSRC}/license.txt
 
-USES=		fonts zip
+USES=		fonts
 NO_ARCH=	yes
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
 
+EXTRACT_SUFX=	.zip
+EXTRACT_AFTER_ARGS=	--strip-components 2 \
+			--no-same-owner --no-same-permissions
+
 do-install:
 	@${MKDIR} ${STAGEDIR}${FONTSDIR}
-	${FIND} ${WRKSRC} -name *.ttf -type f \
-		-exec ${INSTALL_DATA} {} ${STAGEDIR}${FONTSDIR} \;
+	${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${FONTSDIR}
+	${INSTALL_DATA} ${WRKSRC}/hinted/*.ttf ${STAGEDIR}${FONTSDIR}
 
 .include <bsd.port.mk>
diff --git a/x11-fonts/plex-ttf/distinfo b/x11-fonts/plex-ttf/distinfo
index a442bf048719..de54249bf379 100644
--- a/x11-fonts/plex-ttf/distinfo
+++ b/x11-fonts/plex-ttf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1706337928
-SHA256 (plex-ttf-6.4.0.zip) = 7e4f80047782fe9eb74cd0b63019da283a15db98942da476fee46098633a083c
-SIZE (plex-ttf-6.4.0.zip) = 104767447
+TIMESTAMP = 1765097987
+SHA256 (fonts/plex-ttf/6.4.0/TrueType.zip) = 7e4f80047782fe9eb74cd0b63019da283a15db98942da476fee46098633a083c
+SIZE (fonts/plex-ttf/6.4.0/TrueType.zip) = 104767447


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6935dbf3.2702c.45c8ae29>