Packaging a compiled port to App

Alejandro Imass aimass at yabarana.com
Wed Feb 17 11:35:29 PST 2016


On Wednesday, February 17, 2016, Craig Treleaven <ctreleaven at macports.org>
wrote:

> > On Feb 17, 2016, at 1:57 PM, Alejandro Imass <aimass at yabarana.com
> <javascript:;>> wrote:
> >
> > Is it possible to package a compiled port into an OS X App for
> distribution inside a company for users that don't have MacPorts ?
> >
> > Specifically I'd like to package DIA and it's dependencies into an App
> that I can post on a company server and other team members can easily
> install.
>
> You want to use ‘port mdmg …’ or ‘port mpkg …’.  Brief documentation at:
>
> https://guide.macports.org/#using.binaries.binary-packages
>
> Either of these will create a self-containted installer for whichever
> package you need.  No need to install MacPorts or Xcode.
>
>
This is awesome! Exactly what I was asking!
Thanks !!
Alex


> Pro tip:  if the target port, or any dependency, has any post-activate
> steps, these will NOT be executed by the installer.  You’ll have to create
> a script or manual process to take such actions.  Probably need such just
> set an appropriate PATH.
>
> Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20160217/fb546909/attachment.html>


More information about the macports-users mailing list