Building ooo-build on Mac OS X
From Apache OpenOffice Wiki
It's actually pretty simple, apart from grabbing the ooo-build tree as explained on Building with ooobuild, you need:
- for Leopard (10.5) XCode 3.0 or better (free ADC download)
- for Tiger (10.4) XCode 2.4.1 or better (free ADC download)
- MacPorts (from here) - the dmg installer version is prolly easiest & safe
After installing (mind the order, MacPorts need XCode, and making sure that your firewall permits traffic on port 873 (rsync), needed for MacPorts' selfupdate):
- make sure your shell path contains /opt/local/bin (open new shell or reboot)
- install the following extra packages via
sudo port install autoconf automake subversion pkgconfig wget coreutils
- install Perl's Archive::Zip module via
sudo perl -MCPAN -e shell > install Archive::Zip