mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
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)
This commit is contained in:
parent
3522562bd1
commit
9a22dceae5
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user