BSD Ports

devel/cl-cffi 0.24.1 FreeBSD

Portable foreign function interface for Common Lisp

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
7857593b30
License
MIT
Categories
devel, lisp

Description

CFFI, the Common Foreign Function Interface, purports to be a portable foreign function interface for Common Lisp. The CFFI library is composed of a Lisp-implementation-specific backend in the CFFI-SYS package, and a portable frontend in the CFFI package.

The CFFI-SYS backend package defines a low-level interface to the native FFI support in the Lisp implementation. It offers operators for allocating and dereferencing foreign memory, calling foreign functions, and loading shared libraries. The CFFI frontend provides a declarative interface for defining foreign functions, structures, typedefs, enumerated types, etc. It is implemented in portable ANSI CL making use of the low-level operators exported by CFFI-SYS.

In the other systems

SystemPortVersion
FreeBSDdevel/cl-cffi0.24.1
DragonFlydevel/cl-cffi0.16.1
HardenedBSDdevel/cl-cffi0.24.1
GhostBSDdevel/cl-cffi0.24.1

Install

Binary package:

pkg install cl-cffi

From the ports tree:

cd /usr/ports/devel/cl-cffi/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	cl-cffi>0:devel/cl-cffi

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest-0.24.1--0.24.1
FreeBSD:14:quarterly-0.24.1n/a-0.24.1
FreeBSD:15:latest-0.24.1n/a--
FreeBSD:15:quarterly-0.24.1n/an/an/a
FreeBSD:16:latest-0.24.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Runtime 3

The full lists below include those, and their dependencies in turn.

Build dependencies 14
Run dependencies 6

No port depends on this one.

Configuration

Options name: devel_cffi

OptionDefaultDescription
DOCSoffBuild and/or install documentation
EXAMPLESoffBuild and/or install examples
PDFoffBuild and install PDF documentation
USES
cl
Service scripts
none

Files

