# $Id: Portfile 148825 2016-05-19 16:38:55Z devans@macports.org $ PortSystem 1.0 name moc version 2.6-alpha1 revision 1 license GPL-2 categories multimedia maintainers martinvazquez.net:eu description MOC (music on console) is a console audio player for LINUX/UNIX long_description MOC (music on console) is a console audio player for LINUX/UNIX \ designed to be powerful and easy to use. \ Internet stream (Icecast, Shoutcast) are supported, \ key mapping can be fully customized. \ Supported file formats are: mp3, Ogg Vorbis, FLAC, Musepack, Speex, WAVE, \ AIFF, AU (and other less popular formats supported by libsndfile. New formats \ support is under development. homepage http://moc.daper.net platforms darwin master_sites http://ftp.daper.net/pub/soft/moc/unstable/ checksums rmd160 283f9945abbd3b3d4e15f23485228c00983edfe8 \ sha256 0b0a3515c65b4c47a250e350c663535778239352db859921f5d564ed727a0bbc use_xz yes depends_build port:pkgconfig depends_lib port:libiconv \ port:ncurses \ path:lib/libavcodec.dylib:ffmpeg \ port:libmad \ port:mpc \ port:libid3tag \ port:libsamplerate \ path:lib/libspeex.dylib:speex \ port:flac \ port:jack \ port:curl patchfiles patch-ffmpeg-3.0.diff use_autoreconf yes autoreconf.args -fvi configure.args --with-jack --without-vorbis --disable-cache #default_variants +autojack #variant autojack description {Autostart jack on mocp init and close it on server stop} { # patchfiles-append patch-autojack.diff #} variant vorbis description {Add support for ogg files} { depends_lib-append port:libvorbis configure.args-delete --without-vorbis } livecheck.regex ">${name}-\(\.*\)\.tar"