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

Ken Cunningham ken.cunningham.webuse at
Sun Jun 11 14:27:14 UTC 2017

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? Specifically, they want to access the -devel version subported in the Portfile.

I have described how to set up a repo using sources.conf (which is what i do), but I wondered if there is an easy way to do this.



More information about the macports-dev mailing list