Lha version 1.14i-ac20050924p1 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    version 1.14i-ac20050924p1

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


      The lha Portfile 53548 2009-07-08 01:53:57Z ryandesign macports.org $

      PortSystem 1.0

      Name: lha
      epoch 20070826
      Version: 1.14i-ac20050924p1
      Revision: 3
      Category: archivers sysutils
      Maintainers: nomaintainer
      Description: Utility for creating and opening lzh archives
      Long Description: ${description}
      Platform: darwin
      Homepage: http://lha.sourceforge.jp/
      Master Sites: sourceforge_jp:${name}/22231
      Master Sites:-append macports::lha_man
      distfiles-append lha.1.r889:lha_man
      Patch Files: patch-src_header.c.diff
      Checksums: ${distname}${extract.suffix} md5 9f52430410928ba4390a73a41a36d56f sha1 2491c8b584c21759f1d3819f57fa0e1cbc235092 rmd160 7603dc93d8afdeed6cfbaa193f68ae4283bea39b lha.1.r889 md5 ee2d1efb86c145ba16c3dcbb1e6a3150 sha1 9aba56d37abf9ff05df41b84164b02eb83cd5aae rmd160 6d6e98dab3533e6c66981c41961adeec4305ad48

      extract.only ${distname}${extract.suffix}

      configure.args --mandir=${prefix}/share/man

      use_parallel_build yes

      test.run yes
      test.target check

      destroot.target install-strip

      post-destroot {
      set docdir ${prefix}/share/doc/${name}-${version}
      xinstall -m 755 -d ${destroot}${docdir}/olddoc
      xinstall -m 0644 -W ${worksrcpath} ChangeLog Hacking_of_LHa header.doc.euc ${destroot}${docdir}
      eval xinstall -m 0644 [glob ${worksrcpath}/olddoc/*.{txt,euc,eng}] ${destroot}${docdir}/olddoc

      xinstall -m 755 -d ${destroot}${prefix}/share/man/man1
      copy ${distpath}/lha.1.r889 ${destroot}${prefix}/share/man/man1/lha.1
      delete ${destroot}${prefix}/share/man/mann
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.