Dynamic plists

Rob Farmer rfarmer at predatorlabs.net
Thu Apr 22 15:48:56 UTC 2010


On Wed, Apr 21, 2010 at 11:57 PM, Lars Engels <lars.engels at 0x20.net> wrote:
> On Thu, Apr 22, 2010 at 08:18:29AM +0200, Dominic Fandrey wrote:
>> 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,^, at dirrm ,'
>>
>> Of course there's normally more to it, but that's the basic principle.
>>
>
> Or use auto-plist:
> http://www.marcuscom.com:8080/cgi-bin/cvsweb.cgi/portstools/auto-plist/
>

Seems to have the same limitation of genplist - it doesn't address the
fact that the plist may change if OPTIONS change.

-- 
Rob Farmer


More information about the freebsd-ports mailing list