source: trunk/dports/audio/cmus/Portfile @ 108698

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

cmus: put quotes around values added to configure.args to fix configure failure with MacPorts 2.2 (#39904)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# $Id: Portfile 108698 2013-07-31 04:20:08Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    cmus
6version                 2.5.0
7distname                ${name}-v${version}
8categories              audio
9maintainers             nomaintainer
10license                 GPL-2+
11description             ncurses based music player
12long_description \
13        cmus is a small and fast text mode music player for Linux and many other\
14        UNIX like operating systems.
15homepage                http://cmus.sourceforge.net/
16platforms               darwin
17master_sites    sourceforge:project/cmus
18use_bzip2               yes
19
20checksums               rmd160  ee7b285cbafd6449d853d669e25cb4997254cece \
21                        sha256  2021fab64088898d62d1439525ec345e219f58d91a9e933dc85e84eda21c8ddf
22
23depends_build   path:bin/pkg-config:pkgconfig
24depends_lib             port:libao port:libmad port:libogg port:libvorbis \
25                                port:libiconv port:ncurses
26universal_variant       no
27build.args              V=2
28
29# ccache: invalid option -- L
30configure.ccache        no
31
32configure.pre_args
33configure.args          prefix=${prefix} CONFIG_FLAC=n CONFIG_MIKMOD=n \
34                        CONFIG_MODPLUG=n CONFIG_MPC=n CONFIG_FFMPEG=n \
35                        CONFIG_AAC=n CONFIG_MP4=n CONFIG_MAD=y CONFIG_VORBIS=y \
36                        HOSTCC="${configure.cc}" \
37                        HOST_CFLAGS="${configure.cflags}" \
38                        HOST_LDFLAGS="${configure.ldflags}"
39
40variant aac  description {Support aac files}   {
41        depends_lib-append    port:faad2 path:lib/libmp4v2.dylib:mp4v2
42        configure.args-delete CONFIG_AAC=n CONFIG_MP4=n
43        configure.args-append CONFIG_AAC=y CONFIG_MP4=y
44}
45
46variant flac  description {Support flac files} {
47        depends_lib-append    port:flac
48        configure.args-delete CONFIG_FLAC=n
49        configure.args-append CONFIG_FLAC=y
50}
51
52variant mikmod  description {Support mod files} {
53        depends_lib-append    port:libmikmod
54        configure.args-delete CONFIG_MIKMOD=n
55        configure.args-append CONFIG_MIKMOD=y
56}
57
58variant mpc  description {Support musepack files} {
59        depends_lib-append    port:libmpcdec
60        configure.args-delete CONFIG_MPC=n
61        configure.args-append CONFIG_MPC=y
62}
63
64livecheck.type  regex
65livecheck.url   http://cmus.sourceforge.net/
66livecheck.regex cmus-v(\[0-9.\]*)\.tar\.bz2
Note: See TracBrowser for help on using the repository browser.