Subject: Re: PLIST format
To: Masao Uebayashi <uebayasi@gmail.com>
From: Johnny C. Lam <jlam@pkgsrc.org>
List: tech-pkg
Date: 11/12/2007 17:38:38
Masao Uebayashi wrote:
>
> Has anyone had a thought that pkgsrc PLIST format should be similar to
> ``sets/lists'' format? The point is that path is written from column
> 0, like:
> bin/foobar
> not like
> ${HAVE_HOGE}bin/foobar
>
> Possible new format would look like:
> bin/foobar hoge
> This improves readability and grep'ability.
>
> (These conditional variables are needed to represent conditional file
> installation without having multiple PLIST files.)
Yes, and I think this could easily be extended when we eventually do
"multi-packages" where a single package installation could generate
several smaller packages, e.g. "make package" in pkgsrc/devel/foo could
generate "foo-libs", "foo-docs", etc.
Cheers,
-- Johnny C. Lam