how do ports install into ${destroot} instead of into ${prefix} directly?

Brandon Allbery allbery.b at
Thu Dec 11 09:47:44 PST 2014

On Thu, Dec 11, 2014 at 12:38 PM, René J.V. <rjvbertin at> wrote:

> No, it doesn't. I figured I had to edit it, but how?
> Alternatively, couldn't I change the destroot command so that it executes
> make with an appropriate set of options?
You would still have to at least inspect the Makefile to find out what is
needed, then set variables for the destroot phase or worst case provide
your own destroot phase.

If it's already packaged for Linux, you can inspect the Linux packaging to
see how they destroot it. The details for MacPorts will be different, but
at least you won't have to confront possibly contorted make logic (like I
had to for a local Portfile).

brandon s allbery kf8nh                               sine nomine associates
allbery.b at                                  ballbery at
unix, openafs, kerberos, infrastructure, xmonad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list