1 | # $Id: Portfile 30249 2007-10-23 02:12:47Z jmpp@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python25 1.0 |
---|
5 | |
---|
6 | name py25-ctypes |
---|
7 | version 1.0.1 |
---|
8 | categories python |
---|
9 | platforms darwin |
---|
10 | maintainers nomaintainer |
---|
11 | description create and manipulate C data types in Python |
---|
12 | long_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 | |
---|
17 | homepage http://starship.python.net/crew/theller/ctypes/ |
---|
18 | master_sites sourceforge:ctypes |
---|
19 | checksums sha1 a723fa162c6bd9f58fc51babcad8ff3154f37a3a |
---|
20 | distname ctypes-${version} |
---|
21 | |
---|
22 | depends_lib-append port:libffi |
---|
23 | |
---|
24 | test.run yes |
---|
25 | test.cmd ${build.cmd} |
---|
26 | test.target test |
---|
27 | |
---|
28 | post-destroot { |
---|
29 | xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.CVS \ |
---|
30 | README.txt ${destroot}${prefix}/share/doc/${name} |
---|
31 | } |
---|
32 | |
---|
33 | platform darwin 8 { |
---|
34 | configure.env-append CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 |
---|
35 | } |
---|