aboutsummaryrefslogtreecommitdiff
path: root/ports.mk
diff options
context:
space:
mode:
Diffstat (limited to 'ports.mk')
-rw-r--r--ports.mk24
1 files changed, 19 insertions, 5 deletions
diff --git a/ports.mk b/ports.mk
index f161373cb0..f923d8efe3 100644
--- a/ports.mk
+++ b/ports.mk
@@ -91,15 +91,19 @@ scummvm.docktileplugin: ScummVMDockTilePlugin
cp ScummVMDockTilePlugin scummvm.docktileplugin/Contents/MacOS/
chmod 644 scummvm.docktileplugin/Contents/MacOS/ScummVMDockTilePlugin
+scummvm.docktileplugin64: ScummVMDockTilePlugin64
+ mkdir -p scummvm.docktileplugin/Contents
+ cp $(srcdir)/dists/macosx/dockplugin/Info.plist scummvm.docktileplugin/Contents
+ mkdir -p scummvm.docktileplugin/Contents/MacOS
+ mv ScummVMDockTilePlugin64 ScummVMDockTilePlugin
+ cp ScummVMDockTilePlugin scummvm.docktileplugin/Contents/MacOS/
+ chmod 644 scummvm.docktileplugin/Contents/MacOS/ScummVMDockTilePlugin
+
endif
bundle_name = ScummVM.app
-ifdef USE_DOCKTILEPLUGIN
-bundle: scummvm-static scummvm.docktileplugin
-else
-bundle: scummvm-static
-endif
+bundle-pack:
mkdir -p $(bundle_name)/Contents/MacOS
mkdir -p $(bundle_name)/Contents/Resources
echo "APPL????" > $(bundle_name)/Contents/PkgInfo
@@ -137,6 +141,16 @@ ifdef USE_DOCKTILEPLUGIN
cp -r scummvm.docktileplugin $(bundle_name)/Contents/PlugIns/
endif
+ifdef USE_DOCKTILEPLUGIN
+bundle: scummvm-static scummvm.docktileplugin bundle-pack
+
+bundle64: scummvm-static scummvm.docktileplugin64 bundle-pack
+else
+bundle: scummvm-static bundle-pack
+
+bundle64: scummvm-static bundle-pack
+endif
+
iphonebundle: iphone
mkdir -p $(bundle_name)
cp $(srcdir)/dists/iphone/Info.plist $(bundle_name)/