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.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to