adding osx application bundler scripts
[pspp] / utilities / osxbundler / macports-custom-packages / gtk-mac-bundler / files / patch-bundler_py.diff
diff --git a/utilities/osxbundler/macports-custom-packages/gtk-mac-bundler/files/patch-bundler_py.diff b/utilities/osxbundler/macports-custom-packages/gtk-mac-bundler/files/patch-bundler_py.diff
new file mode 100644 (file)
index 0000000..1aaabd4
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git bundler/bundler.py bundler/bundler.py
+index 65b8cc0..3ca931f 100644
+--- bundler/bundler.py
++++ bundler/bundler.py
+@@ -618,7 +618,7 @@ class Bundler:
+         self.copy_plist()
+         # Note: could move this to xml file...
+-        self.copy_path(Path("${prefix}/lib/charset.alias"))
++        self.copy_path(Path("/usr/lib/charset.alias", dest="${bundle}/Contents/Resources"))
+         # Main binary
+         path = self.project.get_main_binary()