Re: Portfile test if specific port exists

2022-07-09 Thread Joshua Root
On 2022-7-10 09:56 , Steven Smith wrote: How does one test the existence of a specific port? E.g. if {port_exists py310-tensorflow} { do this } else { do that } The answer to your actual question depends on whether by "exists" you mean exists in the ports tree, or is installed, or i

Portfile test if specific port exists

2022-07-09 Thread Steven Smith
How does one test the existence of a specific port? E.g. if {port_exists py310-tensorflow} { do this } else { do that }