plplot version 5.8.0 for Mac OS X 10.5 Leopard
Friday the 16th of May, 2008

    plplot  most recent diff


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



      # $Id: Portfile 32957 2008-01-15 14:16:10Z takeshi macports.org $
      PortSystem 1.0
      Name: plplot
      Version: 5.8.0
      revision 0
      Platform: darwin
      Maintainers: takeshi macports.org
      Category: science
      Description: Scientific plotting package
      master_sites sourceforge
      checksums md5 63e954448b12056aeecf2b53cd97f1f5 sha1 c4423c267a148e1b925362c5089726cac2cbefd0 rmd160 8d4bce73b54a704739084a787f16bc43cc35876c
      Homepage: http://plplot.sourceforge.net/
      Long Description: { PLplot is relatively small, portable, freely distributable, and is rich enough to satisfy most users. It has a wide range of plot types including line (linear, log), contour, 3D, fill, and almost 1000 characters (including Greek and mathematical) in its extended font set. The package is designed to make it easy to quickly get graphical output; only a handful of function calls is typically required. For more advanced use, virtually all aspects of plotting are configurable.}

      depends_lib port:cmake port:expat port:fontconfig port:freefont-ttf port:freetype port:gd2 port:libiconv port:jpeg port:libpng port:pkgconfig port:swig port:tcl port:tk port:zlib

      patchfiles patch-x18f.f90.diff

      pre-configure {
      file mkdir ${workpath}/build
      }

      configure.dir ${workpath}/build
      configure.cmd cmake
      configure.env HOME=${workpath}
      configure.pre_args -DCMAKE_INSTALL_PREFIX=${prefix}
      configure.args -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_Fortran_FLAGS=-O2 -DCMAKE_C_COMPILER=/usr/bin/cc -DCMAKE_C_FLAGS=\"-O2 -I${prefix}/include\" -DCMAKE_CXX_COMPILER=/usr/bin/c++ -DCMAKE_CXX_FLAGS=\"-O2 -I${prefix}/include\" -DCMAKE_INCLUDE_PATH=${prefix}/include -DCMAKE_LIBRARY_PATH=${prefix}/lib -DTCL_INCLUDE_PATH=${prefix}/include -DTCL_LIBRARY=${prefix}/lib/libtcl.dylib -DTCL_STUB_LIBRARY=${prefix}/lib/libtclstub8.4.a -DTK_INCLUDE_PATH=${prefix}/include -DTK_LIBRARY=${prefix}/lib/libtk.dylib -DTK_STUB_LIBRARY=${prefix}/lib/libtkstub8.4.a -DFREETYPE_INCLUDE_DIR=${prefix}/include/freetype2 -DFREETYPE_LIBRARY=${prefix}/lib/libfreetype.dylib -DPL_FREETYPE_FONT_PATH=${prefix}/share/fonts/freefont-ttf -DWITH_FREETYPE=ON -DPLD_aqt=OFF -DPLD_tkwin=ON -DPLD_wxwidgets=OFF -DPLD_gnome=OFF -DPLD_gcw=OFF -DENABLE_java=OFF -DENABLE_python=OFF -DENABLE_octave=OFF -DENABLE_pdl=OFF -DENABLE_itcl=OFF -DENABLE_itk=OFF -DBUILD_TEST=ON -DSWIG_DIR=${prefix}/bin
      configure.post_args ../${distname}

      pre-configure {
      if {[file exists ${prefix}/lib/libplplotd.dylib]} {
      return -code error "Before upgrading plplot, please uninstall (or deactivate) the old version of plplot."
      }
      }

      build.dir ${workpath}/build

      platform i386 {
      configure.args-append -DCMAKE_MODULE_LINKER_FLAGS=\"-undefined dynamic_lookup\" -DCMAKE_EXE_LINKER_FLAGS=\"-undefined dynamic_lookup\"
      }

      Variant: gcw description {Add support for Gnome Canvas Widget} {
      depends_lib-append port:atk port:cairo port:gettext port:glib2 port:gtk2 port:libart_lgpl port:libgnomecanvas port:libgnomeprint port:libgnomeprintui port:libxml2 port:pango port:tiff port:xrender
      configure.args-delete -DPLD_gcw=OFF
      configure.args-append -DPLD_gcw=ON
      }

      if {![variant_isset g95]} {
      default_variants +gcc42
      }
      Variant: gcc42 conflicts g95 description {Build using gcc42 (default)} {
      depends_lib-append port:gcc42
      configure.args-append -DCMAKE_Fortran_COMPILER=\"${prefix}/bin/gfortran-mp-4.2\"
      }
      Variant: g95 conflicts gcc42 description {Build using g95} {
      depends_lib-append port:g95
      configure.args-append -DCMAKE_Fortran_COMPILER=\"${prefix}/bin/g95\"
      }

      Variant: octave description {Add support for Octave} {
      depends_lib-append port:octave
      configure.args-delete -DENABLE_octave=OFF
      configure.args-append -DENABLE_octave=ON
      }

      Variant: java description {Add support for Java} {
      configure.args-delete -DENABLE_java=OFF
      configure.args-append -DENABLE_java=ON
      }

      #variant python24 description {Add support for python24} {
      # depends_lib-append port:python24 # port:py24-numpy
      # configure.args-delete -DENABLE_python=OFF
      # configure.args-append -DENABLE_python=ON # -DHAVE_NUMPY:BOOL=ON # -DPYTHON_INCLUDE_PATH=${prefix}/include/python2.4
      #}

      Variant: python25 description {Add support for python25} {
      depends_lib-append port:python25 port:py25-numpy
      configure.args-delete -DENABLE_python=OFF
      configure.args-append -DENABLE_python=ON -DHAVE_NUMPY:BOOL=ON -DPYTHON_INCLUDE_PATH=${prefix}/include/python2.5
      }

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

     Where to find more information:

    Darwin Ports



    image test