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

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

cmus: update to version 2.5.0 (closes #39799)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# $Id: Portfile 108313 2013-07-19 08:26:40Z ciserlohn@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} HOST_CFLAGS=${configure.cflags} \
37                        HOST_LDFLAGS=${configure.ldflags}
38
39variant aac  description {Support aac files}   {
40        depends_lib-append    port:faad2 path:lib/libmp4v2.dylib:mp4v2
41        configure.args-delete CONFIG_AAC=n CONFIG_MP4=n
42        configure.args-append CONFIG_AAC=y CONFIG_MP4=y
43}
44
45variant flac  description {Support flac files} {
46        depends_lib-append    port:flac
47        configure.args-delete CONFIG_FLAC=n
48        configure.args-append CONFIG_FLAC=y
49}
50
51variant mikmod  description {Support mod files} {
52        depends_lib-append    port:libmikmod
53        configure.args-delete CONFIG_MIKMOD=n
54        configure.args-append CONFIG_MIKMOD=y
55}
56
57variant mpc  description {Support musepack files} {
58        depends_lib-append    port:libmpcdec
59        configure.args-delete CONFIG_MPC=n
60        configure.args-append CONFIG_MPC=y
61}
62
63livecheck.type  regex
64livecheck.url   http://cmus.sourceforge.net/
65livecheck.regex cmus-v(\[0-9.\]*)\.tar\.bz2
Note: See TracBrowser for help on using the repository browser.