aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Bénony2016-01-06 13:36:59 +0100
committerVincent Bénony2016-01-06 16:20:31 +0100
commitec040cb5d8479edeb4dae2528c48e5b5a72d9f63 (patch)
treed98b00006e9befe92a544fa3e1e2066871ef8075
parentc7e65e60dd9bf8042a5eb5fd65d838c412b2e7b9 (diff)
downloadscummvm-rg350-ec040cb5d8479edeb4dae2528c48e5b5a72d9f63.tar.gz
scummvm-rg350-ec040cb5d8479edeb4dae2528c48e5b5a72d9f63.tar.bz2
scummvm-rg350-ec040cb5d8479edeb4dae2528c48e5b5a72d9f63.zip
OSX: Fixes the Info.plist.in template, and the bundle target
-rw-r--r--dists/macosx/Info.plist.in2
-rw-r--r--ports.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/dists/macosx/Info.plist.in b/dists/macosx/Info.plist.in
index 27c79743a2..55be27d77b 100644
--- a/dists/macosx/Info.plist.in
+++ b/dists/macosx/Info.plist.in
@@ -13,7 +13,7 @@
<key>CFBundleIconFile</key>
<string>scummvm.icns</string>
<key>CFBundleIdentifier</key>
- <string>org.scummvm.scummvm</string>
+ <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleLocalizations</key>
diff --git a/ports.mk b/ports.mk
index 00ab5ce432..17baee80dd 100644
--- a/ports.mk
+++ b/ports.mk
@@ -58,7 +58,7 @@ bundle: scummvm-static
mkdir -p $(bundle_name)/Contents/MacOS
mkdir -p $(bundle_name)/Contents/Resources
echo "APPL????" > $(bundle_name)/Contents/PkgInfo
- cp $(srcdir)/dists/macosx/Info.plist $(bundle_name)/Contents/
+ sed -e 's/$$(PRODUCT_BUNDLE_IDENTIFIER)/org.scummvm.scummvm/' $(srcdir)/dists/macosx/Info.plist >$(bundle_name)/Contents/Info.plist
ifdef USE_SPARKLE
mkdir -p $(bundle_name)/Contents/Frameworks
cp $(srcdir)/dists/macosx/dsa_pub.pem $(bundle_name)/Contents/Resources/