Creating a .pkg with dependencies

Joshua Root jmr at
Wed Jul 22 10:54:08 PDT 2009

On 2009-7-23 03:31, Daniel Furrer wrote:
> Hi,
> I just upgraded my macports to the trunk to be able to build a pkg
> installer so that I can easily distribute binaries of my application. Is
> there an easy way to create a .pkg that includes dependencies? (GTK and
> maybe even XQuartz?)

You don't need trunk to build packages, though there is a bug you might
have to work around in 1.7 by disabling autoclean. Anyway, the target
you want is mpkg (or mdmg), which is listed under PACKAGING TARGETS in
the port man page.

- Josh

More information about the macports-users mailing list