Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 May 2024 14:47:07 GMT
From:      "Jason W. Bacon" <jwb@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5d736fc85e42 - main - biology/kallisto: Use EXTRACT_AFTER_ARGS to omit unused htslib dir
Message-ID:  <202405051447.445El7wK029040@gitrepo.freebsd.org>

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

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

commit 5d736fc85e42aac2649de640037dc54382176691
Author:     Jason W. Bacon <jwb@FreeBSD.org>
AuthorDate: 2024-05-05 14:44:55 +0000
Commit:     Jason W. Bacon <jwb@FreeBSD.org>
CommitDate: 2024-05-05 14:47:05 +0000

    biology/kallisto: Use EXTRACT_AFTER_ARGS to omit unused htslib dir
    
    Reduces I/O during builds
    
    PR:             278739
    Reported by:    diizzy
---
 biology/kallisto/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/biology/kallisto/Makefile b/biology/kallisto/Makefile
index 8774208d9097..158ff03a9137 100644
--- a/biology/kallisto/Makefile
+++ b/biology/kallisto/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=		kallisto
 DISTVERSIONPREFIX=	v
 DISTVERSION=		0.50.1
+PORTREVISION=		1
 PORTEPOCH=		1
 CATEGORIES=		biology
 
@@ -22,6 +23,8 @@ USES=		cmake:noninja compiler:c++11-lang gmake localbase:ldflags
 USE_GITHUB=	yes
 GH_ACCOUNT=	pachterlab
 
+EXTRACT_AFTER_ARGS=	--exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/ext/htslib --no-same-owner --no-same-permissions
+
 SUB_FILES=	kallisto-test
 
 PORTEXAMPLES=		*
@@ -39,9 +42,6 @@ LDFLAGS+=		-lhts -lz
 
 OPTIONS_DEFINE=	EXAMPLES
 
-post-extract:
-	${RM} -rf ${WRKSRC}/ext/htslib
-
 post-install-EXAMPLES-on:
 	${INSTALL_SCRIPT} ${WRKDIR}/kallisto-test ${STAGEDIR}${PREFIX}/bin
 	cd ${WRKSRC}/test && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}



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