aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2002-11-10 22:07:06 +0000
committerMax Horn2002-11-10 22:07:06 +0000
commit36309567c30b0011cf27aff2e8faa8d217447cd0 (patch)
treeb977fe5055a4a7e3164f3a6db06af496247f8182
parent70ac9530b5a145317836abb44ad34df5bbb589c2 (diff)
downloadscummvm-rg350-36309567c30b0011cf27aff2e8faa8d217447cd0.tar.gz
scummvm-rg350-36309567c30b0011cf27aff2e8faa8d217447cd0.tar.bz2
scummvm-rg350-36309567c30b0011cf27aff2e8faa8d217447cd0.zip
Added a bundle target for OS X (creates an .app wrapper); Info.plist contains some user information for that wrapper, like version & copyright (needs to be adjusted for releases)
svn-id: r5514
-rw-r--r--Info.plist28
-rw-r--r--Makefile10
2 files changed, 38 insertions, 0 deletions
diff --git a/Info.plist b/Info.plist
new file mode 100644
index 0000000000..620fbb3de5
--- /dev/null
+++ b/Info.plist
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
+<plist version="0.9">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleExecutable</key>
+ <string>scummvm</string>
+ <key>CFBundleGetInfoString</key>
+ <string>0.2.81 CVS, Copyright 2001-2002 The ScummVM team</string>
+ <key>CFBundleIconFile</key>
+ <string>scummvm.icns</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>scummvm</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>0.2.81 CVS</string>
+ <key>CFBundleVersion</key>
+ <string>0.2.81 CVS</string>
+ <key>NSPrincipalClass</key>
+ <string>NSApplication</string>
+ <key>NSHumanReadableCopyright</key>
+ <string>Copyright 2001-2002 The ScummVM team</string>
+</dict>
+</plist>
diff --git a/Makefile b/Makefile
index bac464846d..6c551cffe0 100644
--- a/Makefile
+++ b/Makefile
@@ -75,3 +75,13 @@ deb:
ln -sf dists/debian;
debian/prepare
fakeroot debian/rules binary
+
+# Special target to create a application wrapper for Mac OS X
+bundle_name = ScummVM.app
+bundle: scummvm
+ mkdir -p $(bundle_name)/Contents/MacOS
+ mkdir -p $(bundle_name)/Contents/Resources
+ echo "APPL????" > $(bundle_name)/Contents/PkgInfo
+ cp Info.plist $(bundle_name)/Contents/
+ cp scummvm.icns $(bundle_name)/Contents/Resources/
+ cp $< $(bundle_name)/Contents/MacOS/