Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 2024 21:54:03 GMT
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5790e17ba7c7 - main - audio/nosefart: Convert pre-build to EXTRACT_AFTER_ARGS
Message-ID:  <202405202154.44KLs32d092046@gitrepo.freebsd.org>

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

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

commit 5790e17ba7c7bd4bec375e09ce7e1cb3691c3ffa
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-05-20 21:30:18 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-05-20 21:53:51 +0000

    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)
---
 audio/nosefart/Makefile | 8 +++++---
 1 file 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



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