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 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python27 1.0 |
---|
6 | |
---|
7 | name py27-pyx |
---|
8 | version 0.10 |
---|
9 | categories python |
---|
10 | platforms darwin |
---|
11 | maintainers stechert |
---|
12 | description PyX is a TeX/LaTeX interface for Python |
---|
13 | long_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 | |
---|
20 | homepage http://pyx.sourceforge.net |
---|
21 | master_sites sourceforge:pyx |
---|
22 | distname PyX-${version} |
---|
23 | checksums sha1 e8a9219192daff9fd8eb479d5987cbc7e37b0188 |
---|
24 | |
---|
25 | depends_lib-append bin:tex:texlive |
---|
26 | |
---|
27 | patchfiles setup.py.diff |
---|
28 | post-patch { |
---|
29 | reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/setup.py |
---|
30 | } |
---|
31 | |
---|
32 | post-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 | |
---|
40 | livecheck.type sourceforge |
---|
41 | livecheck.name pyx |
---|