# $Id: Portfile,v 1.3 2004/02/08 13:24:55 mww Exp $ PortSystem 1.0 name py-chart version 1.34 categories python maintainers mww@opendarwin.org platforms darwin freebsd description python library for creating EPS, PDF, PNG, or SVG charts long_description PyChart is a Python library for creating high quality \ Encapsulated Postscript, PDF, PNG, or SVG charts. It \ currently supports line plots, bar plots, range-fill \ plots, and pie charts. Because it is based on Python, \ you can make full use of Python's scripting power. homepage http://www.hpl.hp.com/personal/Yasushi_Saito/pychart/ master_sites ${homepage} distname PyChart-${version} checksums md5 74a5084d238d4b0581f0ad6efd42f293 depends_lib bin:python:python use_configure no build.cmd python setup.py build.target build destroot.cmd python setup.py destroot.destdir --prefix=${destroot}${prefix} post-destroot { xinstall -d -m 755 ${destroot}${prefix}/share/doc/ file copy ${worksrcpath}/doc/pychart \ ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} COPYING README \ ${destroot}${prefix}/share/doc/${name} }