From 9ea42dc30d05408d2c86a5fdfab7971170a881b0 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 31 Aug 2003 03:55:08 +0000 Subject: created automated MacOS X pkg maker svn path=/trunk/externals/miXed/; revision=901 --- Makefile.common | 80 +++++++++++++++++++++++++++++++---------- cyclone/Welcome.html | 9 +++++ cyclone/Welcome.txt | 1 - cyclone/darwin_altpackage.pmsp | Bin 1495 -> 0 bytes cyclone/darwin_package.pmsp | Bin 1498 -> 0 bytes cyclone/pd-cyclone.info | 16 +++++++++ 6 files changed, 86 insertions(+), 20 deletions(-) create mode 100644 cyclone/Welcome.html delete mode 100644 cyclone/Welcome.txt delete mode 100644 cyclone/darwin_altpackage.pmsp delete mode 100644 cyclone/darwin_package.pmsp create mode 100644 cyclone/pd-cyclone.info diff --git a/Makefile.common b/Makefile.common index 14624ba..e7110a9 100644 --- a/Makefile.common +++ b/Makefile.common @@ -203,6 +203,9 @@ clean: emptydeps cleanall: clean # remove default target externs -rm -f $(EXTERNS) +# added by Hans-Christoph Steiner to remove +# files created when making MacOS X packages + -rm -Rf ../installroot OLDROOT_DIR = $(shell ls -d -1 ../../Mixed-* | tail -1) @@ -320,22 +323,61 @@ Makefile.deps: # added by Hans-Christoph Steiner # to generate MacOS X packages -darwin_altpackage: all - test -d ../installroot/Help || mkdir -p ../installroot/Help - -cp ../test/cyclone/* ../installroot/Help - test -d ../installroot/Resources || mkdir -p ../installroot/Resources - cp ../LICENSE.txt ../installroot/Resources/License.ttx - cp Welcome.txt ../installroot/Resources/ - test -d ../installroot/Externals || mkdir -p ../installroot/Externals - install -m644 ../bin/*.pd_darwin --group=admin ../installroot/Externals - open darwin_altpackage.pmsp - -darwin_package: all - test -d ../installroot/pd/doc/5.reference || mkdir -p ../installroot/pd/doc/5.reference - -cp ../test/cyclone/* ../installroot/pd/doc/5.reference - test -d ../installroot/Resources || mkdir -p ../installroot/Resources - cp ../LICENSE.txt ../installroot/Resources/License.txt - cp Welcome.txt ../installroot/Resources/ - test -d ../installroot/pd/extra || mkdir -p ../installroot/pd/extra - install -m644 ../bin/*.pd_darwin --group=admin ../installroot/pd/extra - open darwin_package.pmsp + +PACKAGE_NAME = pd-$(BASE_NAME)-$(VERSION)-$(RELEASE)$(BUILD) + +darwin_pkg_license: + # generate HTML version of License + echo "" > License.html + cat ../LICENSE.txt | sed -e 's/^$$/\/g' >> License.html + echo "" >> License.html + +darwin_pkg_clean: + -sudo rm -Rf installroot/ $(PACKAGE_NAME)*.pkg/ + -rm -f $(PACKAGE_NAME)*.info *~ 1 License.html + +# install into MacOS X style paths: /Library/Pd + +darwin_altpkg: all darwin_pkg_clean darwin_pkg_license + # set up installroot dir + test -d installroot/Help || mkdir -p installroot/Help + cp ../test/cyclone/*.pd ../test/cyclone/test* ../test/cyclone/*.coll ../test/cyclone/*.mid installroot/Help + test -d installroot/Externals || mkdir -p installroot/Externals + install -m644 ../bin/*.pd_darwin installroot/Externals + sed -e 's/\/usr\/local/\/Library\/Pd/' pd-cyclone.info \ + | sed -e 's/MSP standard paths/MacOS X-style Paths/' \ + > $(PACKAGE_NAME)-alt.info + # delete cruft + -find installroot -name .DS_Store -delete + -rm -f 1 + # set proper permissions + sudo chown -R root:staff installroot + package installroot $(PACKAGE_NAME)-alt.info -d . -ignoreDSStore + # install pkg docs + install -m 644 License.html Welcome.html $(PACKAGE_NAME)-alt.pkg/Contents/Resources + sudo chown -R root:staff $(PACKAGE_NAME)-alt.pkg/Contents/Resources + +# install into MSP's default: /usr/local/lib + +darwin_pkg: all darwin_pkg_clean darwin_pkg_license + # set up installroot dir + test -d installroot/lib/pd/doc/5.reference || mkdir -p installroot/lib/pd/doc/5.reference + cp ../test/cyclone/*.pd ../test/cyclone/test* ../test/cyclone/*.coll ../test/cyclone/*.mid installroot/lib/pd/doc/5.reference + test -d installroot/lib/pd/extra || mkdir -p installroot/lib/pd/extra + install -m644 ../bin/*.pd_darwin --group=staff installroot/lib/pd/extra + test -d installroot/bin || mkdir -p installroot/bin + install -m755 ../bin/cyclist --group=staff installroot/bin + cp -f pd-cyclone.info $(PACKAGE_NAME).info + # delete the lib versions + rm -f installroot/lib/pd/extra/hammer.pd_darwin + rm -f installroot/lib/pd/extra/sickle.pd_darwin + rm -f installroot/lib/pd/extra/cyclone.pd_darwin + # delete cruft + -find installroot -name .DS_Store -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 Welcome.html $(PACKAGE_NAME).pkg/Contents/Resources + sudo chown -R root:staff $(PACKAGE_NAME).pkg/Contents/Resources diff --git a/cyclone/Welcome.html b/cyclone/Welcome.html new file mode 100644 index 0000000..c115f48 --- /dev/null +++ b/cyclone/Welcome.html @@ -0,0 +1,9 @@ + + +

