Jfreechart version 1.0.0-pre2 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    jfreechart  most recent diff


    version 1.0.0-pre2

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


      The jfreechart Portfile 30233 2007-10-22 23:09:00Z jmpp macports.org $

      PortSystem 1.0

      Name: jfreechart
      Version: 1.0.0-pre2
      Category: java graphics
      Platform: darwin
      Maintainers: nomaintainer
      Description: JFreeChart is a free Java class library for generating charts.
      Long Description: ${description}

      Homepage: http://www.jfree.org/jfreechart/
      Master Sites: sourceforge
      Checksums: md5 60c284085ffaa9c077215b8cfff91d52

      depends_build bin:ant:apache-ant
      depends_lib bin:java:kaffe port:junit port:servlet24-api

      extract.post_args "| tar -xf - --exclude 'junit.jar' --exclude 'servlet.jar'"
      post-extract {
      file link ${worksrcpath}/lib/junit.jar ${prefix}/share/java/junit.jar
      file link ${worksrcpath}/lib/servlet.jar ${prefix}/share/java/servlet24-api.jar
      }

      use_configure no

      build.dir ${worksrcpath}/ant
      build.cmd ant
      build.target all

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/java/ ${destroot}${prefix}/share/doc/
      xinstall -m 644 ${worksrcpath}/jfreechart-${version}.jar ${destroot}${prefix}/share/java/jfreechart.jar
      file copy ${worksrcpath}/javadoc ${destroot}${prefix}/share/doc/${name}
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.