Ticket #45364: Portfile.3

File Portfile.3, 3.0 KB (added by agraef (Albert Graef), 10 years ago)

Updated Portfile

Line 
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 126332 2014-10-08 00:17:45Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    faustlive-devel
7version                 2.27-20141017
8git.branch              75b76ea4983174d340d568d27fc434603acd6663
9categories              audio
10platforms               darwin
11maintainers             ryandesign gmail.com:aggraef
12license                 GPL-3
13homepage                http://faust.grame.fr/
14
15description             a graphical frontend to the Faust compiler
16
17long_description        FaustLive is ${description}. \
18                        It provides an advanced self-contained prototyping \
19                        environment for the Faust programming language with \
20                        an ultra-short edit-compile-run cycle. \
21                        Thanks to its fully embedded compilation chain, \
22                        FaustLive is simple to install and doesn't require \
23                        any external compiler, development toolchain or SDK \
24                        to run. Faust programs can be compiled and run on the \
25                        fly by simple drag and drop. They can even be edited \
26                        and recompiled while running without interrupting \
27                        sound or disconnecting the Jack audio server.
28
29fetch.type              git
30git.url                 git://git.code.sf.net/p/faudiostream/faustlive
31
32set llvm_version        3.4
33set llvm_prefix         ${prefix}/libexec/llvm-${llvm_version}
34build.env               PATH=${llvm_prefix}/bin:$env(PATH)
35
36depends_build           port:faust2-devel \
37                        port:clang-${llvm_version} \
38                        port:llvm-${llvm_version}
39
40depends_lib             port:curl \
41                        port:libmicrohttpd \
42                        port:liblo \
43                        port:libsndfile \
44                        port:openssl \
45                        port:qrencode \
46                        port:qt4-mac
47
48use_configure           no
49
50build.args              STATIC=1
51destroot.args           APPDIR=/Applications/MacPorts
52
53variant jack description {Enable Jack support} {
54    depends_lib-append  port:jack
55    build.args-append   JACK=1
56}
57
58post-destroot {
59    set docdir ${destroot}${prefix}/share/doc/${subport}
60    xinstall -d ${docdir}
61    xinstall -d ${docdir}/FilesToConfigure
62    xinstall -m 644 -W ${worksrcpath} \
63        GPL.txt \
64        Build/Darwin/README.txt \
65        Build/Darwin/Distributions/READ_ME_BEFORE_YOU_START.pdf \
66        Build/Darwin/Distributions/Whats_New.pdf \
67        Documentation/faust-quick-reference.pdf \
68        Documentation/UserManual.pdf \
69        ${docdir}
70    xinstall -m 644 -W ${worksrcpath}/Build/Darwin/Distributions \
71        DefaultDSP.dsp \
72        DefaultDSP.lib \
73        process.svg \
74        ${docdir}/FilesToConfigure
75}
76
77# fixme
78livecheck.type          none