PortSystem          1.0

name                taglib-sharp
version             2.0.3.7
categories          audio
platforms           darwin
maintainers         nomaintainer
license             LGPL-2.1
supported_archs     noarch

description         C# implementation of TagLib.
long_description    ${description} TagLib is a library for reading and \
                    editing the meta-data of several popular audio formats.

homepage            http://banshee.fm/
master_sites        http://download.banshee.fm/taglib-sharp/${version}

checksums           sha1    97beb1473d2fc730fc0289fe54d94ff64070fa82 \
                    rmd160  25cd15206d2090602131341ae0103af3052a2f94

depends_lib         port:mono

configure.args      --disable-docs

post-destroot {
    set docdir ${destroot}${prefix}/share/doc/${name}
    xinstall -d ${docdir}
    xinstall -m 644 -W ${worksrcpath} \
        AUTHORS \
        COPYING \
        ChangeLog \
        NEWS \
        README \
        ${docdir}
}

livecheck.type      regex
livecheck.url       http://download.banshee.fm/taglib-sharp/
livecheck.regex     {"(\d+(?:\.\d+)*)/"}
