Ticket #15616: Portfile

File Portfile, 1.2 KB (added by ajb78@…, 16 years ago)

py-cython

Line 
1# $Id:
2
3PortSystem          1.0
4PortGroup python24  1.0
5
6name                        py-cython
7version                     0.9.8
8categories              python devel
9maintainers                 nomaintainer
10platforms                   darwin
11description                 A language for writing C extension modules for Python.
12long_description        Cython is a language that makes writing C extensions for\
13                    the Python language as easy as Python itself. Cython is\
14                    based on the well-known Pyrex, but supports more cutting\
15                    edge functionality and optimizations
16                   
17homepage        http://www.cython.org
18master_sites    ${homepage}
19
20distname                Cython-${version}
21checksums               md5 dac0f6c217437819f620da18a97d505f\
22                sha1 0066194ec056bfe90ef8358b06501a5250e7f10f\
23                rmd160 84e2d4ae5f092494ebdf8a8f50b9643535693568
24
25depends_lib             port:py-hashlib
26
27post-destroot   {
28        xinstall -m 644 -W ${worksrcpath}/Doc About.html FAQ.html \
29                extension_types.html index.html overview.html primes.c sharing.html \
30                special_methods.html ${destroot}${prefix}/share/doc/${name}
31    xinstall -m 644 -W ${worksrcpath} CHANGES_pyrex.txt INSTALL.txt README.txt\
32        ToDo.txt USAGE.txt ${destroot}${prefix}/share/doc/${name}
33}