diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-05-28 10:02:51 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-05-28 10:21:55 +0000 |
commit | a38c23598e29c78a6fa0eb5b61c8ca8ffe1c9850 (patch) | |
tree | 5ff1a088c6628c68fa17e298ae1853798e799301 | |
parent | bfe1afd57664689a425dec1401a1b9f423f8b00f (diff) | |
download | ports-a38c23598e29c78a6fa0eb5b61c8ca8ffe1c9850.tar.gz ports-a38c23598e29c78a6fa0eb5b61c8ca8ffe1c9850.zip |
audio/py-speechrecognition: Add EXTRACT_AFTER_ARGS
PR: 278748
Reported by: diizzy
-rw-r--r-- | audio/py-speechrecognition/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/audio/py-speechrecognition/Makefile b/audio/py-speechrecognition/Makefile index fc3da770ac0c..d80bc1623bd6 100644 --- a/audio/py-speechrecognition/Makefile +++ b/audio/py-speechrecognition/Makefile @@ -24,7 +24,13 @@ USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes +# Clean up bundled binary executables +.if !defined(MAINTAINER_MODE) +EXTRACT_AFTER_ARGS= --exclude ${DISTNAME}/speech_recognition/flac-* \ + --no-same-owner --no-same-permissions +.else post-patch: @${RM} ${WRKSRC}/speech_recognition/flac-* +.endif .include <bsd.port.mk> |