[61632] trunk/dports/audio
ryandesign at macports.org
ryandesign at macports.org
Wed Dec 16 22:14:10 PST 2009
Revision: 61632
http://trac.macports.org/changeset/61632
Author: ryandesign at macports.org
Date: 2009-12-16 22:14:06 -0800 (Wed, 16 Dec 2009)
Log Message:
-----------
faust: new port, version 0.9.9.4b
Added Paths:
-----------
trunk/dports/audio/faust/
trunk/dports/audio/faust/Portfile
trunk/dports/audio/faust/files/
trunk/dports/audio/faust/files/patch-prefix.diff
Added: trunk/dports/audio/faust/Portfile
===================================================================
--- trunk/dports/audio/faust/Portfile (rev 0)
+++ trunk/dports/audio/faust/Portfile 2009-12-17 06:14:06 UTC (rev 61632)
@@ -0,0 +1,48 @@
+# $Id$
+
+PortSystem 1.0
+
+name faust
+version 0.9.9.4b
+worksrcdir ${name}-[strsed ${version} {s/[^0-9.]*$//}]
+categories audio lang
+platforms darwin
+maintainers ryandesign
+license GPLv2
+master_sites sourceforge:faudiostream
+homepage http://faust.grame.fr/
+
+description functional programming language for realtime audio
+
+long_description Faust is a functional programming language \
+ specifically designed for realtime audio applications \
+ and plugins.
+
+checksums md5 1b9b955f812e346bbecb171b0f932a86 \
+ sha1 65882219ccd96fb8a64eec208bbad3a127b7a777 \
+ rmd160 c126b11f23451a28ec932f9b51bf080613fab4e7
+
+patchfiles-append patch-prefix.diff
+
+post-patch {
+ reinplace "s|/usr/local|${prefix}|g" \
+ ${worksrcpath}/compiler/parser/enrobage.cpp \
+ ${worksrcpath}/examples/Makefile.mspcompile \
+ ${worksrcpath}/examples/Makefile.qtcompile \
+ ${worksrcpath}/examples/Makefile.vstcompile
+}
+
+use_configure no
+
+build.args-append prefix=${prefix} \
+ CXX=${configure.cxx}
+
+destroot.destdir prefix=${destroot}${prefix}
+
+post-destroot {
+ set docdir ${destroot}${prefix}/share/doc/${name}
+ xinstall -d ${docdir}
+ xinstall -m 644 -W ${worksrcpath} \
+ README \
+ ${docdir}
+}
Property changes on: trunk/dports/audio/faust/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/audio/faust/files/patch-prefix.diff
===================================================================
--- trunk/dports/audio/faust/files/patch-prefix.diff (rev 0)
+++ trunk/dports/audio/faust/files/patch-prefix.diff 2009-12-17 06:14:06 UTC (rev 61632)
@@ -0,0 +1,20 @@
+--- compiler/parser/enrobage.cpp.orig 2008-03-27 09:59:12.000000000 -0500
++++ compiler/parser/enrobage.cpp 2009-12-16 22:48:30.000000000 -0600
+@@ -106,7 +106,7 @@
+ return f;
+ } else {
+ const char* p1 = getenv("FAUST_PATH");
+- const char* p2 = (p1 != 0) ? p1 : "/usr/local/lib/faust/:/usr/lib/faust/";
++ const char* p2 = (p1 != 0) ? p1 : "/usr/local/lib/faust/";
+ return open_path_stream(p2, filename);
+ }
+ }
+@@ -142,7 +142,7 @@
+ return f;
+ } else {
+ const char* p1 = getenv("FAUST_PATH");
+- const char* p2 = (p1 != 0) ? p1 : "/usr/local/lib/faust/:/usr/lib/faust/";
++ const char* p2 = (p1 != 0) ? p1 : "/usr/local/lib/faust/";
+ return fopenpath(p2, filename);
+ }
+ }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091216/d7152415/attachment.html>
More information about the macports-changes
mailing list