1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

biology/star: Use EXTRACT_AFTER_ARGS to omit unused htslib dir

Reduces I/O during builds

PR:             278751
Reported by:    diizzy
This commit is contained in:
Jason W. Bacon 2024-05-05 09:58:47 -05:00
parent 5d736fc85e
commit 94ae98221a

View File

@ -26,13 +26,14 @@ USE_GCC= yes
USE_GITHUB= yes
GH_ACCOUNT= alexdobin
EXTRACT_AFTER_ARGS= --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/source/htslib --no-same-owner --no-same-permissions
WRKSRC_SUBDIR= source
MAKE_FLAGS= HTSLIB='' CXXFLAGS_SIMD=""
PLIST_FILES= bin/STAR
post-patch:
${RM} -rf ${WRKSRC}/htslib
${REINPLACE_CMD} \
-e 's|"htslib/htslib/sam.h"|<htslib/sam.h>|g' \
-e 's|"htslib/htslib/kstring.h"|<htslib/kstring.h>|g' \