Ticket #18720: portaudio-18720.diff
File portaudio-18720.diff, 1.7 KB (added by ryandesign (Ryan Carsten Schmidt), 16 years ago) |
---|
-
Portfile
3 3 PortSystem 1.0 4 4 name portaudio 5 5 version 19.20071207 6 revision 1 6 7 categories audio devel 7 8 platforms macosx 8 9 maintainers themiwi@users.sourceforge.net … … 30 31 # Universal building is on by default 31 32 universal_variant no 32 33 33 post-build {34 copy ${worksrcpath}/portaudio-2.0.pc.in ${worksrcpath}/portaudio.pc35 reinplace -E "s|\@prefix\@|${prefix}|g" ${worksrcpath}/portaudio.pc36 reinplace -E "s|\@exec_prefix\@|${prefix}/bin|g" ${worksrcpath}/portaudio.pc37 reinplace -E "s|\@libdir\@|${prefix}/lib|g" ${worksrcpath}/portaudio.pc38 reinplace -E "s|\@includedir\@|${prefix}/include|g" ${worksrcpath}/portaudio.pc39 reinplace -E "s|\@LIBS\@|-framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework -framework CoreServices|g" ${worksrcpath}/portaudio.pc40 reinplace -E "s|\@THREAD_CFLAGS\@||g" ${worksrcpath}/portaudio.pc41 }42 43 34 post-destroot { 44 xinstall -c -d ${destroot}/${prefix}/lib/pkgconfig 45 xinstall -c -m 644 ${worksrcpath}/portaudio.pc ${destroot}/${prefix}/lib/pkgconfig 46 xinstall -c -d ${destroot}/${prefix}/share/doc/${name} 47 xinstall -c -m 644 ${worksrcpath}/README.txt \ 48 ${worksrcpath}/COMPILING.DARWIN \ 49 ${worksrcpath}/LICENSE.txt \ 50 ${worksrcpath}/V19-devel-readme.txt \ 51 ${destroot}/${prefix}/share/doc/${name} 35 xinstall -d ${destroot}${prefix}/share/doc/${name} 36 xinstall -m 644 -W ${worksrcpath} \ 37 README.txt \ 38 LICENSE.txt \ 39 V19-devel-readme.txt \ 40 ${destroot}${prefix}/share/doc/${name} 52 41 } 53 42