# The devel/c2hs port

## c2hs-0.16.6 – interface generator for Haskell to C bindings

## Description

    c2hs is an interface generator that simplifies the development of
    Haskell bindings to C libraries.  The tool processes existing C
    header files that determine data layout and function signatures on
    the C side, in conjunction with Haskell modules that specify
    Haskell-side type signatures and marshaling details. Hooks embedded
    in the Haskell code signal access to C structures and functions;
    they are expanded by the interfacing tool in conjunction with
    information in the corresponding C header file.  A noteworthy
    property is the lightweight nature of the approach.

WWW: http://www.cse.unsw.edu.au/~chak/haskell/c2hs/

Only for arches
  amd64 i386
Categories:
  devel

## Library dependencies

- converters/libiconv

## Build dependencies

- STEM->=0.4.2,<0.5:devel/hs-language-c
- devel/gmake
- lang/ghc
- textproc/docbook-xsl

## Run dependencies

- converters/libiconv