Download and Install portaudio version 19.20071207 on Mac OS X
Monday the 8th of September, 2008

    portaudio  most recent diff


      View the most recent changes for the portaudio port at: portaudio.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for portaudio.
      The raw portfile for portaudio 19.20071207 is located here:
      http://portaudio.darwinports.com/dports/audio/portaudio/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/portaudio
      Google
      Web Darwinports.com



      # $Id: Portfile 34336 2008-02-21 19:36:58Z gui_dos macports.org $
      # -*- 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
      PortSystem 1.0
      Name: portaudio
      Version: 19.20071207
      Category: audio devel
      Platform: macosx
      Maintainers: themiwi users.sourceforge.net
      Homepage: http://www.portaudio.com/

      Description: PortAudio is a free, cross platform, open-source, audio I/O library.
      Long Description: PortAudio is a free, cross platform, open-source, audio I/O library. It lets you write simple audio programs in 'C' that will compile and run on many platforms including Windows, Macintosh (8,9,X), Unix (OSS), SGI, and BeOS. PortAudio is intended to promote the exchange of audio synthesis software between developers on different platforms. PortAudio provides a very simple API for recording and/or playing sound using a simple callback function. Example programs are included that synthesize sine waves and pink noise, perform fuzz distortion on a guitar, list available audio devices, etc.

      master_sites ${homepage}archives
      distname pa_stable_v19_20071207
      checksums md5 d2943e4469834b25afe62cc51adc025f sha1 3841453bb7be672a15b6b632ade6f225eb0a4efc rmd160 5185bd85bd4bc75dddb3fa56f172a346bdeea0c7

      worksrcdir ${name}

      # Universal building is on by default
      universal_variant no

      post-build {
      copy ${worksrcpath}/portaudio-2.0.pc.in ${worksrcpath}/portaudio.pc
      reinplace -E "s|\ prefix\ |${prefix}|g" ${worksrcpath}/portaudio.pc
      reinplace -E "s|\ exec_prefix\ |${prefix}/bin|g" ${worksrcpath}/portaudio.pc
      reinplace -E "s|\ libdir\ |${prefix}/lib|g" ${worksrcpath}/portaudio.pc
      reinplace -E "s|\ includedir\ |${prefix}/include|g" ${worksrcpath}/portaudio.pc
      reinplace -E "s|\ LIBS\ |-framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework -framework CoreServices|g" ${worksrcpath}/portaudio.pc
      reinplace -E "s|\ THREAD_CFLAGS\ ||g" ${worksrcpath}/portaudio.pc
      }

      post-destroot {
      xinstall -c -d ${destroot}/${prefix}/lib/pkgconfig
      xinstall -c -m 644 ${worksrcpath}/portaudio.pc ${destroot}/${prefix}/lib/pkgconfig
      xinstall -c -d ${destroot}/${prefix}/share/doc/${name}
      xinstall -c -m 644 ${worksrcpath}/README.txt ${worksrcpath}/COMPILING.DARWIN ${worksrcpath}/LICENSE.txt ${worksrcpath}/V19-devel-readme.txt ${destroot}/${prefix}/share/doc/${name}
      }


    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/portaudio
      % sudo port install portaudio
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching portaudio
      ---> Verifying checksum for portaudio
      ---> Extracting portaudio
      ---> Configuring portaudio
      ---> Building portaudio with target all
      ---> Staging portaudio into destroot
      ---> Installing portaudio
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using portaudio with these commands:
      %  man portaudio
      % apropos portaudio
      % which portaudio
      % locate portaudio

     Where to find more information:

    Darwin Ports



    image test