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?

Seeing as people have to read the site on how to create portfiles anyways, why not create easily-typed abbreviations? suggest_alternatives -> alts, suggest_supplements -> sups

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