Get supported_archs from command line
jmr at macports.org
Wed Aug 3 08:48:57 PDT 2016
On 2016-8-3 17:48 , Ryan Schmidt wrote:
> 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?
You can use _mportkey to get the value of any variable from the Portfile
More information about the macports-dev