git: 9a22dceae54e - main - x11-fonts/cascadia-code: Use EXTRACT_AFTER_ARGS to reduce I/O
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 06 Jun 2024 19:07:55 UTC
The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=9a22dceae54e0236da83ce52cfee4af1af99d0aa commit 9a22dceae54e0236da83ce52cfee4af1af99d0aa Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2024-06-06 06:36:15 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2024-06-06 19:05:48 +0000 x11-fonts/cascadia-code: Use EXTRACT_AFTER_ARGS to reduce I/O Use EXTRACT_AFTER_ARGS to reduce I/O more than 50% by only extracting files we install. PR: 278779 Approved by: blanket (improvment to build) --- x11-fonts/cascadia-code/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/x11-fonts/cascadia-code/Makefile b/x11-fonts/cascadia-code/Makefile index c1a08d8a52a0..4ec3b4c65df2 100644 --- a/x11-fonts/cascadia-code/Makefile +++ b/x11-fonts/cascadia-code/Makefile @@ -3,6 +3,7 @@ PORTVERSION= 2404.23 CATEGORIES= x11-fonts MASTER_SITES= https://github.com/microsoft/cascadia-code/releases/download/v${PORTVERSION}/ DISTNAME= CascadiaCode-${PORTVERSION} +EXTRACT_SUFX= .zip MAINTAINER= sunpoet@FreeBSD.org COMMENT= Monospaced font with programming ligatures @@ -10,12 +11,15 @@ WWW= https://github.com/microsoft/cascadia-code LICENSE= OFL11 -USES= fonts zip +USES= fonts NO_ARCH= yes NO_BUILD= yes NO_WRKSUBDIR= yes +EXTRACT_AFTER_ARGS= --include ttf/static \ + --no-same-owner --no-same-permissions + do-install: @${MKDIR} ${STAGEDIR}${FONTSDIR} ${INSTALL_DATA} ${WRKSRC}/ttf/static/*.ttf ${STAGEDIR}${FONTSDIR}