aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Engberg <diizzy@FreeBSD.org>2024-05-20 21:28:07 +0000
committerDaniel Engberg <diizzy@FreeBSD.org>2024-05-20 21:53:51 +0000
commit5a1b97e112821ed12840f97e1b6a68e84570da15 (patch)
treed82f48d08ca01f12ffb9c5e4c7347573120c83b6
parent3f2436c02e8314614dda02f9ef9f5a13de6d18c2 (diff)
downloadports-5a1b97e112821ed12840f97e1b6a68e84570da15.tar.gz
ports-5a1b97e112821ed12840f97e1b6a68e84570da15.zip
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)
-rw-r--r--x11-fonts/py-cffsubr/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/x11-fonts/py-cffsubr/Makefile b/x11-fonts/py-cffsubr/Makefile
index 8b1b87be4eca..b192826ba70e 100644
--- a/x11-fonts/py-cffsubr/Makefile
+++ b/x11-fonts/py-cffsubr/Makefile
@@ -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