Packaging a compiled port to App
Ryan Schmidt
ryandesign at macports.org
Thu Feb 18 13:15:46 PST 2016
> On Feb 18, 2016, at 3:13 PM, Alejandro Imass <aimass at yabarana.com> wrote:
>
>
>
> On Thu, Feb 18, 2016 at 2:48 PM, Ryan Schmidt <ryandesign at macports.org> wrote:
>
> > On Feb 17, 2016, at 1:35 PM, Alejandro Imass <aimass at yabarana.com> wrote:
> >
> >
>
> [...]
>
> >
> > You want to use ‘port mdmg …’ or ‘port mpkg …’. Brief documentation at:
> >
> > https://guide.macports.org/#using.binaries.binary-packages
> >
>
> [...]
>
> > This is awesome! Exactly what I was asking!
> > Thanks !!
>
> But if you do this, make sure you are *not* using a MacPorts installation whose prefix is /opt/local, because that will interfere with users who already do have MacPorts installed, or those who may install it in the future. Instead, build MacPorts from source in a different prefix, one chosen specifically for the thing you are packaging. For DIA, /opt/dia could be a good choice.
>
>
>
> Sure thing. Got it!
>
> Thanks for the additional tip!
If what you are packaging is only an OS X application bundle, you can consider instead using the dylibbundler port to make a distributable app that can be drag-and-drop installed.
More information about the macports-users
mailing list