Name:             gnuplot
Version:          0.3.4
License:          BSD3
License-File:     LICENSE
Author:           Henning Thielemann <haskell@henning-thielemann.de>
Maintainer:       Henning Thielemann <haskell@henning-thielemann.de>
Homepage:         http://www.haskell.org/haskellwiki/Gnuplot
Package-URL:      http://code.haskell.org/gnuplot/
Category:         Graphics, Math
Synopsis:         2D and 3D plots using gnuplot
Description:
   This is a wrapper to gnuplot
   which lets you create 2D and 3D plots.
   .
   Start a simple session with @make ghci@.
   This loads the module "Graphics.Gnuplot.Simple"
   which is ready for use in GHCi.
   It does not address all fancy gnuplot features
   in order to stay simple.
   For more sophisticated plots,
   especially batch generated graphics,
   I recommend "Graphics.Gnuplot.Advanced".
   This module contains also an overview
   of the hierarchy of objects.
   Examples for using this interface can be found in the "Demo" module.
   .
   With the Cabal flags executePipe and executeShell
   you can switch to more convenient
   but probably less portable ways
   of feeding gnuplot with a script.
Tested-With:       GHC==6.8.2
Cabal-Version:     >=1.2
Build-Type:        Simple
Extra-Source-Files:
  Makefile
  execute/tmp/Graphics/Gnuplot/Execute.hs
  execute/pipe/Graphics/Gnuplot/Execute.hs
  execute/shell/Graphics/Gnuplot/Execute.hs

Flag splitBase
  description: Choose the new smaller, split-up base package.

Flag buildTests
  description: Build test executables
  default:     False

Flag buildExamples
  description: Build example executables
  default:     False

Flag executePipe
  description: Avoid a temporary gnuplot script by running gnuplot with runInteractiveProcess
  default:     False

Flag executeShell
  description: Avoid a temporary gnuplot script by calling gnuplot via a UNIX shell and its piping syntax
  default:     False

Library
  Build-Depends:
    array >= 0.1 && <0.4,
    containers >= 0.1 && <0.4,
    utility-ht >= 0.0.1 && < 0.1,
    monoid-transformer >= 0.0.2 && <0.1
  If flag(splitBase)
    Build-Depends:
      base >= 2 && <6,
      process >= 1.0 && < 1.1,
      time >= 1.1 && < 1.2,
      old-locale >= 1.0 && < 1.1
  Else
    Build-Depends:
      base >= 1.0 && < 2

  GHC-Options: -Wall

  Hs-Source-Dirs: src
  If flag(executePipe)
    Hs-Source-Dirs: execute/pipe
  Else
    If flag(executeShell)
      Hs-Source-Dirs: execute/shell
    Else
      Hs-Source-Dirs: execute/tmp

  Exposed-Modules:
    Graphics.Gnuplot.Simple
    Graphics.Gnuplot.Time
    Graphics.Gnuplot.Advanced
    Graphics.Gnuplot.Terminal.PostScript
    Graphics.Gnuplot.Terminal.PNG
    Graphics.Gnuplot.Terminal.SVG
    Graphics.Gnuplot.Terminal.X11
    Graphics.Gnuplot.Frame
    Graphics.Gnuplot.Frame.Option
    Graphics.Gnuplot.Frame.OptionSet
    Graphics.Gnuplot.Plot.TwoDimensional
    Graphics.Gnuplot.Plot.ThreeDimensional
    Graphics.Gnuplot.Graph.TwoDimensional
    Graphics.Gnuplot.Graph.ThreeDimensional
    Graphics.Gnuplot.LineSpecification
    Graphics.Gnuplot.MultiPlot
  Other-Modules:
    Graphics.Gnuplot.Private.LineSpecification
    Graphics.Gnuplot.Private.Plot
    Graphics.Gnuplot.Private.Frame
    Graphics.Gnuplot.Private.FrameOption
    Graphics.Gnuplot.Private.FrameOptionSet
    Graphics.Gnuplot.Private.GraphType
    Graphics.Gnuplot.Private.Graph
    Graphics.Gnuplot.Private.Graph2D
    Graphics.Gnuplot.Private.Graph3D
    Graphics.Gnuplot.Private.GraphEmpty
    Graphics.Gnuplot.Utility
    Graphics.Gnuplot.Execute
    Graphics.Gnuplot.Display
    Graphics.Gnuplot.Terminal

Executable gnuplot-demo
  If !flag(buildExamples)
    Buildable: False
  GHC-Options: -Wall
  Hs-Source-Dirs: src, execute/tmp
  Main-Is: Demo.hs
