Ticket #54125: portaudio.diff
File portaudio.diff, 2.4 KB (added by RJVB (René Bertin), 8 years ago) |
---|
-
audio/portaudio/Portfile
old new 3 3 PortSystem 1.0 4 4 5 5 name portaudio 6 version 19.20140130 7 revision 1 6 version 190600_20161030 8 7 categories audio devel 9 8 platforms darwin macosx 10 9 maintainers nomaintainer … … 26 25 distname pa_stable_v[strsed ${version} {g/\./_/}] 27 26 extract.suffix .tgz 28 27 29 checksums rmd160 0a290cea8a102a45b2df9b72046b3eed0ab35b4f\30 sha256 8fe024a5f0681e112c6979808f684c3516061cc51d3acc0b726af98fc96c8d5728 checksums rmd160 e6e5cd3f3cb7469aa17549c189e445d573567e13 \ 29 sha256 f5a21d7dcd6ee84397446fa1fa1a0675bb2e8a4a6dceb4305a8404698d8d1513 31 30 32 31 worksrcdir ${name} 33 32 … … 35 34 # To build a non-universal library for the host architecture, 36 35 # simply use the --disable-mac-universal option with configure. 37 36 # http://www.portaudio.com/trac/wiki/TutorialDir/Compile/MacintoshCoreAudio 38 configure.args --disable-mac-universal --enable-cxx 37 configure.args --disable-mac-universal --enable-cxx --disable-jack 38 39 variant jack description {enable JACK support} { 40 configure.args-replace --disable-jack \ 41 --enable-jack 42 depends_lib-append \ 43 port:jack 44 } 45 46 variant tools description "install the example and test utilities to ${prefix}/libexec/portaudio" { 47 post-build { 48 # be certain the targets were build 49 system -W ${build.dir} "make tests" 50 system -W ${build.dir} "make examples" 51 } 52 post-destroot { 53 set utildir ${destroot}${prefix}/libexec/portaudio 54 xinstall -m 755 -d ${utildir} 55 # clean up any .dSYM directories that might have been created 56 foreach b [glob -nocomplain ${build.dir}/bin/.libs/pa*.dSYM] { 57 file delete -force ${b} 58 } 59 foreach b [glob ${build.dir}/bin/.libs/pa*] { 60 xinstall -m 755 ${b} ${utildir} 61 } 62 } 63 } 39 64 40 65 # patch-configure removes -Werror, and adds -DNDEBUG. 41 66 patchfiles patch-configure \ … … 49 74 } 50 75 } 51 76 52 use_parallel_build no53 54 77 post-destroot { 55 78 xinstall -d ${destroot}${prefix}/share/doc/${name} 56 79 xinstall -m 644 -W ${worksrcpath} \