I want to install parts or the whole content of a preexisting open source package to another directory than what the package is set to. I assume this means I need to modify the package, correct? At least I'm not aware of a way to redirect the installation path when installing.
If a modification is necessary as I assume it is, how can do that? Is there a tool that can open a preexisting package and allow you to make changes for the install path? I'm not overly familiar with the command line tools of Xcode, but they do seem geared towards starting with the source code, rather than modifying an existing installer.
I don't really need to achieve any other resulting changes than to get my paths and likely modify permissions on installed files. But the modifications may be more involved considering postinstallation scripts and so on.
I've looked at the Packages app and that seems great for building an installer from scratch, but I haven't found a way to import a preexisting package.