Ports recommending other ports

Ryan Schmidt ryandesign at macports.org
Thu Feb 12 21:23:34 PST 2009


On Feb 12, 2009, at 23:13, Joshua Root wrote:

> 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).

I meant, can I access this information from a language that is not tcl?



More information about the macports-dev mailing list