#
# Coin binary packaging for Mac OS X checklist
#

Prerequisites: 
- simage and freetype-2.1.7 sources present in the ../checkout directory
- An official Coin-$(VERSION).tar.gz


o Initialization

  mkdir Coin-installer-config
  cd Coin-installer-config

o configure and build simage

  mkdir simage-config
  cd simage-config
  ../../../checkout/simage/configure --prefix=$PWD/../macosx/supportlibs/install --enable-quicktime --enable-optimization --disable-debug --disable-symbols --without-oggvorbis --without-libsndfile --libdir=$PWD/../macosx/supportlibs/lib
  make install
  cd ..

o configure and build freetype

  mkdir freetype-config
  cd freetype-config
  ../../../checkout/freetype-2.1.7/configure --prefix=$PWD/../macosx/supportlibs/install --disable-static --libdir=$PWD/../macosx/supportlibs/lib
  make install
  cd ..

o Build & package Coin

  cp /path/to/Coin-$(VERSION).tar.gz .
  tar xzf Coin-$(VERSION).tar.gz
  MACOSX_DEPLOYMENT_TARGET=10.2 ./Coin-$(VERSION)/configure
  MACOSX_DEPLOYMENT_TARGET=10.2 make macosx-packages

  Note: Do not manually unmount the volume after setting the
  background image, it will be automatically unmounted!

---

You should now have the following:

Coin-$(VERSION)-no_inst.dmg
Coin-$(VERSION).dmg
coin.info
