Xz-devel version 4.999.9beta - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    xz-devel  most recent diff


    version 4.999.9beta

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


      The xz-devel Portfile 57563 2009-09-13 08:20:24Z afb macports.org $

      PortSystem 1.0

      Name: xz-devel
      Version: 4.999.9beta
      Category: archivers
      Platform: darwin
      Maintainers: afb openmaintainer
      Description: XZ Utils

      Long Description: XZ utils consist of a few relatively separate submodules: * LZMA/XZ encoder/decoder command line tool similar to gzip/bzip2 * Scripts to ease grepping, diffing and viewing (lz*grep, lzdiff/lzcmp, lzmore/lzless)

      Homepage: http://tukaani.org/xz/
      Master Sites: ${homepage}
      distname xz-${version}
      Checksums: md5 f2073579b6da2fe35d453adee1aaf1b2 sha1 9627de3997ddcdb02f8d327e84b2cf1941ecd230 rmd160 1253ce01746c748c8549effa5041224044919c4e

      depends_lib port:libiconv port:gettext

      Patch Files: patch-sysctl-darwin.diff

      configure.args --with-libiconv-prefix=${prefix} --with-libintl-prefix=${prefix}

      # the internal "check.h" header conflicts with port check's
      configure.cppflags -I${worksrcpath}/src/liblzma/check -I${prefix}/include

      # the library is being provided by the liblzma port instead
      post-destroot {
      file delete -force ${destroot}${prefix}/include/lzma.h
      file delete -force ${destroot}${prefix}/include/lzma
      foreach lib [glob ${destroot}${prefix}/lib/liblzma*] { file delete $lib }
      file delete ${destroot}${prefix}/lib/pkgconfig/liblzma.pc
      }

      platform darwin 10 {
      configure.args-append --disable-assembler
      }

      livecheck.url ${homepage}
      livecheck.regex XZ Utils (\[0-9.a-z\]*) was released
      livecheck.type regexm

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.