Get supported_archs from command line

Ryan Schmidt ryandesign at
Wed Aug 3 00:48:09 PDT 2016

I'd like to know a port's supported_archs from a command line script.

"port info" doesn't appear to have a flag to display it.

This Tcl script shows how to get the list of subports from a portfile:

However it does this by using mportinfo, and it doesn't look like mportinfo contains information on the supported archs.

Any ideas?

More information about the macports-dev mailing list