Ticket #11650: mpd.port

File mpd.port, 1.7 KB (added by ehainry@…, 18 years ago)

New Portfile

Line 
1
2PortSystem 1.0
3name             mpd
4version          0.12.2
5categories       audio
6maintainers      ehainry@free.fr
7description      Music Player Daemon
8long_description \
9        Music Player Daemon (MPD) allows remote access for playing music \
10        (MP3, Ogg Vorbis, FLAC, AAC, Mod, and wave files) and managing \
11        playlists. MPD is designed for integrating a computer into a stereo \
12        system that provides control for music playback over a local network. \
13        It also makes a great desktop music player, especially if you are a \
14        console junkie, like frontend options, or restart X often.
15homepage         http://www.musicpd.org/
16platforms        darwin
17master_sites     ${homepage}/uploads/files/
18checksums        md5 6c724ed2efb70f8d2e3adfc370efe2ea
19                 sha1 7aa35a7c0c0e1251b191abd80ed7f884cb5218f8
20depends_lib      lib:libmad.0:libmad \
21                 lib:libid3tag.0:libid3tag \
22                 port:libiconv port:pkgconfig port:zlib \
23                 port:libogg port:libvorbis \
24                 port:libao
25configure.args   --mandir=${prefix}/share/man --enable-id3 --enable-ao \
26                 --disable-flac --disable-aac
27configure.env    CFLAGS="-I${prefix}/include" \
28                 LDFLAGS="-L${prefix}/lib"
29default_variants +aac
30variant  aac {
31        depends_lib-append    port:faad2
32        configure.args-delete --disable-aac
33        configure.args-append --enable-aac
34}
35variant flac {
36# variant flac is broken: it does not compile with flac > 1.1.2
37        depends_lib-append    port:flac
38        configure.args-delete --disable-flac
39        configure.args-append --enable-flac
40}
41platform macosx {
42        configure.args-delete --enable-ao
43        configure.args-append --disable-ao
44        depends_lib-delete    port:libao
45}
46
47