source: trunk/dports/audio/libsamplerate/Portfile

Last change on this file was 91176, checked in by jmr@…, 5 years ago

libsamplerate: don't build examples that aren't installed anyway (fixes #33408), disable silent make rules

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 91176 2012-03-25 04:37:49Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            libsamplerate
6version         0.1.8
7categories      audio
8license         GPL-2+
9maintainers     nomaintainer
10description     libsamplerate (also known as Secret Rabbit Code) is a library \
11                for performing sample rate conversion of audio data.
12long_description    ${description}
13homepage        http://www.mega-nerd.com/libsamplerate/
14platforms       darwin
15use_parallel_build  yes
16master_sites    ${homepage}
17checksums           md5     1c7fb25191b4e6e3628d198a66a84f47 \
18                    sha1    e5fe82c4786be2fa33ca6bd4897db4868347fe70 \
19                    rmd160  74fe910bbc47cafad391932763afac2a29282ac5
20
21depends_build   port:pkgconfig
22depends_lib     port:fftw-3 port:libsndfile
23
24patchfiles      patch-src-samplerate.h.diff patch_examples_Makefile.in.diff
25
26configure.args  --disable-silent-rules
27
28post-destroot {
29    set docdir ${destroot}${prefix}/share/doc/${name}
30    xinstall -d ${docdir}
31    xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README ${docdir}
32}
33
34livecheck.type  regex
35livecheck.url   ${homepage}download.html
36livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.