[85983] trunk/dports/audio/faust/Portfile
ryandesign at macports.org
ryandesign at macports.org
Mon Oct 17 19:05:05 PDT 2011
Revision: 85983
http://trac.macports.org/changeset/85983
Author: ryandesign at macports.org
Date: 2011-10-17 19:05:04 -0700 (Mon, 17 Oct 2011)
Log Message:
-----------
faust: fix hardcoded references to /usr/local and /opt/local; see #31624
Modified Paths:
--------------
trunk/dports/audio/faust/Portfile
Modified: trunk/dports/audio/faust/Portfile
===================================================================
--- trunk/dports/audio/faust/Portfile 2011-10-18 02:04:00 UTC (rev 85982)
+++ trunk/dports/audio/faust/Portfile 2011-10-18 02:05:04 UTC (rev 85983)
@@ -5,6 +5,7 @@
name faust
version 0.9.43
+revision 1
categories audio lang
platforms darwin
maintainers ryandesign
@@ -24,13 +25,19 @@
patchfiles-append patch-prefix.diff
post-patch {
- reinplace "s|/usr/local|${prefix}|g" \
+ eval reinplace "s|/usr/local|${prefix}|g" \
${worksrcpath}/compiler/parser/enrobage.cpp \
${worksrcpath}/compiler/tlib/compatibility.cpp \
- ${worksrcpath}/examples/Makefile.csound \
- ${worksrcpath}/examples/Makefile.mspcompile \
- ${worksrcpath}/examples/Makefile.qtcompile \
- ${worksrcpath}/examples/Makefile.vstcompile
+ ${worksrcpath}/tools/scbuilder/scbuilder \
+ [glob ${worksrcpath}/tools/faust2appls/faust2*]
+ fs-traverse f ${worksrcpath} {
+ switch [file rootname [file tail ${f}]] {
+ Makefile {
+ reinplace "s|/usr/local|${prefix}|g" ${f}
+ reinplace "s|/opt/local|${prefix}|g" ${f}
+ }
+ }
+ }
}
use_configure no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111017/c7dbf7ae/attachment.html>
More information about the macports-changes
mailing list