Re: PortFile command

2017-01-26 Thread Rainer Müller
On 2017-01-26 12:33, René J.V. Bertin wrote: > The only real obstacle is the fact that only a single file, > "Portfile" is copied into the registry, but a quick look suggests > that could be solved by loading delegate Portfiles through a `proc > PortFile` (clone of the PortGroup proc) that sets

Re: PortFile command

2017-01-26 Thread Rainer Müller
On 2017-01-26 23:12, René J.V. Bertin wrote: > On Thursday January 26 2017 21:56:59 Rainer Müller wrote: >> Looking at the VLC port it looks like the subport ffmpeg-VLC and >> the main port have nothing in common at all. > > You're not wrong but that's not entirely true either, the subport >

Re: PortFile command

2017-01-26 Thread René J . V . Bertin
On Thursday January 26 2017 15:18:40 Brandon Allbery wrote: > The complication is that, on installing, the Portfile (and, with this > change, any inclusions) gets saved in the registry so that its uninstall Yes, currently that's only the Portfile, and that happens in portinstall.tcl . A bit

Re: PortFile command

2017-01-26 Thread Brandon Allbery
On Thu, Jan 26, 2017 at 3:13 PM, René J.V. Bertin wrote: > On Thursday January 26 2017 13:59:36 Brandon Allbery wrote: > > It got tossed around on IRC around a year and a half ago; the conclusion > > was that it was a lot of complication for very little gain. > > A lot more

Re: PortFile command

2017-01-26 Thread René J . V . Bertin
On Thursday January 26 2017 12:56:51 Ryan Schmidt wrote: > I don't think anyone's ever suggested before that include files would be > beneficial for portfile development, except for portgroups which are already > handled. PortGroups are exactly that (IMHO), include files, and they're very

Re: PortFile command

2017-01-26 Thread Brandon Allbery
On Thu, Jan 26, 2017 at 1:56 PM, Ryan Schmidt wrote: > I don't think anyone's ever suggested before that include files would be > beneficial for portfile development, except for portgroups which are > already handled. > It got tossed around on IRC around a year and a

Re: PortFile command

2017-01-26 Thread Ryan Schmidt
> On Jan 26, 2017, at 05:33, René J.V. Bertin wrote: > > Hello, > > In the past I've simplified the development of complex Portfiles by splitting > them over at least 2 Portfiles, loaded with Tcl's `source` command. The > latest example would be the ffmpeg-VLC subport >

PortFile command

2017-01-26 Thread René J . V . Bertin
Hello, In the past I've simplified the development of complex Portfiles by splitting them over at least 2 Portfiles, loaded with Tcl's `source` command. The latest example would be the ffmpeg-VLC subport I think the maintenance of quite a few of the more complex ports with multiple subports