Authentication-Results: name.execsw.org; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=Cpp1w9CS; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=jfqeqzD3 Received: by mail.netbsd.org (Postfix, from userid 605) id 0358784E83; Wed, 8 May 2024 10:49:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1715165367; bh=/rc2Ps8WfmRiVNsVBnwP5WujVRYtWLYn9Yq7PQXnTb8=; h=Date:From:Subject:To:Reply-To:List-Id:List-Unsubscribe; b=Cpp1w9CSBxWETHxAXwNdr+ZqFCQ4Cu7cuAjM4GDRJl90GJPWl5FLceh8F7SP9zwb1 Kz9PWEcGKmb0nv5/zFNTdOJS2DdezlPm7gCQdklHma3/MYTWCHTf2fsRMZPKmh3yFz GMGGAQLHZplW/LNwFvCMA67sxzMLEwkiHNJs/Rcw= Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id E929684CFC for ; Wed, 8 May 2024 10:49:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Authentication-Results: mail.netbsd.org (amavisd-new); dkim=pass (1024-bit key) header.d=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 P-t415fPxrjz for ; Wed, 8 May 2024 10:49:25 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 6864684CE3 for ; Wed, 8 May 2024 10:49:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1715165365; bh=/rc2Ps8WfmRiVNsVBnwP5WujVRYtWLYn9Yq7PQXnTb8=; h=Date:From:Subject:To:Reply-To; b=jfqeqzD3JUOaIRFGwffXzomLkkrmkQh/C2mrqbtdrBbXKSx1/8pdPQ472TkxdRQoP g4MJpRQi8gE7QS5pPtKgSGFjDl7vTA/VpBa6dcs6wUUUT0ztICsShr14e1Wq1mlFJJ fJRS6r58ZMy3h9bDK02nKxREeI2t2jqqeeyOepzI= Received: by cvs.NetBSD.org (Postfix, from userid 500) id 6156CFA2C; Wed, 8 May 2024 10:49:25 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1715165365130270" MIME-Version: 1.0 Date: Wed, 8 May 2024 10:49:25 +0000 From: "Aleksey Cheusov" Subject: CVS commit: pkgsrc/mk/plist To: pkgsrc-changes@NetBSD.org Reply-To: cheusov@netbsd.org X-Mailer: log_accum Message-Id: <20240508104925.6156CFA2C@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1715165365130270 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: cheusov Date: Wed May 8 10:49:25 UTC 2024 Modified Files: pkgsrc/mk/plist: print-plist.mk Log Message: If option "nls" is supported, print-PLIST target automatically adds ${PLIST.nls} prefix to appropriate .mo lines. This allows not to add PRINT_PLIST_AWK to all packages with "nls" option. In theory this mechanism can be extended to other use cases. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 pkgsrc/mk/plist/print-plist.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1715165365130270 Content-Disposition: inline Content-Length: 1406 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/mk/plist/print-plist.mk diff -u pkgsrc/mk/plist/print-plist.mk:1.36 pkgsrc/mk/plist/print-plist.mk:1.37 --- pkgsrc/mk/plist/print-plist.mk:1.36 Wed Jun 10 16:06:09 2020 +++ pkgsrc/mk/plist/print-plist.mk Wed May 8 10:49:25 2024 @@ -1,4 +1,4 @@ -# $NetBSD: print-plist.mk,v 1.36 2020/06/10 16:06:09 leot Exp $ +# $NetBSD: print-plist.mk,v 1.37 2024/05/08 10:49:25 cheusov Exp $ # # Automatic PLIST generation # - files & symlinks first @@ -7,11 +7,19 @@ # - substitute for platform or package specifics substrings # # Usage: -# - make install +# - make build +# - make do-install # - make print-PLIST | brain >PLIST # # Keywords: plist print-plist +# A list of pairs (regexp, option) for prefixing PLIST entry +# with ${PLIST.