dons d1011d2804 Import C->Haskell (c2hs)
C->Haskell 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. 

ok pvalchev@
2004-05-08 07:21:03 +00:00

21 lines
669 B
Plaintext

@comment $OpenBSD: PLIST,v 1.1.1.1 2004/05/08 07:21:03 dons Exp $
bin/c2hs
bin/c2hs-config
lib/c2hs/c2hs.conf
lib/c2hs/imports/C2HS.hi
lib/c2hs/imports/C2HSBase.hi
lib/c2hs/imports/C2HSDeprecated.hi
lib/c2hs/imports/C2HSMarsh.hi
lib/c2hs/imports/NewStablePtr.hi
lib/c2hs/imports/NewStorable.hi
lib/c2hs/libc2hs.a
man/man1/c2hs-config.1
man/man1/c2hs.1
@dirrm lib/c2hs/imports
@dirrm lib/c2hs
@comment call ghc-pkg to register/unregister this library with ghc
@exec cat %D/lib/c2hs/c2hs.conf | /usr/bin/env PREFIX=%D %D/bin/ghc-pkg -u
@exec /bin/rm -f %D/lib/ghc-6.2.1/package.conf.old
@unexec %D/bin/ghc-pkg -r c2hs
@unexec /bin/rm -f %D/lib/ghc-6.2.1/package.conf.old