# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 84550 2011-09-27 21:05:11Z snc@macports.org $

PortSystem 1.0

name             plotutils
epoch            1
version          2.6
revision         1
categories       graphics
platforms        darwin
maintainers      snc openmaintainer
license             GPL-3+

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           rmd160  2a32244eb20e00b82a0742dde7b690f688e82774 \
                    sha256  4f4222820f97ca08c7ea707e4c53e5a3556af4d8f1ab51e0da6ff1627ff433ab

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

variant x11 {
  depends_lib-append      port:xorg-libXaw
  configure.args-delete   --without-x
  configure.args-append   --with-x
}

use_parallel_build yes
