1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: Portfile 122506 2014-07-23 12:15:30Z ryandesign@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name faust-devel |
---|
7 | conflicts faust faust2-devel |
---|
8 | version 0.9.68-20141002 |
---|
9 | git.branch c1b94c3af34bc98c1e5aa0bc47d08d78aa8a9b0d |
---|
10 | categories audio lang |
---|
11 | platforms darwin |
---|
12 | maintainers ryandesign |
---|
13 | license GPL-2 |
---|
14 | homepage http://faust.grame.fr/ |
---|
15 | |
---|
16 | description functional programming language for realtime audio |
---|
17 | |
---|
18 | long_description Faust is a functional programming language \ |
---|
19 | specifically designed for realtime audio applications \ |
---|
20 | and plugins. |
---|
21 | |
---|
22 | fetch.type git |
---|
23 | git.url git://git.code.sf.net/p/faudiostream/code |
---|
24 | |
---|
25 | depends_build port:pkgconfig |
---|
26 | |
---|
27 | depends_lib port:libmicrohttpd \ |
---|
28 | port:openssl \ |
---|
29 | port:libsndfile |
---|
30 | |
---|
31 | post-patch { |
---|
32 | eval reinplace "s|/usr/local|${prefix}|g" \ |
---|
33 | ${worksrcpath}/compiler/parser/enrobage.cpp \ |
---|
34 | ${worksrcpath}/compiler/tlib/compatibility.cpp \ |
---|
35 | ${worksrcpath}/tools/scbuilder/scbuilder \ |
---|
36 | [glob ${worksrcpath}/tools/faust2appls/faust2*] |
---|
37 | fs-traverse f ${worksrcpath} { |
---|
38 | switch [file rootname [file tail ${f}]] { |
---|
39 | Makefile { |
---|
40 | reinplace "s|/usr/local|${prefix}|g" ${f} |
---|
41 | reinplace "s|/opt/local|${prefix}|g" ${f} |
---|
42 | } |
---|
43 | } |
---|
44 | } |
---|
45 | } |
---|
46 | |
---|
47 | use_configure no |
---|
48 | |
---|
49 | variant universal {} |
---|
50 | |
---|
51 | build.args-append CXX="${configure.cxx} [get_canonical_archflags cxx]" |
---|
52 | build.target-append sound2faust httpd dynamic |
---|
53 | |
---|
54 | post-destroot { |
---|
55 | set docdir ${destroot}${prefix}/share/doc/${subport} |
---|
56 | xinstall -d ${docdir} |
---|
57 | xinstall -m 644 -W ${worksrcpath} \ |
---|
58 | COPYING \ |
---|
59 | README \ |
---|
60 | WHATSNEW \ |
---|
61 | ${docdir} |
---|
62 | } |
---|
63 | |
---|
64 | # fixme |
---|
65 | livecheck.type none |
---|
66 | |
---|
67 | use_parallel_build no |
---|