# -*- 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
haskell.setup c2hs 0.16.5 ghc no
checksums rmd160 71d8809a6ed56cffd17bc2bb3f4d3ec95d13eec4 \
sha256 1e55b42f1648fbbee290d9316fa7954b40e3b27e33707cdcb8c7e763effd04a6
description C->Haskell FFI tool that gives some cross-language type safety
C->Haskell assists in the development of Haskell bindings to C libraries. \
It extracts interface information from C header files and generates Haskell \
code with foreign imports and marshaling. Unlike writing foreign imports by \
hand (or using hsch2s), this ensures that C functions are imported with the \
depends_lib-append port:hs-language-c
# deactivate hack added 2013-06-09
if {![catch {set installed [lindex [registry_active c2hs] 0]}]} {
# this port used to be called c2hs
registry_deactivate_composite c2hs "" [list ports_nodepcheck 1]