# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $

PortSystem 1.0
PortGroup python24 1.0

name                    py-gnuplot
version                 1.7
categories              python devel math
maintainers             mac.com:persamuelsson
platforms               darwin
description             A Python interface to the gnuplot plotting program.
long_description        Gnuplot.py is a Python package that allows you to \
                        create graphs from within Python using the gnuplot \
                        plotting program.

homepage                http://gnuplot-py.sourceforge.net/
master_sites            sourceforge:gnuplot-py
distname                gnuplot-py-${version}
checksums               md5 724f9eee164d6ff763777b22a5851572

depends_lib-append      port:py-numeric
depends_run             port:gnuplot

post-destroot {
        xinstall -m 644 -W ${worksrcpath} \
                ANNOUNCE.txt CREDITS.txt FAQ.txt Gnuplot.html \
                LICENSE.txt NEWS.txt README.txt TODO.txt \
                ${destroot}/${prefix}/share/doc/${name}
        file copy ${worksrcpath}/doc \
                ${destroot}/${prefix}/share/doc/${name}
}

