Skip to content

Commit

Permalink
biology/kallisto: Use EXTRACT_AFTER_ARGS to omit unused htslib dir
Browse files Browse the repository at this point in the history
Reduces I/O during builds

PR:             278739
Reported by:    diizzy
  • Loading branch information
Jason W. Bacon authored and Jason W. Bacon committed May 5, 2024
1 parent 1704312 commit 5d736fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions biology/kallisto/Makefile
@@ -1,6 +1,7 @@
PORTNAME= kallisto
DISTVERSIONPREFIX= v
DISTVERSION= 0.50.1
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= biology

Expand All @@ -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= *
Expand All @@ -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}
Expand Down

0 comments on commit 5d736fc

Please sign in to comment.