Distribuiting packages
Ryan Schmidt
ryandesign at macports.org
Mon Mar 2 03:15:27 PST 2009
On Mar 1, 2009, at 14:47, DaNiMoTh wrote:
> I have written an application with python and some others things, but
> to have these installed on a mac is using macports. There is a way to
> include these dependencies in only one .dmg file ?
>
> I need to learn how make it from basics. Could you give me some links,
> and how I can use the macports packages as dependencies? ( and
> distribuite it, clearly )
You can use
sudo port mdmg your_software
where "your_software" is a port that installs your software.
Notes:
1. You should do this in a custom MacPorts install that uses a
different prefix than /opt/local. Otherwise anyone who uses your
package AND MacPorts will run into problems as your package would
overwrite things in the standard MacPorts prefix, or at least install
into it, which should not be done.
2. I believe your port and all the dependencies need to be *not*
installed at the time you run "sudo port mdmg". Let "sudo port mdmg"
build the ports itself. I believe I have seen messages on the list
about this being the case, but I haven't tried it myself.
More information about the macports-users
mailing list