1 | --- Portfile.orig 2008-02-12 12:10:34.000000000 +0100 |
---|
2 | +++ Portfile 2008-02-17 14:49:49.000000000 +0100 |
---|
3 | @@ -2,7 +2,7 @@ |
---|
4 | # -*- Mode: Tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 |
---|
5 | PortSystem 1.0 |
---|
6 | name portaudio |
---|
7 | -version 19.061121 |
---|
8 | +version 19.20071207 |
---|
9 | categories audio devel |
---|
10 | platforms macosx |
---|
11 | maintainers themiwi@users.sourceforge.net |
---|
12 | @@ -20,19 +20,15 @@ |
---|
13 | list available audio devices, etc. |
---|
14 | |
---|
15 | master_sites ${homepage}archives |
---|
16 | -distname pa_stable_v19_061121 |
---|
17 | -checksums md5 f2ceca92b3bfc206abccfb439c169a3c \ |
---|
18 | - sha1 798fc900251e2df423ba9e60b832ca76f85c3ad0 \ |
---|
19 | - rmd160 f7b6a83ad6b120b9c3b7736b86231e88d709ee7f |
---|
20 | +distname pa_stable_v19_20071207 |
---|
21 | +checksums md5 d2943e4469834b25afe62cc51adc025f \ |
---|
22 | + sha1 3841453bb7be672a15b6b632ade6f225eb0a4efc \ |
---|
23 | + rmd160 5185bd85bd4bc75dddb3fa56f172a346bdeea0c7 |
---|
24 | |
---|
25 | -use_configure no |
---|
26 | worksrcdir ${name} |
---|
27 | |
---|
28 | -pre-build { |
---|
29 | - reinplace -E "s|/usr/local|${prefix}|g" ${worksrcpath}/Makefile.darwin |
---|
30 | -} |
---|
31 | - |
---|
32 | -build.cmd make -f Makefile.darwin -j3 |
---|
33 | +# Universal building is on by default |
---|
34 | +universal_variant no |
---|
35 | |
---|
36 | post-build { |
---|
37 | copy ${worksrcpath}/portaudio-2.0.pc.in ${worksrcpath}/portaudio.pc |
---|
38 | @@ -44,10 +40,7 @@ |
---|
39 | reinplace -E "s|\@THREAD_CFLAGS\@||g" ${worksrcpath}/portaudio.pc |
---|
40 | } |
---|
41 | |
---|
42 | -destroot { |
---|
43 | - xinstall -c -m 644 ${worksrcpath}/include/portaudio.h ${destroot}/${prefix}/include |
---|
44 | - xinstall -c -m 644 ${worksrcpath}/lib/libportaudio.a ${worksrcpath}/lib/libportaudio.0.0.19.dylib ${destroot}/${prefix}/lib |
---|
45 | - system "(cd ${destroot}/${prefix}/lib && ln -s libportaudio.0.0.19.dylib libportaudio.dylib)" |
---|
46 | +post-destroot { |
---|
47 | xinstall -c -d ${destroot}/${prefix}/lib/pkgconfig |
---|
48 | xinstall -c -m 644 ${worksrcpath}/portaudio.pc ${destroot}/${prefix}/lib/pkgconfig |
---|
49 | xinstall -c -d ${destroot}/${prefix}/share/doc/${name} |
---|