1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

x11-fonts/py-cffsubr: Convert post-patch to EXTRACT_AFTER_ARGS

Reduce I/O by not extract unnecessary files

PR:		278746
Approved by:	portmgr (maintainer timeout, 2+ weeks)
This commit is contained in:
Daniel Engberg 2024-05-20 23:28:07 +02:00
parent 3f2436c02e
commit 5a1b97e112

View File

@ -21,13 +21,13 @@ RUN_DEPENDS= tx:x11-fonts/afdko \
USES= python
USE_PYTHON= autoplist concurrent pep517
# Remove bundled libraries
EXTRACT_AFTER_ARGS= --exclude ${DISTNAME}/external \
--no-same-owner --no-same-permissions
NO_ARCH= yes
PLIST_FILES= ${PYTHON_SITELIBDIR}/cffsubr/tx
post-patch:
# Clean up bundled libraries
@${RM} -r ${WRKSRC}/external/
post-install:
${LN} -s ${LOCALBASE}/bin/tx ${STAGEDIR}${PYTHON_SITELIBDIR}/cffsubr/tx