Ports recommending other ports
Joshua Root
jmr at macports.org
Thu Feb 12 21:13:21 PST 2009
Ryan Schmidt wrote:
> Before we get into too many specifics about how this interactive ncurses
> interface would look, I'd be more interested in getting some more
> non-interactive commands added to MacPorts that would provide the
> information on which such an interactive interface would be based. To
> start with, in order to properly render the variants, we need MacPorts
> to be able to tell us not only what variants are available, but also
> what variants conflict with what other variants; what variants the port
> wants as defaults; and what variants the user wants as defaults.
>
> Aaand looking at the ChangeLog, it looks like that's already in 1.8.0,
> except for the default variants bit. So that's helpful. Do I have to
> parse the output of "port variants" to get it or is there more of an API
> that can be used?
What about default variants is missing? The variant metadata is
available as $PortInfo(vinfo).
- Josh
More information about the macports-dev
mailing list