a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $
PortSystem 1.0
PortGroup python24 1.0
name py-ctypes
version 1.0.1
categories python
platforms darwin
maintainers nomaintainer@macports.org
description create and manipulate C data types in Python
long_description ctypes is a Python package to create and manipulate C \
data types in Python, and to call functions in dynamic \
link libraries/shared dlls. It allows wrapping these \
libraries in pure Python.
homepage http://starship.python.net/crew/theller/ctypes/
master_sites sourceforge:ctypes
checksums sha1 a723fa162c6bd9f58fc51babcad8ff3154f37a3a
distname ctypes-${version}
depends_lib-append port:libffi
test.run yes
test.cmd ${build.cmd}
test.target test
post-destroot {
xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.CVS \
README.txt ${destroot}${prefix}/share/doc/${name}
}
platform darwin 8 {
configure.env-append CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0
}