# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 115855 2014-01-13 04:34:03Z rmstonecipher@macports.org $

PortSystem 1.0

name            mpc
version         0.25
set branch      [join [lrange [split ${version} .] 0 0] .]
categories      audio
maintainers     rmstonecipher openmaintainer
license         GPL-2+
description     a command line tool for MPD
long_description \
    mpc is a simple command line client for MPD.\
    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/clients/${name}/ 
master_sites    http://www.musicpd.org/download/${name}/${branch}/
platforms       darwin
depends_build   port:pkgconfig port:libiconv
depends_lib     port:libmpdclient

use_xz          yes

checksums           rmd160  03076ac97ed9a6cc5cafa68cedc797cc687ad20b \
                    sha256  70cfa4f734a275a3c76df481ec5222872362ed8f58a4175459cae65d66acaf24

configure.args  --mandir=${prefix}/share/man

livecheck.url   http://www.musicpd.org/download/${name}/${branch}/
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)"
