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/15/2002 14:18:06
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.

Yes, the p5-* Makefiles should have a line that says "PERL5_PACKLIST" that
points to a perl-generated file that is a manifest of the files installed
for that module.  bsd.pkg.mk takes that list and appends the contents of
that file (with some changes) to the package PLIST.  When I originally added
that logic to bsd.pkg.mk, I wasn't sure what was the best way to handle the
nonexistent-PLIST case since bsd.pkg.mk always wants one during the install
or package phase.  It seemed simpler just to require the one-line PLISTs.

	Cheers,

	-- Johnny Lam <jlam@netbsd.org>