Download and Install libogg version 1.1.3 on Mac OS X
Wednesday the 3rd of December, 2008

    version 1.1.3

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



      # $Id: Portfile 39226 2008-08-12 21:28:43Z ryandesign macports.org $

      PortSystem 1.0

      Name: libogg
      Version: 1.1.3
      revision 2
      Category: multimedia
      Platform: darwin
      use_parallel_build yes
      Maintainers: nox openmaintainer
      Description: Ogg Bitstream Library

      Long Description: Libogg is a library for manipulating ogg bitstreams. It handles both making ogg bitstreams and getting packets from ogg bitstreams.

      Homepage: http://www.vorbis.com/
      master_sites http://downloads.xiph.org/releases/ogg/

      checksums md5 eaf7dc6ebbff30975de7527a80831585 sha1 a3e495a8baf6939efad7e0bd11cc0e466838c3db rmd160 2dc0ab120416441a007cf1017f461372eab03c0d

      post-patch {
      reinplace "s/__MACOSX__/__APPLE__/" ${worksrcpath}/include/ogg/os_types.h
      }

      post-configure {
      if {[variant_isset universal]} {
      reinplace "s|CC -dynamiclib|CC -dynamiclib ${configure.universal_ldflags}|g" ${worksrcpath}/libtool
      }

      if {! [variant_isset doc]} {
      reinplace -E "/^install:/s/install-recursive//" ${worksrcpath}/doc/Makefile
      }
      }

      pre-destroot {
      # Fix parallel build for MacPorts < 1.7.0
      xinstall -d ${destroot}${prefix}/include/ogg
      }

      post-destroot {
      set docdir ${prefix}/share/doc/${name}-${version}
      if {! [variant_isset doc]} {
      xinstall -d ${destroot}${docdir}
      }
      xinstall -m 0644 -W ${worksrcpath} AUTHORS CHANGES COPYING README ${destroot}${docdir}
      }

      Variant: doc description {Install extra documentation} {}


    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/libogg
      % sudo port install libogg
      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 libogg
      ---> Verifying checksum for libogg
      ---> Extracting libogg
      ---> Configuring libogg
      ---> Building libogg with target all
      ---> Staging libogg into destroot
      ---> Installing libogg
    - 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 libogg with these commands:
      %  man libogg
      % apropos libogg
      % which libogg
      % locate libogg

     Where to find more information:

    Darwin Ports



    Lightbox this page.