source: trunk/dports/audio/qjackctl/Portfile

Last change on this file was 86279, checked in by ryandesign@…, 6 years ago

rewrite master_sites to avoid redirects

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 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 86279 2011-10-24 10:18:58Z ryandesign@macports.org $
3
4PortSystem      1.0
5PortGroup       qt4 1.0
6
7name            qjackctl
8version         0.3.8
9license         GPL-2
10categories      audio
11maintainers     nomaintainer
12platforms       darwin
13homepage        http://qjackctl.sourceforge.net/
14master_sites    sourceforge:project/qjackctl/qjackctl%20%28stable%29/${version}
15
16description \
17    QjackCtl is a simple Qt application to control the JACK sound server daemon.
18
19long_description \
20    ${description}
21
22universal_variant  no
23
24checksums       rmd160  22038acba5cc7c2d070b9e2ec437afd1f1fbbf61 \
25                sha256  870869836535476b7a2d77fa70c39f7d8facc4767c8fa1aac3c81d6ce7ba71e5
26
27depends_lib-append port:jack
28
29patchfiles      patch-src_qjackctlSession.cpp.diff \
30                patch-configure-no-x11.diff
31
32configure.args-append --with-jack=${prefix} \
33                      --with-qt=${qt_dir} \
34                      --disable-alsa-seq
35configure.args-delete --disable-dependency-tracking
36
37post-destroot {
38    # move the created .app to MacPorts' applications directory ...
39    move ${destroot}${prefix}/bin/qjackctl.app ${destroot}${applications_dir}
40    # ... and link the actual executable back to the bindir
41    ln -s ${applications_dir}/qjackctl.app/Contents/MacOS/qjackctl ${destroot}${prefix}/bin/qjackctl
42}
43
44variant debug description "Enable debugging" {}
45
46if {[variant_isset debug]} {
47    configure.args-append --enable-debug
48} else {
49    configure.args-append --disable-debug
50}
51
52variant portaudio description "enable PortAudio interface" {}
53default_variants +portaudio
54
55if {[variant_isset portaudio]} {
56    configure.args-append --enable-portaudio
57    depends_lib-append    port:portaudio
58} else {
59    configure.args-append --disable-portaudio
60}
61
62variant stacktrace description "enable debugger stack-trace" {}
63
64if {[variant_isset stacktrace]} {
65    configure.args-append --enable-stacktrace
66} else {
67    configure.args-append --disable-stacktrace
68}
69
70variant dbus description "enable D-Bus interface" {}
71default_variants +dbus
72
73if {[variant_isset dbus]} {
74    configure.args-append --enable-dbus
75} else {
76    configure.args-append --disable-dbus
77}
78
79livecheck.url   http://sourceforge.net/projects/${name}/files/
80livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.