# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 101864 2013-01-20 20:25:23Z jeremyhu@macports.org $

PortSystem      1.0
PortGroup       muniversal 1.0

name            opus-tools
version         0.1.6
categories      audio
license         BSD
platforms       darwin
maintainers     jeremyhu openmaintainer
description     The Opus Audio Codec (IETF RFC 6716), refrence implementation tools

long_description \
    Opus is the first state-of-the-art, fully Free and Open audio codec \
    ratified by a major standards organization.  It is reportedly better than \
    all pre-existing codecs across the spectrum for voice, audio, archival, \
    and real-time uses.

homepage        http://www.opus-codec.org
master_sites    http://downloads.xiph.org/releases/opus

depends_lib     port:libopus port:libogg
depends_build   port:pkgconfig

checksums           sha1    305eb5eed76ddc0b5f12605a8b549638afc15885 \
                    rmd160  b545e1c8602f6ab0ab105d1f8c23c66f891bf2ce \
                    sha256  cc86dbc2a4d76da7e1ed9afee85448c8f798c465a5412233f178783220f3a2c1

use_parallel_build  yes

livecheck.type  regex
livecheck.url   ${master_sites}
livecheck.regex ${name}-(\[\\d.\]+)${extract.suffix}
