--- deliantra/Deliantra-Client/makebin.osx 2008/08/19 21:48:28 1.1 +++ deliantra/Deliantra-Client/makebin.osx 2008/08/20 00:46:12 1.2 @@ -6,6 +6,8 @@ PERLLIB=/usr/lib/perl5 PANGO=1.6.0 +umask 022 + if false; then for mod in AnyEvent EV JSON-XS Deliantra Compress-LZF BDB; do ( @@ -19,6 +21,8 @@ done fi +if true; then + ( perl -ne '/^(resources\/.*)/ and print "$1;root/Deliantra/Client/private/$1\n"' "$APP.app/Contents/Info.plist" < + + + + CFBundleDevelopmentRegion + English + CFBundleDisplayName + Deliantra MORPG Client + CFBundleExecutable + run + CFBundleGetInfoString + Deliantra MORPG Client $VER (www.deliantra.net) + CFBundleIconFile + deliantra.icns + CFBundleIdentifier + net.deliantra.client + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + Deliantra MORPG Client + CFBundlePackageType + APPL + CFBundleShortVersionString + $VER + CFBundleVersionString + $VER.$(date "+%Y.%m.%d.%H.%M.%S") + CFBundleSignature + ???? + LSHasLocalizedDisplayName + + LSMinimumSystemVersion + 10.5 + NSAppleScriptEnabled + + NSHumanReadableCopyright + Deliantra MORPG Client - Copyright 2008 The Deliantra Team + + +EOF + +rm -rf dmg +mkdir dmg + +mv "$APP.app" dmg/ + +# now, the last third, putting all this into a dmg + +hdiutil create -srcfolder dmg -volname "Deliantra MORPG Client" -ov -format UDZO ~user/"Deliantra_MORPG_Client-$VER".dmg +ls -l ~user/"Deliantra_MORPG_Client-$VER".dmg +rm -rf dmg +