diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2003-09-17 13:38:41 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2003-09-17 13:38:41 +0000 |
commit | e79a1e91d1eceec887fc7213831e130e918daed3 (patch) | |
tree | 615780892ed1a6bd50d36ec2e99143dfa60fa2a1 /packages/darwin_pkg/noncvs/Makefile | |
parent | 3625ae77b08ed59e003f251de252ac511bf1d7b1 (diff) |
updated installer with pretty pictures; added a noncvs package for random binaries from the net
svn path=/trunk/; revision=989
Diffstat (limited to 'packages/darwin_pkg/noncvs/Makefile')
-rw-r--r-- | packages/darwin_pkg/noncvs/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/packages/darwin_pkg/noncvs/Makefile b/packages/darwin_pkg/noncvs/Makefile new file mode 100644 index 00000000..7a7547f9 --- /dev/null +++ b/packages/darwin_pkg/noncvs/Makefile @@ -0,0 +1,36 @@ + +current: darwin_pkg + +DESTDIR = installroot + +PKG_VERSION = $(shell date +20%y.%m.%d) +PKG_PREFIX = pd-noncvs +PKG_NAME = $(PKG_PREFIX)-$(PKG_VERSION) + +WELCOME_FILE = Welcome.html +INFO_FILE = $(PKG_NAME).info + +clean: darwin_pkg_clean + +darwin_pkg_clean: + -sudo rm -Rf installroot $(PKG_NAME)* + -rm -f *~ 1 + +# install into MSP's default: /usr/local/lib + +darwin_pkg: darwin_pkg_clean +# set up installroot dir + test -d $(DESTDIR)/pd/extra || mkdir -p $(DESTDIR)/pd/extra + install -m444 extra/*.pd_darwin $(DESTDIR)/pd/extra + cp -rf doc $(DESTDIR)/pd/ + cp -f pd-noncvs.info $(PKG_NAME).info +# delete cruft + -find $(DESTDIR) -name .DS_Store -delete + -rm -f 1 +# set proper permissions + sudo chown -R root:staff $(DESTDIR) + package $(DESTDIR) $(PKG_NAME).info -d . -ignoreDSStore +# install pkg docs + install -m444 $(WELCOME_FILE) $(PKG_NAME).pkg/Contents/Resources + sudo chown -R root:staff $(PKG_NAME).pkg/Contents/Resources + |