Cyclone

+ +

+Cyclone is a library of Pure Data classes, bringing some level of compatibility between Max/MSP and Pd environments. Although being itself in the early stage of development, it is meant to eventually become part of a much larger project, aiming at unification and standardization of computer musician's tools. +

+ + diff --git a/cyclone/Welcome.txt b/cyclone/Welcome.txt deleted file mode 100644 index aac6d15..0000000 --- a/cyclone/Welcome.txt +++ /dev/null @@ -1 +0,0 @@ -Cyclone is a library of PureData classes, bringing some level of compatibility between Max/MSP and Pd environments. Although being itself in the early stage of development, it is meant to eventually become part of a much larger project, aiming at unification and standardization of computer musician's tools. diff --git a/cyclone/darwin_altpackage.pmsp b/cyclone/darwin_altpackage.pmsp deleted file mode 100644 index 478b284..0000000 Binary files a/cyclone/darwin_altpackage.pmsp and /dev/null differ diff --git a/cyclone/darwin_package.pmsp b/cyclone/darwin_package.pmsp deleted file mode 100644 index 5ad04df..0000000 Binary files a/cyclone/darwin_package.pmsp and /dev/null differ diff --git a/cyclone/pd-cyclone.info b/cyclone/pd-cyclone.info new file mode 100644 index 0000000..7353388 --- /dev/null +++ b/cyclone/pd-cyclone.info @@ -0,0 +1,16 @@ +Title Cyclone for Pd +Version MSP standard paths +Description Cyclone is a library of PureData classes, bringing some level of compatibility between Max/MSP and Pd environments. Although being itself in the early stage of development, it is meant to eventually become part of a much larger project, aiming at unification and standardization of computer musician's tools. +DefaultLocation /usr/local +DeleteWarning + +### Package Flags + +NeedsAuthorization YES +Required NO +Relocatable YES +RequiresReboot NO +UseUserMask YES +OverwritePermissions NO +InstallFat NO +RootVolumeOnly NO -- cgit v1.2.1