ryandesign at macports.org
Thu Jan 26 18:56:51 UTC 2017
> On Jan 26, 2017, at 05:33, René J.V. Bertin <rjvbertin at gmail.com> wrote:
> 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 could benefit from it: the Qt5 ports, my KF5-Frameworks port, possibly the clang/llvm ports etc.
> 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 PortInfo(portfiles) and a corresponding change in portinstall.tcl . I for one could live with a situation where `port edit foo` opens just the toplevel Portfile.
> Just an idea... one that I think must have been considered before already?
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.
More information about the macports-dev