# -*- 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 106107 2013-05-15 04:54:20Z rmstonecipher@macports.org $

PortSystem          1.0

name                libmpdclient
version             2.8
set branch          [join [lrange [split ${version} .] 0 0] .]
categories          audio
maintainers         rmstonecipher openmaintainer
description         libmpdclient is a stable, documented, asynchronous API library for interfacing MPD in the C, C++ & Objective C languages.
long_description    ${description}
license             BSD
homepage            http://www.musicpd.org/libs/${name}/
master_sites        http://www.musicpd.org/download/${name}/${branch}/
platforms           darwin
use_bzip2           yes
checksums           rmd160  d16f343c53fb395c99b5482e4f3f9cd240556d5a \
                    sha256  108eea3d91e48cd7d847e7c0978202a8386d5a09d49d07390473e96cca9a92e3
use_autoreconf      yes

depends_lib         port:doxygen
configure.args      --mandir=${prefix}/share/man

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