diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2003-10-24 14:15:28 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2003-10-24 14:15:28 +0000 |
commit | 19a71b7b8a1309e9a86b3238323c27b586b4684d (patch) | |
tree | f89dca0541f53557d15dfd5a1326c84518b2792d /packages/darwin_pkg/double-clickers/Makefile | |
parent | 7c3fcc821c03772866ef290e82d2dfd6c24a975c (diff) |
functional .app-stype double-clicker
svn path=/trunk/; revision=1133
Diffstat (limited to 'packages/darwin_pkg/double-clickers/Makefile')
-rw-r--r-- | packages/darwin_pkg/double-clickers/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/packages/darwin_pkg/double-clickers/Makefile b/packages/darwin_pkg/double-clickers/Makefile new file mode 100644 index 00000000..a37460a3 --- /dev/null +++ b/packages/darwin_pkg/double-clickers/Makefile @@ -0,0 +1,39 @@ +# Created by Hans-Christoph Steiner <hans@eds.org> to generate MacOS X packages
+# This Makefile does not generate a PDDP pkg, PDDP has its own Makefile
+#
+# For info on making file types and icons, see:
+# http://www.macosxhints.com/article.php?story=20030728055235121&query=add+icon+file
+#
+
+current: darwin_pkg
+
+PACKAGE_VERSION = $(shell date +20%y.%m.%d)
+PACKAGE_PREFIX = pd-double-clickers
+PACKAGE_NAME = $(PACKAGE_PREFIX)-$(PACKAGE_VERSION)
+
+darwin_pkg_clean:
+ -sudo rm -Rf installroot/ $(PACKAGE_PREFIX)*.pkg/
+ -rm -f $(PACKAGE_PREFIX)-*.info 1 License.html Welcome.???*
+
+# install into MSP's default: /usr/local/lib
+
+darwin_pkg: darwin_pkg_clean
+# set up installroot dir
+ install -d "installroot/Applications/Pure Data.app/Contents/MacOS"
+ install -m555 Pd.* "installroot/Applications/Pure Data.app/Contents/MacOS"
+ install -m555 "Pure Data" "installroot/Applications/Pure Data.app/Contents/MacOS"
+ install -m444 Info.plist "installroot/Applications/Pure Data.app/Contents"
+ install -d "installroot/Applications/Pure Data.app/Contents/Resources"
+ install -m444 *.icns "installroot/Applications/Pure Data.app/Contents/Resources"
+ cp -f pd-double-clickers.info $(PACKAGE_NAME).info
+# delete cruft
+ -find installroot -name .DS_Store -delete
+ -find installroot -name CVS -delete
+ -rm -f 1
+# set proper permissions
+ sudo chown -R root:staff installroot
+ package installroot $(PACKAGE_NAME).info -d . -ignoreDSStore
+# install pkg docs
+# install -m 644 License.html $(PACKAGE_NAME).pkg/Contents/Resources
+ sudo chown -R root:staff $(PACKAGE_NAME).pkg/Contents/Resources
+
|