categories-append graphics math
maintainers ram openmaintainer
description matlab-like syntax for creating plots in python
long_description Matplotlib is a pure python plotting library with the \
goal of making publication quality plots using a syntax \
familiar to matlab users. The library uses numpy for \
handling large data sets and supports a variety of \
output backends. This port provides variants for the \
different GUIs (gtk2, tkinter, wxpython).
homepage http://matplotlib.sourceforge.net
master_sites sourceforge:matplotlib
distname matplotlib-${version}
worksrcdir matplotlib-0.99.1.1
checksums md5 952e2c992e4a762b8538171f51c9140a \
sha1 c3f9053a8522e2541d93ee55e8b447165708ac15 \
rmd160 11daee415102dff944d9c45de22c48c83e76dde7
depends_lib-append port:freetype \
patchfiles patch-setupext.py.diff \
patch-disable_optional_deps.diff \
build.env MPLIB_BASE="${prefix}" PKG_CONFIG_PATH="${python.prefix}/lib/pkgconfig/"
reinplace "s|@@MPORTS_PREFIX@@|${prefix}|" ${worksrcpath}/setupext.py
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} \
${destroot}${prefix}/share/${name}
xinstall -m 644 -W ${worksrcpath} CHANGELOG INSTALL \
INTERACTIVE KNOWN_BUGS README.txt TODO \
${destroot}${prefix}/share/doc/${name}
file copy ${worksrcpath}/license \
${destroot}${prefix}/share/doc/${name}
file copy ${worksrcpath}/examples \
${destroot}${prefix}/share/${name}
ui_msg "\nThe default backend is now the non-interactive Agg backend, different
backends can be specified using the ~/.matplotlib/matplotlibrc file.
More details, regarding backends, can be found in the matplotlib FAQ: