Jasper version 1.900.1 - How to Download and Install on Mac OS X
Sunday the 21st of March, 2010

    version 1.900.1

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


      The jasper Portfile 58499 2009-09-29 22:48:32Z jmr macports.org $

      PortSystem 1.0
      PortGroup muniversal 1.0

      Name: jasper
      Version: 1.900.1
      Revision: 5
      Category: graphics
      Platform: darwin
      Maintainers: nomaintainer
      Description: Library for manipulating JPEG-2000 images

      Long Description: The JasPer Project is an open-source initiative to provide a free software-based reference implementation of the codec specified in the JPEG-2000 Part-1 standard (i.e., ISO/IEC 15444-1).

      Homepage: http://www.ece.uvic.ca/~mdadams/jasper/
      Master Sites: ${homepage}software/
      use_zip yes

      Checksums: md5 a342b2b4495b3e1394e161eb5d85d754 sha1 9c5735f773922e580bf98c7c7dfda9bbed4c5191 rmd160 fb2c188abf5b8c297078ac1f913101734f72db5c

      depends_lib port:jpeg

      Patch Files: patch-src_libjasper_base_jas_cm.c.diff patch-src_libjasper_jpc_jpc_dec.c.diff

      configure.args --enable-shared --enable-static --disable-opengl --mandir=${prefix}/share/man --infodir=${prefix}/share/info

      use_parallel_build yes

      test.run yes
      test.target check

      post-destroot {
      set docdir ${prefix}/share/doc/${name}-${version}
      xinstall -m 755 -d ${destroot}${docdir}
      eval xinstall -m 644 [glob ${worksrcpath}/doc/*] ${destroot}${docdir}
      }

      Variant: jiv description {build a basic viewer as well} {
      depends_lib-append port:mesa

      configure.args-delete --disable-opengl
      configure.args-append --enable-opengl
      }

      livecheck.type regex
      livecheck.regex "JasPer version (.*) source distribution \\\(current version\\\)."

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.