Subject: Re: Some kind of magic for p5 packages' PLIST?
To: Tomasz Luchowski <zuntum@netbsd.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: tech-pkg
Date: 04/22/2002 09:56:22
On Mon, Apr 15, 2002 at 04:22:44PM +0200, Tomasz Luchowski wrote:
> 
> More and more imports of p5- packages make me wonder whether we could do something
> about their PLIST. Majority of p5- packages in pkgsrc have "empty" PLIST - just 1 line
> with @comment. Out of 230 p5 packages 219 have 1-line PLIST. I'm not giving ideas here,
> I am just curious if this could be done in a better way. That'd allow us to remove 219
> files without any loss.

I've modified the PLIST generation code a bit in bsd.pkg.mk, and it's now
possible to add a line like:

	PLIST_SRC=	/dev/null

to a package Makefile to circumvent needing an empty PLIST in the case
where the PLIST is generated completely dynamically, as is the case for
the Perl p5-* packages.

	Cheers,

	-- Johnny Lam <jlam@jgrind.org>