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

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

Various openmaintainer and nomaintainer ports: pkgconfig is only used at build time, so make it a build dependency instead of a library dependency

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