# -*- 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 119926 2014-05-10 17:47:54Z devans@macports.org $

PortSystem          1.0

name                wavpack
version             4.70.0
revision            1
categories          audio
license             BSD
maintainers         rmstonecipher openmaintainer
description         Hybrid lossless audio compression
long_description    WavPack is a completely open audio compression format \
                    providing lossless, high-quality lossy, and a unique \
                    hybrid compression mode. Although the technology is \
                    loosely based on previous versions of WavPack, the new \
                    version 4 format has been designed from the ground up \
                    to offer unparalleled performance and functionality.
homepage            http://www.wavpack.com/
platforms           darwin
master_sites        ${homepage}
checksums           rmd160  53ef85ba97c4113f105f22f11b9b54ee1e7c65f1 \
                    sha256  2cade379b0aba99fbc4e442ccc6dac6c609f6212e46516a083e24c8c364430a4
use_bzip2           yes

patchfiles          patch-wavpack.pc.in.diff

livecheck.type      regex
livecheck.url       ${homepage}/downloads.html
livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
