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

Last change on this file since 64836 was 64836, checked in by milosh@…, 9 years ago

Update cmus to v2.3.1

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 64836 2010-03-16 12:37:27Z milosh@macports.org $
2
3PortSystem 1.0
4
5name                    cmus
6version                 2.3.1
7distname                ${name}-v${version}
8categories              audio
9maintainers             milosh openmaintainer
10description             ncurses based music player
11long_description \
12        cmus is a small and fast text mode music player for Linux and many other\
13        UNIX like operating systems.
14homepage                http://cmus.sourceforge.net/
15platforms               darwin
16master_sites    sourceforge
17use_bzip2               yes
18checksums       md5     1b77942c61dd7ddb63d4daf2a42ae58d \
19                sha1    015eab5da89a422e5d640a01f1e9af29acf1f669 \
20                rmd160  01c043355ede0cacf67a061bb32c39d82d80a114
21depends_build   path:bin/pkg-config:pkgconfig
22depends_lib             port:libao port:libmad port:libogg port:libvorbis \
23                                port:libiconv port:ncurses
24build.args              V=2
25configure.pre_args
26configure.args  prefix=${prefix} CONFIG_FLAC=n CONFIG_MIKMOD=n \
27                                CONFIG_AAC=n CONFIG_MP4=n CONFIG_MAD=y CONFIG_VORBIS=y
28
29variant aac  description {Support aac files}   {
30        depends_lib-append    port:faad2 lib:libmp4v2:libmp4v2
31        configure.args-delete CONFIG_AAC=n CONFIG_MP4=n
32        configure.args-append CONFIG_AAC=y CONFIG_MP4=y
33}
34
35variant flac  description {Support flac files} {
36        depends_lib-append    port:flac
37        configure.args-delete CONFIG_FLAC=n
38        configure.args-append CONFIG_FLAC=y
39}
40
41variant mikmod  description {Support mod files} {
42        depends_lib-append    port:libmikmod
43        configure.args-delete CONFIG_MIKMOD=n
44        configure.args-append CONFIG_MIKMOD=y
45}
Note: See TracBrowser for help on using the repository browser.