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

    version 3.00

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


      # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
      The zip Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: zip
      Version: 3.00
      Category: archivers
      Platform: darwin freebsd
      Description: compression utility
      Maintainers: nomaintainer

      Long Description: Zip is different from gzip in that it allows packing multiple files into a single archive (without the assistance of tar). It is compatible with pkzip, pkunzip, and other Windows zip utilities. This utility is necessary to install several packages in a pure Darwin installation, as Darwin does not come with zip/unzip.

      Homepage: http://www.info-zip.org/
      Master Sites: ftp://ftp.info-zip.org/pub/infozip/src/ http://www.mirrorservice.org/sites/ftp.info-zip.org/pub/infozip/src/

      distname ${name}30

      Checksums: md5 7b74551e63f8ee6aab6fbc86676c0d37 sha1 c9f4099ecf2772b53c2dd4a8e508064ce015d182 rmd160 1fc99daf3e36494ba392c7514a714fe3d258d232

      extract.suffix .tgz

      set args "-f unix/Makefile"

      configure.cmd ${build.cmd}
      configure.dir ${worksrcpath}
      configure.pre_args CC=\"\${CC}\" flags ${args}

      build.target generic
      build.args ${args}

      destroot.args ${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 CHANGES LICENSE README TODO WHATSNEW ${destroot}${docdir}
      }

      Variant: universal {
      configure.args "LOCAL_ZIP=\"${configure.universal_cflags}\""

      post-patch {
      reinplace -E "s|(LFLAGS1=\")|\\1${configure.universal_ldflags}|" ${worksrcpath}/unix/configure
      }
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.