hffzip version 1.01 for Mac OS X 10.5 Leopard
Saturday the 17th of May, 2008

    hffzip  most recent diff


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



      # $Id: Portfile 28970 2007-09-12 21:05:22Z nox macports.org $

      PortSystem 1.0

      Name: hffzip
      Version: 1.01
      Category: archivers
      Platform: darwin
      Maintainers: nomaintainer
      Description: HFFzip is a file compressor based upon Huffman coding.

      Long Description: The Huffman algorithm uses a binary tree, and has complexity O(N*N) for compression and O(NlogN) for decompression. Although this file compressor is not so good as other compression programs (like gzip), HFFzip is right for embedded systems, because of its little size and the simple algorithm used.

      Homepage: http://www.di.unipi.it/~scordino/hffzip.html
      master_sites http://www.di.unipi.it/~scordino/
      distname ${name}${version}

      checksums md5 d81cdfb92e03cfdb109c2728f8ba8594 sha1 f22e7a39b5dbe9888d6f00994a5ee42cbca66d1d rmd160 cc73025f112b9c8f4a4d2a1eae9e5da524d63939

      worksrcdir ${name}

      post-patch {
      reinplace -E "/^opzioni/s|\$| ${CFLAGS}|" ${worksrcpath}/Makefile
      reinplace -E "/gcc.*${name}/s|\$| ${LDFLAGS}|" ${worksrcpath}/Makefile
      }

      use_configure no

      set CFLAGS ${configure.cflags}
      set LDFLAGS ${configure.ldflags}

      build.target ${name}

      destroot {
      xinstall ${worksrcpath}/hffzip ${destroot}${prefix}/bin

      set docdir ${prefix}/share/doc/${name}-${version}
      xinstall -d ${destroot}${docdir}
      xinstall -m 0644 -W ${worksrcpath} copying copyright ${destroot}${docdir}
      }

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

      livecheck.check regex
      livecheck.url ${homepage}
      livecheck.regex "HFFzip (\\d+(?:\\.\\d+)*)"


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

     Where to find more information:

    Darwin Ports



    image test