Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 May 2024 19:28:42 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ca0002209e94 - main - www/restinio: Convert post-extract to EXTRACT_AFTER_ARGS
Message-ID:  <202405041928.444JSgpG070967@gitrepo.freebsd.org>

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

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

commit ca0002209e949e0a2366401b10036d24cfc26f27
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-05-04 19:26:48 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-05-04 19:28:37 +0000

    www/restinio: Convert post-extract to EXTRACT_AFTER_ARGS
    
    PR:             278749
---
 www/restinio/Makefile | 25 ++++++++++++-------------
 1 file changed, 12 insertions(+), 13 deletions(-)

diff --git a/www/restinio/Makefile b/www/restinio/Makefile
index 7e38a4c54592..46ae99ba30d7 100644
--- a/www/restinio/Makefile
+++ b/www/restinio/Makefile
@@ -21,6 +21,18 @@ RUN_DEPENDS=	libfmt>0:devel/libfmt \
 
 USES=		cmake:testing compiler:c++14-lang localbase:ldflags tar:bz2
 
+EXTRACT_AFTER_ARGS=	--exclude dev/asio \
+			--exclude dev/asio_mxxru \
+			--exclude dev/catch2 \
+			--exclude dev/fmt \
+			--exclude dev/fmt_mxxru \
+			--exclude dev/nodejs/http_parser/http-parser.* \
+			--exclude dev/nodejs/http_parser_mxxru \
+			--exclude dev/rapidjson \
+			--exclude dev/rapidjson_mxxru \
+			--exclude dev/so_5 \
+			--exclude dev/timertt
+
 WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
 WRKSRC_SUBDIR=	dev
 
@@ -39,17 +51,4 @@ SAMPLES_CMAKE_BOOL=	RESTINIO_SAMPLE RESTINIO_INSTALL_SAMPLES
 SAMPLES_VARS_OFF=	NO_ARCH=yes
 SAMPLES_BUILD_DEPENDS=	json-dto>0:devel/json-dto
 
-post-extract:
-	${RM} -rf ${WRKSRC}/asio
-	${RM} -rf ${WRKSRC}/asio_mxxru
-	${RM} -rf ${WRKSRC}/catch2
-	${RM} -rf ${WRKSRC}/fmt
-	${RM} -rf ${WRKSRC}/fmt_mxxru
-	${RM} -rf ${WRKSRC}/nodejs/http_parser/http-parser.*
-	${RM} -rf ${WRKSRC}/nodejs/http_parser_mxxru
-	${RM} -rf ${WRKSRC}/rapidjson
-	${RM} -rf ${WRKSRC}/rapidjson_mxxru
-	${RM} -rf ${WRKSRC}/so_5
-	${RM} -rf ${WRKSRC}/timertt
-
 .include <bsd.port.mk>



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