Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Apr 2010 08:18:29 +0200
From:      Dominic Fandrey <kamikaze@bsdforen.de>
To:        freebsd-ports@freebsd.org
Subject:   Re: Dynamic plists
Message-ID:  <4BCFEA35.8070109@bsdforen.de>
In-Reply-To: <x2ub025ceb71004211645lf30a0fb9o5cebd612c3a28527@mail.gmail.com>
References:  <x2ub025ceb71004211645lf30a0fb9o5cebd612c3a28527@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 22/04/2010 01:45, Rob Farmer wrote:
> I maintain math/scilab and am preparing to update it. This port has a
> huge plist (slightly under 15000 lines), hundreds of which change
> depending on what options are selected. It is a bit of a pain to
> update. The porters handbook makes vague reference to dynamic plists -
> so I was wondering, would this be a good idea? And if so, what is the
> best way to make one?

You normally base it on the output of
${FIND} -s PATH -type f
${FIND} -d PATH -type d | ${SED} 's,^,@dirrm ,'

Of course there's normally more to it, but that's the basic principle.


-- 
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail? 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BCFEA35.8070109>