pkg-plist 91
  • lib/common-lisp/cffi/cffi-grovel.asd
  • lib/common-lisp/cffi/cffi-toolchain.asd
  • lib/common-lisp/cffi/cffi-uffi-compat.asd
  • lib/common-lisp/cffi/cffi.asd
  • lib/common-lisp/cffi/grovel/asdf.lisp
  • lib/common-lisp/cffi/grovel/common.h
  • lib/common-lisp/cffi/grovel/grovel.lisp
  • lib/common-lisp/cffi/grovel/package.lisp
  • lib/common-lisp/cffi/src/c2ffi/asdf.lisp
  • lib/common-lisp/cffi/src/c2ffi/c2ffi.lisp
  • lib/common-lisp/cffi/src/c2ffi/generator.lisp
  • lib/common-lisp/cffi/src/c2ffi/package.lisp
  • lib/common-lisp/cffi/src/cffi-abcl.lisp
  • lib/common-lisp/cffi/src/cffi-allegro.lisp
  • lib/common-lisp/cffi/src/cffi-clasp.lisp
  • lib/common-lisp/cffi/src/cffi-clisp.lisp
  • lib/common-lisp/cffi/src/cffi-cmucl.lisp
  • lib/common-lisp/cffi/src/cffi-corman.lisp
  • lib/common-lisp/cffi/src/cffi-ecl.lisp
  • lib/common-lisp/cffi/src/cffi-gcl.lisp
  • lib/common-lisp/cffi/src/cffi-lispworks.lisp
  • lib/common-lisp/cffi/src/cffi-mcl.lisp
  • lib/common-lisp/cffi/src/cffi-mkcl.lisp
  • lib/common-lisp/cffi/src/cffi-openmcl.lisp
  • lib/common-lisp/cffi/src/cffi-sbcl.lisp
  • lib/common-lisp/cffi/src/cffi-scl.lisp
  • lib/common-lisp/cffi/src/early-types.lisp
  • lib/common-lisp/cffi/src/enum.lisp
  • lib/common-lisp/cffi/src/features.lisp
  • lib/common-lisp/cffi/src/foreign-vars.lisp
  • lib/common-lisp/cffi/src/functions.lisp
  • lib/common-lisp/cffi/src/libraries.lisp
  • lib/common-lisp/cffi/src/package.lisp
  • lib/common-lisp/cffi/src/strings.lisp
  • lib/common-lisp/cffi/src/structures.lisp
  • lib/common-lisp/cffi/src/types.lisp
  • lib/common-lisp/cffi/src/utils.lisp
  • lib/common-lisp/cffi/toolchain/bundle.lisp
  • lib/common-lisp/cffi/toolchain/c-toolchain.lisp
  • lib/common-lisp/cffi/toolchain/package.lisp
  • lib/common-lisp/cffi/toolchain/static-link.lisp
  • lib/common-lisp/cffi/uffi-compat/uffi-compat.lisp
  • lib/common-lisp/cffi/uffi-compat/uffi.asd
  • lib/common-lisp/system-registry/cffi-grovel.asd
  • lib/common-lisp/system-registry/cffi-toolchain.asd
  • lib/common-lisp/system-registry/cffi-uffi-compat.asd
  • lib/common-lisp/system-registry/cffi.asd
  • share/doc/cl-cffi/README.md
  • share/doc/cl-cffi/allegro-internals.txt
  • share/doc/cl-cffi/cffi-manual.html
  • share/doc/cl-cffi/cffi-manual.txt
  • share/doc/cl-cffi/cffi-sys-spec.html
  • share/doc/cl-cffi/cffi-sys-spec.txt
  • share/doc/cl-cffi/mem-vector.txt
  • share/doc/cl-cffi/shareable-vectors.txt
  • share/examples/cl-cffi/examples.lisp
  • share/examples/cl-cffi/gethostname.lisp
  • share/examples/cl-cffi/gettimeofday.lisp
  • share/examples/cl-cffi/grovel-example.lisp
  • share/examples/cl-cffi/main-example.lisp
  • share/examples/cl-cffi/mapping.lisp
  • share/examples/cl-cffi/package.lisp
  • share/examples/cl-cffi/run-examples.lisp
  • share/examples/cl-cffi/tests/GNUmakefile
  • share/examples/cl-cffi/tests/Makefile
  • share/examples/cl-cffi/tests/arrays.lisp
  • share/examples/cl-cffi/tests/bindings.lisp
  • share/examples/cl-cffi/tests/callbacks.lisp
  • share/examples/cl-cffi/tests/compile.bat
  • share/examples/cl-cffi/tests/defcfun.lisp
  • share/examples/cl-cffi/tests/enum.lisp
  • share/examples/cl-cffi/tests/foreign-globals.lisp
  • share/examples/cl-cffi/tests/fsbv.lisp
  • share/examples/cl-cffi/tests/funcall.lisp
  • share/examples/cl-cffi/tests/grovel.lisp
  • share/examples/cl-cffi/tests/libfsbv.c
  • share/examples/cl-cffi/tests/libtest.c
  • share/examples/cl-cffi/tests/libtest2.c
  • share/examples/cl-cffi/tests/memory.lisp
  • share/examples/cl-cffi/tests/misc-types.lisp
  • share/examples/cl-cffi/tests/misc.lisp
  • share/examples/cl-cffi/tests/package.lisp
  • share/examples/cl-cffi/tests/random-tester.lisp
  • share/examples/cl-cffi/tests/run-tests.lisp
  • share/examples/cl-cffi/tests/strings.lisp
  • share/examples/cl-cffi/tests/struct.lisp
  • share/examples/cl-cffi/tests/test-asdf.lisp
  • share/examples/cl-cffi/tests/test-static-link.sh
  • share/examples/cl-cffi/tests/union.lisp
  • share/examples/cl-cffi/translator-test.lisp
  • share/examples/cl-cffi/wrapper-example.lisp
distinfo 1
FileSizeSHA256
cffi_0.24.1.tar.gz2621181023dc97baa0f4c8648c3039f6d147978b37a13310869d914b92469b335128c7
Master sites 1
  • http://common-lisp.net/project/cffi/releases/

Commit history 1

DateCommitCreditsLog message
7857593b30 Jimmy Olgeni devel/cl-cffi: Update to 0.24.1.
Build the documentation from the texinfo sources in the distfile instead of fetching pre-generated HTML, text and PDF files from a separate site, where the copies published for this release were all zero bytes. The PDF build pulls in TeX, so it sits behind its own PDF option that is off by default. Install cffi-toolchain, which cffi-grovel now depends on, plus the new src/c2ffi and toolchain modules and grovel/common.h, which grovel includes in the C files it generates.