source: trunk/dports/python/py-chart/Portfile @ 5325

Last change on this file since 5325 was 5325, checked in by mww, 17 years ago

prefer xinstall over file copy/mkdir

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1# $Id: Portfile,v 1.3 2004/02/08 13:24:55 mww Exp $
2
3PortSystem 1.0
4
5name            py-chart
6version         1.34
7categories      python
8maintainers     mww@opendarwin.org
9platforms       darwin freebsd
10description     python library for creating EPS, PDF, PNG, or SVG charts
11long_description        PyChart is a Python library for creating high quality \
12                        Encapsulated Postscript, PDF, PNG, or SVG charts. It \
13                        currently supports line plots, bar plots, range-fill \
14                        plots, and pie charts. Because it is based on Python, \
15                        you can make full use of Python's scripting power.
16
17homepage        http://www.hpl.hp.com/personal/Yasushi_Saito/pychart/
18master_sites    ${homepage}
19distname        PyChart-${version}
20checksums       md5 74a5084d238d4b0581f0ad6efd42f293
21
22depends_lib     bin:python:python
23
24use_configure   no
25
26build.cmd       python setup.py
27build.target    build
28
29destroot.cmd    python setup.py
30destroot.destdir        --prefix=${destroot}${prefix}
31
32post-destroot   {
33        xinstall -d -m 755 ${destroot}${prefix}/share/doc/
34        file copy ${worksrcpath}/doc/pychart \
35                ${destroot}${prefix}/share/doc/${name}
36        xinstall -m 644 -W ${worksrcpath} COPYING README \
37                ${destroot}${prefix}/share/doc/${name}
38}
Note: See TracBrowser for help on using the repository browser.