Ticket #15611: Portfile.2

File Portfile.2, 1.0 KB (added by ajb78@…, 16 years ago)

py25-pyrex

Line 
1# $Id: Portfile 34540 2008-02-27 22:04:44Z jmr@macports.org $
2
3PortSystem 1.0
4PortGroup python25 1.0
5
6name                    py25-pyrex
7version                 0.9.8.4
8categories              python devel
9maintainers             nomaintainer
10platforms               darwin
11description             A language for writing Python extension modules.
12long_description        Pyrex lets you write code that mixes Python and C \
13                        data types any way you want, and compiles it into \
14                        a C extension for Python.
15homepage                http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/
16master_sites            ${homepage}
17distname                Pyrex-${version}
18checksums               md5 100b95005bb93c8b95e96406aad661bc \
19                sha1 e5f5e14f06c930901c2125055456decf3e4b11ac \
20                rmd160 e68f672980b4981969757a92322eef74b8c18986
21
22depends_lib             port:py25-hashlib
23
24post-destroot   {
25        xinstall -m 644 -W ${worksrcpath}/Doc About.html FAQ.html \
26                index.html primes.c \
27                ${destroot}${prefix}/share/doc/${name}
28        xinstall -m 644 -W ${worksrcpath} CHANGES.txt INSTALL.txt README.txt \
29                ToDo.txt USAGE.txt ${destroot}${prefix}/share/doc/${name}
30}