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

    version 0.999

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


      The ha Portfile 50984 2009-05-14 21:08:43Z and.damore macports.org $

      PortSystem 1.0

      Name: ha
      Version: 0.999
      Revision: 1
      Category: archivers sysutils
      Platform: darwin
      Description: The \"HA\" archiver, based on arithmetic/Markov coder.
      Maintainers: crazic.ru:jc

      Long Description: ${description}

      distfiles ha0999.tgz
      Master Sites: ftp://ftp.kiarchive.ru/pub/unix/arcers/

      Checksums: md5 77f3266a451712bec55d60df67f61486 sha1 8dd106748619772f988ee0bce59937a4de1677ed rmd160 41b52392267551f834b58e0a4b69b89e813c8bd6

      extract.dir ${worksrcpath}

      pre-extract {
      file mkdir ${worksrcpath}
      }

      post-patch {
      reinplace -E "s|(malloc.h)|malloc/\\1|" ${worksrcpath}/c/hsc.c ${worksrcpath}/c/asc.c ${worksrcpath}/c/cpy.c
      }

      configure {
      reinplace -E "/^CFLAGS/s|\$| [join ${configure.cflags} " "]|" ${worksrcpath}/makefile.nix
      reinplace -E "/^LDFLAGS/s|\$| [join ${configure.ldflags} " "]|" ${worksrcpath}/makefile.nix
      }

      build.target
      build.args -f makefile.nix

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

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


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

     Where to find more information:

    Darwin Ports



    Lightbox this page.