<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi, <div class=""><br class=""></div><div class="">  I have an application code that uses several dependencies that I typically install using macports. I am interested in creating an installer that can include these dependencies in addition to my compiled code. The objective is to be able to give it to other users so that they can use it on their computer without having to install macports. </div><div class=""> </div><div class="">  I have seen the instructions on macports: </div><div class=""><a href="https://guide.macports.org/chunked/using.binaries.html" class="">https://guide.macports.org/chunked/using.binaries.html</a></div><div class=""><a href="https://guide.macports.org/chunked/installing.macports.html#installing.macports.source.multiple" class="">https://guide.macports.org/chunked/installing.macports.html#installing.macports.source.multiple</a> </div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">  There are a few points that are still unclear to me. </div><div class=""><br class=""></div><div class="">— I have compiled macports from source with —prefix=/my/home/director/macports , and I am installing relevant ports there. If I create a package using macports, does it also need to exist in the same location on some other users’s computer? Or can it be moved around to any folder in the user’s directory. </div><div class=""><br class=""></div><div class="">— I am suspecting that there is a way to set library paths/rpaths/etc. relative to the package directory. (For example, <a href="https://wincent.com/wiki/%40executable_path%2C_%40load_path_and_%40rpath" class="">https://wincent.com/wiki/%40executable_path%2C_%40load_path_and_%40rpath</a>). Is this automatically done by the macports package builder?</div><div class=""><br class=""></div><div class=""><div class="">— can the precompiled binaries only be used for macports in /opt/local?  My current installation process (to the non-standard directory) is compiling from scratch. (NOTE: this is on Mac OS 10.13.6). </div></div><div class=""><br class=""></div><div class="">  I would greatly appreciate some guidance on these. </div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Manav</div><div class=""><br class=""></div><div class=""><br class=""></div></body></html>