zlib version 1.2.3 for Mac OS X 10.5 Leopard
Saturday the 17th of May, 2008

    zlib  most recent diff


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



      # $Id: Portfile 31398 2007-11-22 10:43:34Z nox macports.org $

      PortSystem 1.0

      Name: zlib
      Version: 1.2.3
      revision 1
      Category: archivers
      Maintainers: landonf macports.org ryandesign openmaintainer
      Description: zlib lossless data-compression library
      Long Description: zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any computer hardware and operating system.
      Homepage: http://www.zlib.net/
      Platform: darwin freebsd

      master_sites ${homepage} http://www.gzip.org/zlib/ sourceforge:libpng

      use_bzip2 yes
      checksums md5 dee233bf288ee795ac96a98cc2e369b6 sha1 967e280f284d02284b0cd8872a8e2e04bfdc7283 rmd160 cfba9984b354dcc38da49331457e6bfc861c6f51

      patchfiles patch-Makefile-static.diff

      post-configure {
      if {[variant_isset universal]} {
      reinplace -E "/^LDSHARED=/s|\$| ${configure.universal_cflags}|" ${worksrcpath}/Makefile
      }
      }

      configure.args --shared
      configure.universal_args

      test.run yes

      set docdir ${prefix}/share/doc/${name}-${version}

      destroot.destdir prefix=${destroot}${prefix}

      post-destroot {
      xinstall -d ${destroot}${docdir}
      xinstall -m 0644 -W ${worksrcpath} ChangeLog FAQ README ${destroot}${docdir}
      }

      Variant: examples description {Install code examples} {
      post-destroot {
      set examplesdir ${docdir}/examples

      xinstall -d ${destroot}${examplesdir}
      eval xinstall -m 0644 [glob ${worksrcpath}/example{.c,s/*}] ${destroot}${examplesdir}
      }
      }

      livecheck.check regex
      livecheck.url ${homepage}
      livecheck.regex ${name}-(\[0-9.\]+)\\.tar

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

     Where to find more information:

    Darwin Ports



    image test