Ports recommending other ports

Jeremy Lavergne jeremy at lavergne.gotdns.org
Mon Feb 9 13:11:20 PST 2009


>>> Hypothetical addition to port graphviz:
>>>
>>> if {${os.platform} == "darwin"} {
>>>    if {${os.major} >= 9} {
>>>        suggest_supplements-append port:graphviz-gui
>>>    } else {
>>>        suggest_supplements-append port:graphviz-oldgui
>>>    }
>>> }
>>>
>>> Hypothetical additions to port graphviz-oldgui:
>>>
>>> if {${os.major} >= 9} {
>>>    suggest_alternatives-append port:graphviz-gui
>>> }
>>>
>>> (I used "suggest" instead of "recommend" in the keyword names  
>>> because
>>> people have more trouble spelling "recommend".)
>>
>> If people have problems spelling "recommend", they will probably also
>> have problems with "supplements"?
>
> No kidding. Got any better ideas?

Or --- even more scarily --- produce an IDE for creating portfiles.

I'm sure someone could create an emacs or vi file for this pretty  
quickly:  Keywords can be autocompleted, and those that are misspelled  
will not be syntax highlighted so they should stand out.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2435 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20090209/4b63cdf6/attachment.bin>


More information about the macports-dev mailing list