Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Apr 2010 08:48:01 -0700
From:      Rob Farmer <rfarmer@predatorlabs.net>
To:        Dominic Fandrey <kamikaze@bsdforen.de>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Dynamic plists
Message-ID:  <h2ub025ceb71004220848id565b8dcqe1e61970cb2a0c6d@mail.gmail.com>
In-Reply-To: <4BCFEA35.8070109@bsdforen.de>
References:  <x2ub025ceb71004211645lf30a0fb9o5cebd612c3a28527@mail.gmail.com> <4BCFEA35.8070109@bsdforen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 21, 2010 at 11:18 PM, Dominic Fandrey <kamikaze@bsdforen.de> 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,^,@dirrm ,'

What would PATH be? It seem to me from a quick look through the tree
that the ports using dynamic plists are not following heir(7) but
instead installing everything in a single directory, like
/usr/local/jdk1.6.0/, and the plist can be generated by simply
enumerating the contents of that directory. That's not the case here.

The only workaround I saw for this was that the Mozilla ports seem to
do an install in a "fake" directory in the workdir, look at that, and
then copy that into /usr/local. I'm not sure I like the idea of
doubling the amount of work required for the install phase just to
save the maintainer a little time at upgrades, however.

--
Rob Farmer

>
> 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?
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>



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