diff options
author | Gabor Pali <pgj@FreeBSD.org> | 2012-12-20 02:23:04 +0000 |
---|---|---|
committer | Gabor Pali <pgj@FreeBSD.org> | 2012-12-20 02:23:04 +0000 |
commit | f6f83c9efc2c46d2970746758e2c682bb8a518ec (patch) | |
tree | 290f2ea61305744bf0f477895c56b92acaeb361f /devel/hs-c2hs | |
parent | af071cfdc1f8578bd1523b823e683074a3139a34 (diff) | |
download | ports-f6f83c9efc2c46d2970746758e2c682bb8a518ec.tar.gz ports-f6f83c9efc2c46d2970746758e2c682bb8a518ec.zip |
Notes
Diffstat (limited to 'devel/hs-c2hs')
-rw-r--r-- | devel/hs-c2hs/Makefile | 11 | ||||
-rw-r--r-- | devel/hs-c2hs/distinfo | 4 | ||||
-rw-r--r-- | devel/hs-c2hs/pkg-descr | 13 |
3 files changed, 10 insertions, 18 deletions
diff --git a/devel/hs-c2hs/Makefile b/devel/hs-c2hs/Makefile index 40f914b91904..ce63c1126f65 100644 --- a/devel/hs-c2hs/Makefile +++ b/devel/hs-c2hs/Makefile @@ -1,17 +1,12 @@ -# New ports collection makefile for: c2hs -# Date created: 23 August 2002 -# Whom: Oliver Braun <obraun@FreeBSD.org> -# +# Created by: Oliver Braun <obraun@FreeBSD.org> # $FreeBSD$ -# PORTNAME= c2hs -PORTVERSION= 0.16.3 -PORTREVISION= 3 +PORTVERSION= 0.16.4 CATEGORIES= devel haskell MAINTAINER= haskell@FreeBSD.org -COMMENT= C->Haskell, an Interface Generator for Haskell +COMMENT= C->Haskell tool that gives some cross-language type safety LICENSE= GPLv2 FILE_LICENSE= COPYING diff --git a/devel/hs-c2hs/distinfo b/devel/hs-c2hs/distinfo index b577dc607a95..cf3ccb826975 100644 --- a/devel/hs-c2hs/distinfo +++ b/devel/hs-c2hs/distinfo @@ -1,2 +1,2 @@ -SHA256 (cabal/c2hs-0.16.3.tar.gz) = a562be4f9c2d2a2c55bc61233f86e129aff1ec6ac588b9eb904e17379beb1ae3 -SIZE (cabal/c2hs-0.16.3.tar.gz) = 137409 +SHA256 (cabal/c2hs-0.16.4.tar.gz) = f1b15c18de884273eeab4400097a6fad8373849835e2a943d4583d9602fb1555 +SIZE (cabal/c2hs-0.16.4.tar.gz) = 138114 diff --git a/devel/hs-c2hs/pkg-descr b/devel/hs-c2hs/pkg-descr index ccded44a2df6..9853bcb2643d 100644 --- a/devel/hs-c2hs/pkg-descr +++ b/devel/hs-c2hs/pkg-descr @@ -1,10 +1,7 @@ -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 dependence on -information from the corresponding C header file. Another noteworthy property -is the lightweight nature of the approach. +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 correct Haskell types. WWW: http://www.cse.unsw.edu.au/~chak/haskell/c2hs/ |