Received: by mail.netbsd.org (Postfix, from userid 605) id 6FAF984D2A; Fri, 30 Nov 2018 18:42:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 5FEEA84D24 for ; Fri, 30 Nov 2018 18:42:13 +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 N_nJqJnf6mJH for ; Fri, 30 Nov 2018 18:42:12 +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 7D45384CD0 for ; Fri, 30 Nov 2018 18:42:12 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 76FF3FB1F; Fri, 30 Nov 2018 18:42:12 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1543603332291930" MIME-Version: 1.0 Date: Fri, 30 Nov 2018 18:42:12 +0000 From: "Roland Illig" Subject: CVS commit: pkgsrc/pkgtools/pkg_regress To: pkgsrc-changes@NetBSD.org Reply-To: rillig@netbsd.org X-Mailer: log_accum Message-Id: <20181130184212.76FF3FB1F@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1543603332291930 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: rillig Date: Fri Nov 30 18:42:12 UTC 2018 Modified Files: pkgsrc/pkgtools/pkg_regress: Makefile Log Message: pkgtools/pkg_regress: use SUBST framework for placeholders To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 pkgsrc/pkgtools/pkg_regress/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1543603332291930 Content-Disposition: inline Content-Length: 1225 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/pkgtools/pkg_regress/Makefile diff -u pkgsrc/pkgtools/pkg_regress/Makefile:1.14 pkgsrc/pkgtools/pkg_regress/Makefile:1.15 --- pkgsrc/pkgtools/pkg_regress/Makefile:1.14 Sat Jun 11 09:37:16 2016 +++ pkgsrc/pkgtools/pkg_regress/Makefile Fri Nov 30 18:42:12 2018 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2016/06/11 09:37:16 rillig Exp $ +# $NetBSD: Makefile,v 1.15 2018/11/30 18:42:12 rillig Exp $ PKGNAME= pkg_regress-0.3 CATEGORIES= pkgtools @@ -7,18 +7,17 @@ MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Run pkgsrc infrastructure regression test suite WRKSRC= ${WRKDIR} -USE_LANGUAGES= # empty +USE_LANGUAGES= # none +NO_BUILD= yes +AUTO_MKDIRS= yes + +SUBST_CLASSES+= regress +SUBST_STAGE.regress= pre-configure +SUBST_FILES.regress= pkg_regress.sh +SUBST_VARS.regress= MAKE PKGSRCDIR SH EGREP -INSTALLATION_DIRS= sbin - -.include "../../mk/bsd.prefs.mk" - -do-build: - ${SED} -e 's#@MAKE@#${MAKE}#g' \ - -e 's#@PKGSRCDIR@#${PKGSRCDIR}#g' \ - -e 's#@SH@#${SH}#g' \ - -e 's#@EGREP@#${EGREP}#g' \ - ${FILESDIR}/pkg_regress.sh >${WRKSRC}/pkg_regress.sh +do-extract: + ${CP} ${FILESDIR}/pkg_regress.sh ${WRKSRC} do-install: ${INSTALL_SCRIPT} ${WRKSRC}/pkg_regress.sh \ --_----------=_1543603332291930--