# -*- 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 153248 2016-09-27 23:01:08Z devans@macports.org $ PortSystem 1.0 PortGroup muniversal 1.0 PortGroup compiler_blacklist_versions 1.0 name wavpack version 4.80.0 categories audio license BSD maintainers nomaintainer 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} use_bzip2 yes checksums rmd160 ca569bde94705f8405c98f79131a9af0eb6e96ba \ sha256 79182ea75f7bd1ca931ed230062b435fde4a4c2e0dbcad048007bd1ef1e66be9 depends_lib port:libiconv platform darwin { compiler.blacklist {macports-clang-3.[34]} {clang < 500} *gcc* # handrolled asm has issues on older platforms. Disable it if we don't find a good compiler. if {${os.major} < 12 && ![string match "*macports*" ${configure.compiler}]} { configure.args-append --disable-asm } } # if host is not set in 32-bit mode, wrong assembly code is used if {![variant_isset universal] && ${build_arch} eq "i386"} { configure.args-append \ --host=i686-apple-${os.platform}${os.version} } if { [variant_isset universal] } { lappend merger_configure_args(i386) \ --host=i686-apple-${os.platform}${os.version} } livecheck.type regex livecheck.url ${homepage}/downloads.html livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"