Pbzip2 version 1.0.5 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    version 1.0.5

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


      The pbzip2 Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: pbzip2
      Version: 1.0.5
      Category: archivers
      Platform: darwin
      Maintainers: ram openmaintainer

      Description: parallel bzip2
      Long Description: PBZIP2 is a parallel implementation of the bzip2 block-sorting file compressor that uses pthreads and achieves near-linear speedup on SMP machines.

      Homepage: http://compression.ca/pbzip2/
      Master Sites: ${homepage}

      depends_lib port:bzip2

      Checksums: md5 e2448d22ee29d1e6549ac58b98df11ab sha1 a4ebe13d9168af17789ef0b49072c64e381d6c71 rmd160 31b390b3023d8d5b64496b5bb43a11fc253a5b62

      set CFLAGS "${configure.ldflags} ${configure.cppflags}"

      configure {
      reinplace "s|-pthread -lpthread|${CFLAGS}|" ${worksrcpath}/Makefile
      reinplace "s|man|share/man|" ${worksrcpath}/Makefile
      }

      destroot.destdir PREFIX=${destroot}${prefix}

      post-destroot {
      set docdir ${prefix}/share/doc/${name}-${version}
      xinstall -d ${destroot}${docdir}
      xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README ${destroot}${docdir}
      }

      Variant: universal {
      set CFLAGS "${CFLAGS} ${configure.universal_cflags}"
      }

      livecheck.type regex
      livecheck.url ${homepage}
      livecheck.regex {pbzip2-(\d+(?:\.\d+)*).tar.gz}

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.