Download and Install jbigkit version 1.6 on Mac OS X
Sunday the 7th of September, 2008

    jbigkit  most recent diff


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



      # $Id: Portfile 32256 2007-12-23 09:18:47Z ryandesign macports.org $

      PortSystem 1.0
      Name: jbigkit
      Version: 1.6
      Category: graphics
      Maintainers: nomaintainer
      Description: Data compression algorithm for bi-level high-res images
      Long Description: JBIG-KIT provides a portable library of compression and decompression functions with a documented interface that you can very easily include into your image or document processing software. In addition, JBIG-KIT provides ready-to-use compression and decompression programs with a simple command line interface (similar to the converters found in netpbm).

      Platform: darwin

      Homepage: http://www.cl.cam.ac.uk/~mgk25/${name}
      master_sites http://www.cl.cam.ac.uk/~mgk25/download/

      checksums md5 ce196e45f293d40ba76af3dc981ccfd7

      worksrcdir ${name}

      post-patch {
      reinplace "s| PREFIX |${prefix}|g" ${worksrcpath}/libjbig/Makefile
      }

      use_configure no

      test.run yes
      test.target test

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/bin ${destroot}${prefix}/include ${destroot}${prefix}/lib ${destroot}${prefix}/share/man/man1 ${destroot}${prefix}/share/doc/${name} ${destroot}${prefix}/share/examples
      xinstall -m 755 -W ${worksrcpath}/pbmtools jbgtopbm pbmtojbg ${destroot}${prefix}/bin
      xinstall -m 644 -W ${worksrcpath}/pbmtools jbgtopbm.1 pbmtojbg.1 ${destroot}${prefix}/share/man/man1
      xinstall -m 644 -W ${worksrcpath}/libjbig jbig.h ${destroot}${prefix}/include
      xinstall -m 644 -W ${worksrcpath}/libjbig libjbig.a ${destroot}${prefix}/lib
      system "ranlib ${destroot}${prefix}/lib/libjbig.a"
      xinstall -m 644 -W ${worksrcpath} ANNOUNCE CHANGES COPYING INSTALL TODO ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 -W ${worksrcpath}/libjbig jbig.doc ${destroot}${prefix}/share/doc/${name}
      file copy ${worksrcpath}/examples ${destroot}${prefix}/share/examples/${name}
      }

      platform darwin {
      patchfiles-append patch-Makefile_darwin patch-libjbig_Makefile_darwin
      post-destroot {
      xinstall -m 644 -W ${worksrcpath}/libjbig libjbig.1.dylib ${destroot}${prefix}/lib
      system "ln -s libjbig.1.dylib ${destroot}${prefix}/lib/libjbig.dylib"
      }
      }

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

     Where to find more information:

    Darwin Ports



    image test