destroot'ing into ${destroot}${prefix}/foo ?

René J.V. Bertin rjvbertin at
Wed Jan 18 10:23:39 UTC 2017


Is there an existing way to create a kind of nested destroot, where the installed port ends up *unmodified* under say ${prefix}/test?

Looking at the Portfile guide I think that the only way to accomplish this reliably is in a post-destroot step (a post-post-destroot to be really sure), in which everything under ${destroot} is moved into ${destroot}${prefix}/test ?

If so, am I right that post-destroot blocks declared in/as `variant foo ... { post-destroot{ } }` will be executed *after* all post-destroot blocks defined in the normal Portfile scope?


More information about the macports-dev mailing list