Need help with Portfile with only subports ...

Joshua Root jmr at macports.org
Tue Apr 24 15:15:57 UTC 2018


On 2018-4-25 01:08 , Edward Maros wrote:
> I am working on splitting swig extensions out of a source package to
> better facilitate building of language extension packages. Previously
> this was all done in one Portfile with each language being a subport of
> the main package.
> 
> Is it possible to have a Portfile which does not supply a main port, but
> instead only subports?
> 
> Should I think differently about how to solve this issue?

Why do you think you need this? Can you explain what you are trying to
do in a bit more detail?

A "main port" is also a subport. The only difference is that it exists
implicitly. Sometimes the main port is a stub that just installs a
readme file or such, but that's certainly not required.

- Josh


More information about the macports-dev mailing list