# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem                      1.0
PortGroup                       pure 1.0

pure.setup                      pure-ffi 0.16
revision                        0
checksums                       rmd160  c9627d0c050dd7d90b8ad1310e839b711c611499 \
                                sha256  cc11dcdf9b27c74cee58a4acfeb76d45b7cef542e1e6327b0ce098b7780724c9 \
                                size    28142

categories-append               devel
maintainers                     {ryandesign @ryandesign} {gmail.com:aggraef @agraef}
license                         LGPL-3+

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.

depends_build-append            port:pkgconfig

depends_lib-append              port:libffi \
                                port:gmp

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