source: trunk/dports/audio/faustlive-devel/Portfile @ 137962

Last change on this file since 137962 was 137962, checked in by ryandesign@…, 4 years ago

faustlive-devel: update to 2.37-20150617 and fix qt5 variant following changes to qt5-mac port (#48080)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.2 KB
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 137962 2015-06-23 20:16:45Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    faustlive-devel
7version                 2.37-20150617
8git.branch              f5790abf39a40cc31af40bae6f1ca2815d486165
9categories              audio
10platforms               darwin
11maintainers             ryandesign gmail.com:aggraef
12license                 GPL-3
13
14description             a graphical frontend to the Faust compiler
15
16long_description        FaustLive is ${description}. \
17                        It provides an advanced self-contained prototyping \
18                        environment for the Faust programming language with \
19                        an ultra-short edit-compile-run cycle. \
20                        Thanks to its fully embedded compilation chain, \
21                        FaustLive is simple to install and doesn't require \
22                        any external compiler, development toolchain or SDK \
23                        to run. Faust programs can be compiled and run on the \
24                        fly by simple drag and drop. They can even be edited \
25                        and recompiled while running without interrupting \
26                        sound or disconnecting the Jack audio server.
27
28homepage                http://faust.grame.fr/
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
47use_configure           no
48
49build.args              STATIC=1
50
51destroot.args           APPDIR=${applications_dir}
52
53post-destroot {
54    set docdir ${destroot}${prefix}/share/doc/${subport}
55    xinstall -d ${docdir}/FilesToConfigure
56    xinstall -m 644 -W ${worksrcpath} \
57        GPL.txt \
58        Build/Darwin/README.txt \
59        Build/Darwin/Distributions/READ_ME_BEFORE_YOU_START.pdf \
60        Build/Darwin/Distributions/Whats_New.pdf \
61        Documentation/faust-quick-reference.pdf \
62        Documentation/UserManual.pdf \
63        ${docdir}
64    xinstall -m 644 -W ${worksrcpath}/Build/Darwin/Distributions \
65        DefaultDSP.dsp \
66        DefaultDSP.lib \
67        process.svg \
68        ${docdir}/FilesToConfigure
69}
70
71variant jack description {Enable Jack support} {
72    depends_lib-append  port:jack
73    build.args-append   JACK=1
74}
75
76variant qt4 conflicts qt5 description {Build with Qt4 support} {
77    depends_lib-append  port:qt4-mac
78}
79
80variant qt5 conflicts qt4 description {Build with Qt5 support} {
81    depends_lib-append  port:qt5-mac
82    build.args-append   qm=${prefix}/libexec/qt5-mac/bin/qmake
83}
84
85if {![variant_isset qt4] && ![variant_isset qt5]} {
86    default_variants    +qt4
87}
88
89# fixme
90livecheck.type          none
Note: See TracBrowser for help on using the repository browser.