This commit is contained in:
Richard Allen 2012-03-30 13:14:38 +00:00
parent ca92d271a8
commit b718c87014

View file

@ -1,19 +1,19 @@
#!/bin/sh #!/bin/sh
APPBUNDLE=ioquake3.app APPBUNDLE=Reaction.app
BINARY=ioquake3.x86_64 BINARY=Reaction.x86_64
DEDBIN=ioq3ded.x86_64 DEDBIN=Reactionded.x86_64
PKGINFO=APPLIOQ3 PKGINFO=APPLIOQ3
ICNS=misc/quake3.icns ICNS=misc/quake3.icns
DESTDIR=build/release-darwin-x86_64 DESTDIR=build/release-darwin-x86_64
BASEDIR=baseq3 BASEDIR=Boomstick
MPACKDIR=missionpack MPACKDIR=missionpack
RENDERDIR=build/release-darwin-x86_64 RENDERDIR=build/release-darwin-x86_64
BIN_OBJ=" BIN_OBJ="
build/release-darwin-x86_64/ioquake3.x86_64 build/release-darwin-x86_64/Reaction.x86_64
" "
BIN_DEDOBJ=" BIN_DEDOBJ="
build/release-darwin-x86_64/ioq3ded.x86_64 build/release-darwin-x86_64/Reactionded.x86_64
" "
BASE_OBJ=" BASE_OBJ="
build/release-darwin-x86_64/$BASEDIR/cgamex86_64.dylib build/release-darwin-x86_64/$BASEDIR/cgamex86_64.dylib
@ -33,7 +33,7 @@ RENDER_OBJ="
cd `dirname $0` cd `dirname $0`
if [ ! -f Makefile ]; then if [ ! -f Makefile ]; then
echo "This script must be run from the ioquake3 build directory" echo "This script must be run from the Reaction build directory"
exit 1 exit 1
fi fi
@ -82,7 +82,7 @@ fi
if [ ! -d $DESTDIR/$APPBUNDLE/Contents/Resources ]; then if [ ! -d $DESTDIR/$APPBUNDLE/Contents/Resources ]; then
mkdir -p $DESTDIR/$APPBUNDLE/Contents/Resources mkdir -p $DESTDIR/$APPBUNDLE/Contents/Resources
fi fi
cp $ICNS $DESTDIR/$APPBUNDLE/Contents/Resources/ioquake3.icns || exit 1; cp $ICNS $DESTDIR/$APPBUNDLE/Contents/Resources/Reaction.icns || exit 1;
echo $PKGINFO > $DESTDIR/$APPBUNDLE/Contents/PkgInfo echo $PKGINFO > $DESTDIR/$APPBUNDLE/Contents/PkgInfo
echo " echo "
<?xml version=\"1.0\" encoding=\"UTF-8\"?> <?xml version=\"1.0\" encoding=\"UTF-8\"?>
@ -96,15 +96,15 @@ echo "
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>$BINARY</string> <string>$BINARY</string>
<key>CFBundleGetInfoString</key> <key>CFBundleGetInfoString</key>
<string>ioquake3 $Q3_VERSION</string> <string>Reaction $Q3_VERSION</string>
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>
<string>ioquake3.icns</string> <string>Reaction.icns</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
<string>org.ioquake.ioquake3</string> <string>org.ioquake.Reaction</string>
<key>CFBundleInfoDictionaryVersion</key> <key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string> <string>6.0</string>
<key>CFBundleName</key> <key>CFBundleName</key>
<string>ioquake3</string> <string>Reaction</string>
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>