This module provides an interface to libffi which enables you to call C
functions from Pure and vice versa. It extends and complements Pure's
built-in C interface in that it also handles C structs and makes Pure
functions callable from C without writing a single line of C code.
WWW: https://puredocs.bitbucket.io/pure-ffi.html
===> The following configuration options are available for pure-ffi-0.14:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
According to the Porter's Handbook (5.12.2.3.) default options must be added to
OPTIONS_DEFINE. This policy has been implemented only recently that's why we
have many ports violating this policy.
This patch adds the default options specified in the Porter's Handbook to
OPTIONS_DEFINE where they are being used. Ports maintained by
gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded.
Approved by: portmgr (bapt)
This module provides an interface to libffi which enables you to call C
functions from Pure and vice versa. It extends and complements Pure's
built-in C interface in that it also handles C structs and makes Pure
functions callable from C without writing a single line of C code.
WWW: http://docs.pure-lang.googlecode.com/hg/pure-ffi.html
PR: ports/156103
Submitted by: Zhihao Yuan <lichray at gmail.com>