actually I want to compile a OSX version of wallet, I have ubuntu server not not a mac yet
If you look at the gitian compile discussion it shows you how to build Linux, Windows and OS X on one machine. Perhaps that would be a good place to look too.
It doesn't need mac ports, btw.