Files
macports-ports/python/py-gnuplot/Portfile
2022-11-17 23:08:13 +11:00

43 lines
1.5 KiB
Tcl

# -*- 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
PortSystem 1.0
PortGroup python 1.0
name py-gnuplot
version 1.8
revision 2
categories-append devel math
license LGPL
platforms {darwin any}
supported_archs noarch
maintainers nomaintainer
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 abd6f571e7aec68ae7db90a5217cd5b1 \
sha1 1fab2850cd1881f4ede1f7978a8746af2aff9bb2 \
rmd160 0a06385a38e8b34d60d95e37b5d0a13dc682d520
python.versions 27
if {${name} ne ${subport}} {
depends_lib-append port:py${python.version}-numpy
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/${subport}
file copy ${worksrcpath}/doc \
${destroot}${prefix}/share/doc/${subport}
}
}