how to install a subport rather than the main port from a local Portfile not in a repository

Mojca Miklavec mojca at macports.org
Sun Jun 11 15:54:08 UTC 2017


On 11 June 2017 at 16:27, Ken Cunningham wrote:
> Long title …
>
> If you download a Portile into a folder, you can quickly install or work with it with “sudo port -v install”, You don’t specify the name, and the primary port in the local Portfile is used.
>
> Is there a way to work with a subport contained in that Portfile in a similar fashion?

sudo port -v install subport=foo-devel

Mojca


More information about the macports-dev mailing list