Gnuplot version 4.2.5 - How to Download and Install on Mac OS X
Wednesday the 8th of September, 2010

    gnuplot  most recent diff


    version 4.2.5

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


      The gnuplot Portfile 60116 2009-11-02 13:30:34Z jmr macports.org $

      PortSystem 1.0
      PortGroup xcodeversion 1.0

      Name: gnuplot
      Version: 4.2.5
      Category: math science
      Maintainers: nomaintainer
      Description: A command-driven interactive function plotting program
      Long Description: Gnuplot is a command-driven interactive function plotting program. Plots any number of functions, built up of C operators, C library functions, and some things C doesn't have like **, sgn(), etc. Also support for plotting data files, to compare actual data to theoretical curves.
      Platform: darwin
      Homepage: http://gnuplot.sourceforge.net/
      Master Sites: sourceforge
      distfiles ${distname}.tar.gz ${name}.pdf
      extract.only ${distname}.tar.gz
      Checksums: ${distname}.tar.gz md5 85d042f8efd7aae3d9cbfd85b14d06d2 sha1 e7ad6afc1ca7b39a512a18f2dc6f2bcda9bf9128 rmd160 79ab74627d66c2eff6d69276c1556acca89ec6dd ${name}.pdf md5 0691424fd274b65eb8a8ab0dc52dbabe sha1 8926d4cb9a1e2f71f95f69fad65473889f08638f rmd160 6d92f3473b0896598436e6c993e56e5167b94af5

      depends_lib port:expat port:fontconfig port:gd2 port:jpeg port:pdflib port:libiconv port:libpng port:ncurses port:readline port:xpm port:zlib

      Patch Files: patch-share-LaTeX-Makefile.in

      platform darwin {
      depends_lib-append port:aquaterm
      configure.cflags-append '-DDEFAULTTERM=\\"aqua\\"'
      }

      minimum_xcodeversions {9 3.1}

      configure.args --with-readline=${prefix} --with-gd=${prefix} --with-pdf=${prefix} --with-png=${prefix} --with-x --enable-datastrings --enable-histograms --infodir='\${prefix}/share/info' --mandir='\${prefix}/share/man' --disable-wxwidgets

      configure.ccache no

      Variant: no_x11 {
      depends_lib-delete port:xpm
      configure.args-delete --with-x
      configure.args-append --without-x
      }

      Variant: wxwidgets description "Enable wxWidgets front-end" {
      depends_lib-append port:wxWidgets
      configure.args-delete --disable-wxwidgets
      configure.args-append --with-wx-config=${prefix}/bin/wx-config
      }

      Variant: tutorial description "Build the tutorial (requires a tex install)" {
      depends_lib-append bin:tex:texlive
      configure.args-delete --without-tutorial
      configure.args-append --with-tutorial
      }

      destroot.destdir prefix=${destroot}${prefix}
      post-destroot {
      xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
      xinstall -m 0644 ${distpath}/gnuplot.pdf ${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/gnuplot
      % sudo port install gnuplot
      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 gnuplot
      ---> Verifying checksum for gnuplot
      ---> Extracting gnuplot
      ---> Configuring gnuplot
      ---> Building gnuplot with target all
      ---> Staging gnuplot into destroot
      ---> Installing gnuplot
    - 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 gnuplot with these commands:
      %  man gnuplot
      % apropos gnuplot
      % which gnuplot
      % locate gnuplot

     Where to find more information:

    Darwin Ports



    Lightbox this page.