Ticket #13486: Portfile

File Portfile, 963 bytes (added by dima@…, 17 years ago)
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-ctypes
7version                 1.0.1
8categories              python
9platforms               darwin
10maintainers             nomaintainer
11description             create and manipulate C data types in Python
12long_description        ctypes is a Python package to create and manipulate C \
13                                data types in Python, and to call functions in dynamic \
14                                link libraries/shared dlls. It allows wrapping these \
15                                libraries in pure Python.
16
17homepage                http://starship.python.net/crew/theller/ctypes/
18master_sites    sourceforge:ctypes
19checksums               sha1 a723fa162c6bd9f58fc51babcad8ff3154f37a3a
20distname                ctypes-${version}
21
22depends_lib-append      port:libffi
23
24test.run                yes
25test.cmd                ${build.cmd}
26test.target             test
27
28post-destroot {
29        xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.CVS \
30                README.txt ${destroot}${prefix}/share/doc/${name}
31}
32
33platform darwin 8 {
34        configure.env-append    CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0
35}