# $Id$ PortSystem 1.0 name mpd-devel version 0.13.2 revision 1 replaced_by mpd categories audio maintainers nomaintainer description Music Player Daemon long_description \ Music Player Daemon (MPD) allows remote access for playing music \ (MP3, Ogg Vorbis, FLAC, AAC, Mod, and wave files) and managing \ playlists. MPD is designed for integrating a computer into a stereo \ system that provides control for music playback over a local network. \ It also makes a great desktop music player, especially if you are a \ console junkie, like frontend options, or restart X often. homepage http://www.musicpd.org/ distname mpd-${version} platforms darwin master_sites ${homepage}/uploads/files/ distfiles checksums md5 33d0c7b08e2c9e2a6ad55703cb0d18d0 \ sha1 744800e3b667a0d11418029b8ed69f7414e06e9c \ rmd160 d21e3f6858ac8fb769d4278f988c17fe1580bc53 depends_build path:bin/pkg-config:pkgconfig depends_lib lib:libmad.0:libmad \ lib:libid3tag.0:libid3tag \ port:libiconv port:zlib \ port:libogg port:libvorbis \ port:libao pre-fetch { ui_error "Please do not install this port since it has been replaced by $replaced_by." return -code error } configure.args --mandir=${prefix}/share/man --enable-id3 --enable-ao \ --disable-flac --disable-aac configure.cflags-append -I${prefix}/include default_variants +aac variant aac description {Support for aac files} { depends_lib-append port:faad2 configure.args-delete --disable-aac configure.args-append --enable-aac } variant flac description {Support for flac files} { depends_lib-append port:flac configure.args-delete --disable-flac configure.args-append --enable-flac } platform macosx { configure.args-delete --enable-ao configure.args-append --disable-ao depends_lib-delete port:libao } post-activate { ui_msg "You may get \"Problems shmget'ing\" message when launching mpd. In this case, you can increase the values of kern.sysv.shmmax and kern.sysv.shmall in /etc/rc."} livecheck.type none