aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Engberg <diizzy@FreeBSD.org>2024-05-06 01:59:59 +0000
committerJason E. Hale <jhale@FreeBSD.org>2024-05-06 02:23:31 +0000
commit451270d7c270fc45ae0b7e96caa3889a707f81b4 (patch)
tree0ec911d97f61a9936dc47c46b5d4bfcc390f2f69
parentc807eaa9effb52bebf370deb08420c3f1a3b3ba2 (diff)
downloadports-451270d7c270fc45ae0b7e96caa3889a707f81b4.tar.gz
ports-451270d7c270fc45ae0b7e96caa3889a707f81b4.zip
devel/rttr: Don't extract unused files
Convert the post-extract target to EXTRACT_AFTER_ARGS to save on I/O. Pet portclippy(1). PR: 278750
-rw-r--r--devel/rttr/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/devel/rttr/Makefile b/devel/rttr/Makefile
index 064733cf31d3..e0634c06c295 100644
--- a/devel/rttr/Makefile
+++ b/devel/rttr/Makefile
@@ -1,8 +1,8 @@
PORTNAME= rttr
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.6-16
-PORTREVISION= 3
DISTVERSIONSUFFIX= -gb3a131c
+PORTREVISION= 3
CATEGORIES= devel
PATCH_SITES= https://github.com/rttrorg/rttr/commit/
@@ -25,11 +25,10 @@ CMAKE_OFF= BUILD_DOCUMENTATION \
BUILD_UNIT_TESTS \
BUILD_EXAMPLES
-PORTSCOUT= limit:^0\.
+EXTRACT_AFTER_ARGS= --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/3rd_party/chaiscript-* \
+ --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/3rd_party/rapidjson-* \
+ --no-same-owner --no-same-permissions
-post-extract:
- ${RM} -r ${WRKSRC}/3rd_party/rapidjson-1.1.0/
- ${RM} -r ${WRKSRC}/3rd_party/chaiscript-devel/
- ${RM} -r ${WRKSRC}/3rd_party/chaiscript-6.1.0/
+PORTSCOUT= limit:^0\.
.include <bsd.port.mk>