# -*- 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

PortSystem          1.0
PortGroup           muniversal 1.0

name                libdiscid
version             0.6.4
categories          devel
maintainers         nomaintainer
license             LGPL-2.1+

description         libdiscid is a C library for creating MusicBrainz DiscIDs \
                    from audio CDs.

long_description    {*}${description}

homepage            https://musicbrainz.org/doc/libdiscid
master_sites        http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/

checksums           rmd160  12aa2e3a0029e1492b963640c54e47189ab94b8c \
                    sha256  dd5e8f1c9aead442e23b749a9cc9336372e62e88ad7079a2b62895b0390cb282 \
                    size    393070

test.run            yes
test.target         check

livecheck.type      regex
livecheck.url       [lindex ${master_sites} 0]
livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
