> On Feb 17, 2016, at 1:35 PM, Alejandro Imass <[email protected]> wrote: > > > > On Wednesday, February 17, 2016, Craig Treleaven <[email protected]> > wrote: > > On Feb 17, 2016, at 1:57 PM, Alejandro Imass <[email protected]> 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 !!
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. _______________________________________________ macports-users mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-users
