Ticket #13365: Portfile.2

File Portfile.2, 931 bytes (added by stephen@…, 17 years ago)

Portfile for py25-pyrex (new port)

Line 
1# $Id: Portfile 30249 2007-10-23 02:12:47Z jmpp@macports.org $
2
3PortSystem 1.0
4PortGroup python25 1.0
5
6name                    py25-pyrex
7version                 0.9.6.3
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 6fbd5a21d4f6f1b96b6b9c7e13b46d6f
19patchfiles              patch-setup.py.diff
20
21depends_lib             port:py25-hashlib
22
23post-destroot   {
24        xinstall -m 644 -W ${worksrcpath}/Doc About.html FAQ.html \
25                index.html primes.c \
26                ${destroot}${prefix}/share/doc/${name}
27        xinstall -m 644 -W ${worksrcpath} CHANGES.txt INSTALL.txt README.txt \
28                ToDo.txt USAGE.txt ${destroot}${prefix}/share/doc/${name}
29}