source: trunk/dports/python/py-gnuplot/Portfile

Last change on this file was 150724, checked in by petr@…, 12 months ago

various py-* ports, nomaintainer: retire py26 subport for ports without dependents

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- 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
2# $Id: Portfile 150724 2016-07-27 20:07:24Z ryandesign@macports.org $
3
4PortSystem 1.0
5PortGroup python 1.0
6
7name                    py-gnuplot
8version                 1.8
9revision                2
10categories-append       devel math
11license                 LGPL
12platforms               darwin
13supported_archs         noarch
14maintainers             nomaintainer
15
16description             A Python interface to the gnuplot plotting program.
17long_description        Gnuplot.py is a Python package that allows you to \
18                        create graphs from within Python using the gnuplot \
19                        plotting program.
20
21homepage                http://gnuplot-py.sourceforge.net/
22master_sites            sourceforge:gnuplot-py
23distname                gnuplot-py-${version}
24
25checksums               md5     abd6f571e7aec68ae7db90a5217cd5b1 \
26                        sha1    1fab2850cd1881f4ede1f7978a8746af2aff9bb2 \
27                        rmd160  0a06385a38e8b34d60d95e37b5d0a13dc682d520
28
29python.versions         27
30
31if {${name} ne ${subport}} {
32    depends_lib-append      port:py${python.version}-numpy
33    depends_run             port:gnuplot
34
35    post-destroot {
36        xinstall -m 644 -W ${worksrcpath} \
37            ANNOUNCE.txt CREDITS.txt FAQ.txt Gnuplot.html \
38            LICENSE.txt NEWS.txt README.txt TODO.txt \
39            ${destroot}${prefix}/share/doc/${subport}
40        file copy ${worksrcpath}/doc \
41            ${destroot}${prefix}/share/doc/${subport}
42    }
43}
Note: See TracBrowser for help on using the repository browser.