summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Lockwood (dunc) <dunc@lemonia.org>2009-02-23 17:48:53 +0000
committerDuncan Lockwood (dunc) <dunc@lemonia.org>2009-02-23 17:48:53 +0000
commit66e31fa6cd24037ab22e9a70b90d427cd648bfac (patch)
tree125df7baab527edb2639be8212523021473eaf43 /dev-lang/faust/files/faust-0.9.9.4_Makefile.patch
parentapp-cdr/acetoneiso2: renamed to app-cdr/acetoneiso (diff)
downloadsunrise-66e31fa6cd24037ab22e9a70b90d427cd648bfac.tar.gz
sunrise-66e31fa6cd24037ab22e9a70b90d427cd648bfac.tar.bz2
sunrise-66e31fa6cd24037ab22e9a70b90d427cd648bfac.zip
dev-lang/faust: New Ebuild for bug 90698. Thanks to volkmar and scarabeus for ebuild help and scarabeus for review
svn path=/sunrise/; revision=7959
Diffstat (limited to 'dev-lang/faust/files/faust-0.9.9.4_Makefile.patch')
-rw-r--r--dev-lang/faust/files/faust-0.9.9.4_Makefile.patch49
1 files changed, 49 insertions, 0 deletions
diff --git a/dev-lang/faust/files/faust-0.9.9.4_Makefile.patch b/dev-lang/faust/files/faust-0.9.9.4_Makefile.patch
new file mode 100644
index 000000000..883c32ed4
--- /dev/null
+++ b/dev-lang/faust/files/faust-0.9.9.4_Makefile.patch
@@ -0,0 +1,49 @@
+--- ../faust-0.9.9.4_orig/Makefile 2008-03-27 14:59:11.000000000 +0000
++++ Makefile 2009-02-19 20:50:53.000000000 +0000
+@@ -1,5 +1,8 @@
+ version := 0.9.9.4
+-prefix := /usr/local
++DESTDIR ?= /
++PREFIX ?= /usr/local
++destdir := $(DESTDIR)
++prefix := $(PREFIX)
+ arch := $(wildcard architecture/*.*)
+ mfiles := $(wildcard examples/Makefile.*)
+ vname := faust-$(version)-$(shell date +%y%m%d.%H%M%S)
+@@ -16,7 +19,7 @@ help :
+ @echo "make parser : generate the parser from the lex and yacc files"
+ @echo "make clean : remove all object files"
+ @echo "make doc : generate the documentation using doxygen"
+- @echo "make install : install the compiler and the architecture files in $(prefix)/bin $(prefix)/lib/faust"
++ @echo "make install : install the compiler and the architecture files in $(destdir)/$(prefix)/bin $(destdir)/$(prefix)/lib/faust"
+ @echo "make uninstall : undo what install did"
+ @echo "make dist : make a tar.gz file ready for distribution"
+ @echo "make log : make a changelog file"
+@@ -36,18 +39,18 @@ doc :
+
+
+ install :
+- mkdir -p $(prefix)/lib/faust/
+- install compiler/faust $(prefix)/bin
+- install -m 0644 $(arch) $(prefix)/lib/faust/
+- - test -d $(prefix)/lib/faust/VST && rm -rf $(prefix)/lib/faust/VST
+- cp -r architecture/VST $(prefix)/lib/faust/
+- find $(prefix)/lib/faust/ -name CVS | xargs rm -rf
+- install -m 0644 $(mfiles) $(prefix)/lib/faust/
++ mkdir -p $(destdir)/$(prefix)/lib/faust/
++ install -D compiler/faust $(destdir)/$(prefix)/bin/faust
++ install -m 0644 $(arch) $(destdir)/$(prefix)/lib/faust/
++ - test -d $(destdir)/$(prefix)/lib/faust/VST && rm -rf $(destdir)/$(prefix)/lib/faust/VST
++ cp -r architecture/VST $(destdir)/$(prefix)/lib/faust/
++ find $(destdir)/$(prefix)/lib/faust/ -name CVS | xargs rm -rf
++ install -m 0644 $(mfiles) $(destdir)/$(prefix)/lib/faust/
+
+
+ uninstall :
+- rm -rf $(prefix)/lib/faust/
+- rm -f $(prefix)/bin/faust
++ rm -rf $(destdir)/$(prefix)/lib/faust/
++ rm -f $(destdir)/$(prefix)/bin/faust
+
+ dist :
+ $(MAKE) -C compiler clean