Received: by mail.netbsd.org (Postfix, from userid 605) id 0C45585011; Thu, 18 Aug 2022 16:20:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 459D985010 for ; Thu, 18 Aug 2022 16:20:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id UWocYlwmR1UT for ; Thu, 18 Aug 2022 16:20:15 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id BCC4684D24 for ; Thu, 18 Aug 2022 16:20:15 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id B5C4AFB1A; Thu, 18 Aug 2022 16:20:15 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_166083961523840" MIME-Version: 1.0 Date: Thu, 18 Aug 2022 16:20:15 +0000 From: "Roland Illig" Subject: CVS commit: pkgsrc/devel/cmake To: pkgsrc-changes@NetBSD.org Reply-To: rillig@netbsd.org X-Mailer: log_accum Message-Id: <20220818162015.B5C4AFB1A@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_166083961523840 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: rillig Date: Thu Aug 18 16:20:15 UTC 2022 Modified Files: pkgsrc/devel/cmake: build.mk Log Message: cmake/build.mk: add _VARGROUPS section This allows to run 'make show-all-cmake' in those packages that include this file. Sort 'test' and 'install' chronologically. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/cmake/build.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_166083961523840 Content-Disposition: inline Content-Length: 1614 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/cmake/build.mk diff -u pkgsrc/devel/cmake/build.mk:1.2 pkgsrc/devel/cmake/build.mk:1.3 --- pkgsrc/devel/cmake/build.mk:1.2 Tue Aug 9 21:45:08 2022 +++ pkgsrc/devel/cmake/build.mk Thu Aug 18 16:20:15 2022 @@ -1,4 +1,4 @@ -# $NetBSD: build.mk,v 1.2 2022/08/09 21:45:08 wiz Exp $ +# $NetBSD: build.mk,v 1.3 2022/08/18 16:20:15 rillig Exp $ # # This Makefile fragment supports building using the CMake build tool. # @@ -62,10 +62,10 @@ _CMAKE_BUILD_TOOL?= ${MAKE} CONFIGURE_DIRS?= . BUILD_DIRS?= ${CONFIGURE_DIRS} -INSTALL_DIRS?= ${CONFIGURE_DIRS} TEST_DIRS?= ${CONFIGURE_DIRS} +INSTALL_DIRS?= ${CONFIGURE_DIRS} -.PHONY: cmake-configure cmake-build cmake-install cmake-test +.PHONY: cmake-configure cmake-build cmake-test cmake-install do-configure: cmake-configure cmake-configure: @@ -100,3 +100,19 @@ cmake-install: ${SETENV} ${INSTALL_ENV} \ ${_CMAKE_BUILD_TOOL} ${CMAKE_INSTALL_ARGS} ${INSTALL_TARGET} .endfor + +_VARGROUPS+= cmake +_USER_VARS.cmake+= CMAKE_GENERATOR +_PKG_VARS.cmake+= CMAKE_REQD +_PKG_VARS.cmake+= CMAKE_CONFIGURE_ARGS CONFIGURE_DIRS +_PKG_VARS.cmake+= CMAKE_BUILD_ARGS BUILD_DIRS +_PKG_VARS.cmake+= TEST_DIRS TEST_TARGET +_PKG_VARS.cmake+= CMAKE_INSTALL_ARGS INSTALL_DIRS INSTALL_TARGET +_SYS_VARS.cmake+= CMAKE_BUILD_DIR +_USE_VARS.cmake+= CMAKE_ARGS +_USE_VARS.cmake+= CONFIGURE_ENV MAKE_ENV TEST_ENV INSTALL_ENV +_IGN_VARS.cmake+= BUILDLINK_DIR WRKSRC PREFIX +_IGN_VARS.cmake+= SETENV TOOL_DEPENDS +_IGN_VARS.cmake+= _CMAKE_BUILD_SYSTEM _CMAKE_BUILD_TOOL _MAKE_JOBS_N +_LISTED_VARS.cmake+= *_ARGS +_SORTED_VARS.cmake+= *_ENV --_----------=_166083961523840--