# $Id$ PortSystem 1.0 name libsamplerate version 0.1.7 revision 2 categories audio license GPL-2+ maintainers nomaintainer description libsamplerate (also known as Secret Rabbit Code) is a library \ for performing sample rate conversion of audio data. long_description ${description} homepage http://www.mega-nerd.com/libsamplerate/ platforms darwin use_parallel_build yes master_sites ${homepage} checksums md5 6731a81cb0c622c483b28c0d7f90867d \ sha1 f3f803ec5feae5a3fdb0fa3937277669e854386e \ rmd160 a00f12571098fd6c50a8b9f8867cdcc3f36c1f60 # 0.1.7 was stealth updated; remove this for next version dist_subdir ${name}/${version}_1 depends_build path:bin/pkg-config:pkgconfig depends_lib port:fftw-3 port:libsndfile patchfiles patch-src-samplerate.h.diff post-destroot { set docdir ${destroot}${prefix}/share/doc/${name} xinstall -d ${docdir} xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README ${docdir} } livecheck.type regex livecheck.url ${homepage}download.html livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"