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

name             celt
version          0.11.3
categories       audio
maintainers      nomaintainer
description      CELT - ultra-low delay audio codec
long_description \
    The CELT codec is a compression algorithm for audio.       \
    Like MP3, Vorbis, and AAC it is suitable for transmitting  \
    music with high quality. Unlike these formats CELT imposes \
    very little delay on the signal, even less than is typical \
    for speech centric formats like Speex, GSM, or G.729.
homepage         https://ftp.osuosl.org/pub/xiph/websites/celt-codec.org/index.shtml.en
platforms        darwin
license			 BSD

master_sites     https://ftp.osuosl.org/pub/xiph/releases/celt/
checksums        rmd160  ae5fadd3e0ef6e0fad66fdb3dc81ce390ca76ca2 \
                 sha256  7e64815d4a8a009d0280ecd235ebd917da3abdcfd8f7d0812218c085f9480836

depends_lib      port:libogg

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

destroot.destdir prefix=${destroot}${prefix}

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