Ticket #29395: Portfile

File Portfile, 1.2 KB (added by christophe.prudhomme@…, 14 years ago)

Portfile for py27-pyx

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem 1.0
5PortGroup python27 1.0
6
7name                    py27-pyx
8version                 0.10
9categories              python
10platforms               darwin
11maintainers             stechert
12description             PyX is a TeX/LaTeX interface for Python
13long_description        PyX is a Python package for the creation of \
14                            encapsulated PostScript figures. It provides both an \
15                            abstraction of PostScript and a TeX/LaTeX interface. \
16                            Complex tasks like 2d and 3d plots in \
17                            publication-ready quality are built out of these \
18                            primitives.
19
20homepage                http://pyx.sourceforge.net
21master_sites            sourceforge:pyx
22distname                PyX-${version}
23checksums               sha1 e8a9219192daff9fd8eb479d5987cbc7e37b0188
24
25depends_lib-append      bin:tex:texlive
26
27patchfiles      setup.py.diff
28post-patch {
29    reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/setup.py
30}
31
32post-destroot {
33        xinstall -m 644 -W ${worksrcpath} AUTHORS CHANGES INSTALL LICENSE \
34                README ${destroot}${prefix}/share/doc/${name}
35
36        # only register sample config file to the port
37        move ${destroot}${prefix}/etc/pyxrc ${destroot}${prefix}/etc/pyxrc.sample
38}
39
40livecheck.type   sourceforge
41livecheck.name pyx