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

    version 6.0

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


      The unzip Portfile 57780 2009-09-16 15:45:35Z jmr macports.org $

      PortSystem 1.0

      Name: unzip
      Version: 6.0
      Maintainers: nomaintainer
      Category: archivers sysutils
      Platform: darwin freebsd
      Description: Decompression compatible with pkunzip

      Long Description: UnZip is an extraction utility for archives compressed in .zip format (also called \"zipfiles\"). Although highly compatible both with PKWARE's PKZIP and PKUNZIP utilities for MS-DOS and with Info-ZIP's own Zip program, our primary objectives have been portability and non-MSDOS functionality.

      Homepage: http://www.info-zip.org/pub/infozip/UnZip.html
      Master Sites: sourceforge:infozip
      distname ${name}[strsed $version g/\\.//]

      Checksums: md5 62b490407489521db863b523a7f86375 sha1 abf7de8a4018a983590ed6f5cbd990d4740f8a22 rmd160 48af66606e9472e45fbb94bc4e285da23d1b89ba

      use_configure no

      build.target macosx
      build.args -f unix/Makefile CC="${configure.cc}"
      set localflags ${configure.cc_archflags}
      pre-build {
      # have to add this here so variants can modify it
      build.args-append LOCAL_UNZIP="${localflags}"
      }

      eval destroot.args ${build.args} BINDIR=${destroot}${prefix}/bin MANDIR=${destroot}${prefix}/share/man/man1

      post-destroot {
      set docdir ${prefix}/share/doc/${name}-${version}
      xinstall -d ${destroot}${docdir}
      xinstall -m 0644 -W ${worksrcpath} BUGS LICENSE README ToDo ${destroot}${docdir}
      }

      Variant: universal {
      set localflags ${configure.universal_cflags}
      post-patch {
      reinplace -E "/-O3/s|(LF2=\")|\\1${configure.universal_ldflags}|" ${worksrcpath}/unix/Makefile
      }
      }

      platform darwin 8 {
      append localflags " -DNO_LCHMOD"
      }

      livecheck.type regex
      livecheck.url ${homepage}
      livecheck.regex "UnZip (\\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/unzip
      % sudo port install unzip
      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 unzip
      ---> Verifying checksum for unzip
      ---> Extracting unzip
      ---> Configuring unzip
      ---> Building unzip with target all
      ---> Staging unzip into destroot
      ---> Installing unzip
    - 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 unzip with these commands:
      %  man unzip
      % apropos unzip
      % which unzip
      % locate unzip

     Where to find more information:

    Darwin Ports



    Lightbox this page.