summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorDaniel Engberg <diizzy@FreeBSD.org>2024-05-20 23:30:18 +0200
committerDaniel Engberg <diizzy@FreeBSD.org>2024-05-20 23:53:51 +0200
commit5790e17ba7c7bd4bec375e09ce7e1cb3691c3ffa (patch)
treeab9738c7a85a16ea19da39f154bc1d44bc376a98 /audio
parentx11-fonts/py-cffsubr: Convert post-patch to EXTRACT_AFTER_ARGS (diff)
audio/nosefart: Convert pre-build to EXTRACT_AFTER_ARGS
Reduce I/O by excluding files we don't need during extraction PR: 278744 Approved by: portmgr (maintainer timeout, 2+ weeks)
Diffstat (limited to 'audio')
-rw-r--r--audio/nosefart/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/audio/nosefart/Makefile b/audio/nosefart/Makefile
index 658386f3c686..e346317ac2c6 100644
--- a/audio/nosefart/Makefile
+++ b/audio/nosefart/Makefile
@@ -16,10 +16,12 @@ MAKE_ENV= INSTALL="${INSTALL}" COPY="${COPY}" STRIP="${STRIP}" \
BINGRP="${BINGRP}" BINMODE="${BINMODE}" BINOWN="${BINOWN}"
CPE_VENDOR= nosefart_project
-PLIST_FILES= bin/nosefart
+EXTRACT_AFTER_ARGS= --exclude ${DISTNAME}/nsfobj \
+ --exclude *.bat \
+ --exclude *.exe \
+ --no-same-owner --no-same-permissions
-pre-build:
- @${RM} -r ${BUILD_WRKSRC}/nsfobj
+PLIST_FILES= bin/nosefart
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nsfobj/${PORTNAME} ${STAGEDIR}${PREFIX}/bin