Took me a bit of time and experimentation to get it working, now I have Zim running on OSX, and in the end, it was pretty painless. I think these are the steps I took.
First, install MacPorts. I downloaded the dmg then installed it. MacPorts requires XCode, but I had already installed the XCode command line tools from here (apple ID required). Every time I run anything with port, it warns about missing XCode, as I understood this, I can safely ignore the warning.
Then I found details somewhere on which packages to install. I ran this command:
sudo port install python26 py26-pygtk py26-simplejson py26-xdg
I also downloaded the zim source code package. Then I had some issues where zim wouldn’t start. Turns out I was using the default Apple version of python instead of the MacPorts version. I extracted the zim source, cd’d into the directory, and then I was able to start zim with the following command:
Took a few tries to get it to start properly, but eventually I got it working. I kept re-opening it. I also had to have XQuartz installed, which I think is an OSX X implementation. Don’t know, it was already installed on my system.
If you try to follow these steps and find anything missing, let me know what to add and I’ll update this post. Hopefully this saves somebody else a bit of hassle.