# $Id: Portfile 63065 2010-01-25 04:50:31Z ryandesign@macports.org $

PortSystem                      1.0
PortGroup                       pure 1.0

pure.setup                      ffi 0.8
revision                        1
categories                      devel
platforms                       darwin
maintainers                     ryandesign
license                         LGPLv3

description                     an interface to libffi which enables you to \
                                call C functions from Pure and vice versa

long_description                ${name} provides ${description}. It goes \
                                beyond Pure's built-in C interface in that \
                                it also handles C structs and makes Pure \
                                functions callable from C. Moreover, \
                                depending on the libffi implementation, it \
                                may also be possible to call foreign \
                                languages other than C.

checksums                       md5     3dbdd586dbb69a8603bb1bc4140f9d19 \
                                sha1    280fb011a134ba58a1106830aa5e5a2ffc71551f \
                                rmd160  4cad207b9dbc4c4b9c5ba04a864d6b526784f44c

depends_lib-append              port:libffi

platform darwin {
    configure.cflags-append     -fno-common
}
