Date: Thu, 22 Apr 2010 08:48:55 -0700 From: Rob Farmer <rfarmer@predatorlabs.net> To: Lars Engels <lars.engels@0x20.net> Cc: Dominic Fandrey <kamikaze@bsdforen.de>, freebsd-ports@freebsd.org Subject: Re: Dynamic plists Message-ID: <u2ob025ceb71004220848z7a224afw1de8b823a5761761@mail.gmail.com> In-Reply-To: <20100422065709.GA33521@e.0x20.net> References: <x2ub025ceb71004211645lf30a0fb9o5cebd612c3a28527@mail.gmail.com> <4BCFEA35.8070109@bsdforen.de> <20100422065709.GA33521@e.0x20.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 21, 2010 at 11:57 PM, Lars Engels <lars.engels@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,^,@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?u2ob025ceb71004220848z7a224afw1de8b823a5761761>