<br><br>On Wednesday, February 17, 2016, Craig Treleaven <<a href="mailto:ctreleaven@macports.org">ctreleaven@macports.org</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> On Feb 17, 2016, at 1:57 PM, Alejandro Imass <<a href="javascript:;" onclick="_e(event, 'cvml', 'aimass@yabarana.com')">aimass@yabarana.com</a>> wrote:<br>
><br>
> 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 ?<br>
><br>
> 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.<br>
<br>
You want to use ‘port mdmg …’ or ‘port mpkg …’. Brief documentation at:<br>
<br>
<a href="https://guide.macports.org/#using.binaries.binary-packages" target="_blank">https://guide.macports.org/#using.binaries.binary-packages</a><br>
<br>
Either of these will create a self-containted installer for whichever package you need. No need to install MacPorts or Xcode.<br>
<br></blockquote><div><br></div><div>This is awesome! Exactly what I was asking!</div><div>Thanks !!</div><div>Alex</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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.<br>
<br>
Craig</blockquote>