Subject: PLIST generation (was: Re: CVS commit: pkgsrc/mk/plist)
To: None <jlam@netbsd.org>
From: Roland Illig <rillig@NetBSD.org>
List: tech-pkg
Date: 10/25/2007 19:23:36
Johnny C. Lam wrote:
> Module Name:	pkgsrc
> Committed By:	jlam
> Date:		Thu Oct 25 16:46:14 UTC 2007
> 
> Modified Files:
> 	pkgsrc/mk/plist: plist.mk
> 
> Log Message:
> Allow packages to have no PLIST files whatsoever.  If such a package also
> does not set GENERATE_PLIST, then automatically generate a PLIST that
> says:
> 	@comment ${PKGNAME} has no files.

There should be some targets {pre,do,post}-plist that can be overridden 
by packages. Currently, this work is mostly done in the post-install 
stage, which triggers some pkglint warnings (for example, cp(1) or 
sed(1) should not be used in {pre,do,post}-install).

Roland