# $Id: Portfile,v 1.1 2005/07/10 14:37:04 mww Exp $

PortSystem 1.0
PortGroup python24 1.0

name                    py-gnuplot
version                 1.7
categories              python devel math
maintainers             persamuelsson@mac.com
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}
}

