Ticket #13277: Portfile

File Portfile, 1.2 KB (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 17 years ago)
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 python25 1.0
6
7name                    py25-pyx
8version                 0.10
9categories              python
10platforms               darwin
11maintainers             nomaintainer
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:teTeX port:py25-zlib
26
27post-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
37livecheck.check  sourceforge
38livecheck.name pyx