Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2024 10:24:58 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a38c23598e29 - main - audio/py-speechrecognition: Add EXTRACT_AFTER_ARGS
Message-ID:  <202405281024.44SAOwXt033497@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a38c23598e29c78a6fa0eb5b61c8ca8ffe1c9850

commit a38c23598e29c78a6fa0eb5b61c8ca8ffe1c9850
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-28 10:02:51 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-28 10:21:55 +0000

    audio/py-speechrecognition: Add EXTRACT_AFTER_ARGS
    
    PR:             278748
    Reported by:    diizzy
---
 audio/py-speechrecognition/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405281024.44SAOwXt033497>