Portfile test if specific port exists

Steven Smith steve.t.smith at gmail.com
Sat Jul 9 23:56:13 UTC 2022


How does one test the existence of a specific port? E.g.

if {port_exists py310-tensorflow} {
    do this
} else {
    do that
}


More information about the macports-dev mailing list