Modified tgz2dmg and postinstall to work with pkgbuild.