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 python25 1.0 |
---|
6 | |
---|
7 | name py25-pyx |
---|
8 | version 0.10 |
---|
9 | categories python |
---|
10 | platforms darwin |
---|
11 | maintainers nomaintainer |
---|
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:teTeX port:py25-zlib |
---|
26 | |
---|
27 | post-destroot { |
---|
28 | xinstall -m 644 -W ${worksrcpath} AUTHORS CHANGES INSTALL LICENSE \ |
---|
29 | README ${destroot}${prefix}/share/doc/${name} |
---|
30 | file delete -force ${destroot}/etc |
---|
31 | |
---|
32 | # fix the paths that were calculated |
---|
33 | reinplace "s|${destroot}||g" ${destroot}${python.pkgd}/pyx/siteconfig.py |
---|
34 | reinplace "s|/etc|${prefix}/etc|g" ${destroot}${python.pkgd}/pyx/siteconfig.py |
---|
35 | } |
---|
36 | |
---|
37 | livecheck.check sourceforge |
---|
38 | livecheck.name pyx |
---|