On 20/10/2023 15.14, René J.V. Bertin wrote: > It happens that I'd like to "install" a variant of a self-built port without > actually activating it (e.g. when libraries are in use and I have no > immediate need to activate that different variant). > > Looking through the code I saw there must exist a `port archive` command that > isn't documented in the manpage. Does that do what I'm looking for or does it > just make the tar bundle under $prefix/var/macports/software ?
Yes, 'port archive' would do what you are looking for. You are correct this is actually missing in port(1), but please see the separate man page port-archive(1). Rainer
