# $Id: Portfile 53548 2009-07-08 01:53:57Z ryandesign@macports.org $

PortSystem 1.0

name             plotutils
epoch            1
version          2.5
categories       graphics
platforms        darwin
maintainers      nomaintainer

description      GNU plotting utilities
long_description \
  GNU plotting utilities package, including GNU libplot: a thread-safe \
  function library for exporting two-dimensional vector graphics files, \
  and for displaying animated vector graphics under the X Window System.

homepage         http://www.gnu.org/software/plotutils/
master_sites     gnu

depends_lib      port:libpng \
                 port:zlib

checksums        md5 0d6855cce17832afe2ff75c26a57be49 \
                 sha1 156c2a4d3a950d627ff2fb50dffe9a098cbc50a1 \
                 rmd160 106ee9c827fc6eef99762f88afb0f85a42e2e300

configure.args   --without-x \
                 --enable-libplotter \
                 --mandir=${prefix}/share/man \
                 --infodir=${prefix}/share/info

variant x11 description "Enable X11 support" {
  depends_lib-append      port:xorg-libXaw
  configure.args-delete   --without-x
  configure.args-append   --with-x
}

use_parallel_build yes
