Jpeg version 6b - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    version 6b

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


      The jpeg Portfile 58027 2009-09-21 03:22:33Z ryandesign macports.org $

      PortSystem 1.0

      Name: jpeg
      Version: 6b
      Revision: 3
      Category: graphics
      Maintainers: waqar
      Description: Library for manipulating JPEG images
      Long Description: This distribution contains the sixth public release of the Independent JPEG Group's free JPEG software. You are welcome to redistribute this software and to use it for any purpose, subject to the conditions under LEGAL ISSUES, below. Serious users of this software (particularly those incorporating it into larger programs) should contact IJG at jpeg-info uunet.uu.net to be added to our electronic mailing list. Mailing list members are notified of updates and have a chance to participate in technical discussions, etc.

      Homepage: http://www.ijg.org/
      Platform: darwin freebsd sunos
      Master Sites: http://www.ijg.org/files ftp://ftp.uu.net/graphics/jpeg http://sylvana.net/jpegcrop/:drop

      distname ${name}src.v${version}
      worksrcdir ${name}-${version}
      set jpegmain ${distname}${extract.suffix}
      distfiles ${jpegmain} droppatch.tar.gz:drop

      Checksums: ${jpegmain} md5 dbd5f3b47ed13132f04c685d608a7547 droppatch.tar.gz md5 511c39779ac96cd41ca1e0a87b239287
      extract.only ${jpegmain}

      Patch Files: patch-config.sub patch-config.guess patch-ltmain.sh patch-ltconfig patch-makefile.cfg patch-jpeglib.h
      post-patch {
      system "cd ${worksrcpath} &&
      tar zxf ${distpath}/droppatch.tar.gz"

      # Reorder link flags so that so that local -L options come first (especially before -L${prefix}/lib)
      # (see http://trac.macports.org/ticket/16411).
      reinplace {s|\(.*\)\($(LDFLAGS)\)\(.*\)\($(LDLIBS)\)\(.*\)|\1\4\3\2\5|} ${worksrcpath}/makefile.cfg

      # As in the case of -L, CPPFLAGS come before -I. during compilation.
      configure.cppflags-append -isystem${prefix}/include
      configure.cppflags-delete -I${prefix}/include
      }

      configure.args --enable-shared --enable-static
      configure.ldflags ${configure.cc_archflags}

      use_parallel_build yes

      destroot.destdir prefix=${destroot}${prefix}
      pre-destroot {
      xinstall -d ${destroot}${prefix}/bin
      xinstall -d ${destroot}${prefix}/share/man/man1
      xinstall -d ${destroot}${prefix}/include
      xinstall -d ${destroot}${prefix}/lib
      }


      livecheck.type regex
      livecheck.url [lindex $master_sites 0]/?M=D
      livecheck.regex [suffix ${name}src.v(.*?)]

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.