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

Daniel J. Luke dluke at
Sun Jun 11 14:37:34 UTC 2017

On Jun 11, 2017, at 10:27 AM, Ken Cunningham <ken.cunningham.webuse at> wrote:
> Is there a way to work with a subport contained in that Portfile in a similar fashion? Specifically, they want to access the -devel version subported in the Portfile.

(add subport=foo to the end of your command to get subport foo).

I always forget this and end up needing to look it up - it should probably go on our wiki or FAQ somewhere.

Daniel J. Luke

More information about the macports-dev mailing list