Include hs-language-c, a Haskell library for the analysis and

generation of C code. Will be required by c2hs.
This commit is contained in:
kili 2010-04-08 14:17:30 +00:00
parent bdb67b5dc0
commit 87b2174eab
4 changed files with 167 additions and 0 deletions

View File

@ -0,0 +1,27 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/04/08 14:17:30 kili Exp $
COMMENT = analysis and generation of C code in Haskell
DISTNAME = language-c-0.3.1.1
CATEGORIES = devel
HOMEPAGE = http://www.sivity.net/projects/language.c/
MAINTAINER = Matthias Kilian <kili@openbsd.org>
# BSD3
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = lang/ghc
MODGHC_BUILD = cabal hackage haddock register
BUILD_DEPENDS = ::devel/alex \
::devel/happy
NO_REGRESS = Yes
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (language-c-0.3.1.1.tar.gz) = TgNgtkOb2NZRnOxrwhPZBg==
RMD160 (language-c-0.3.1.1.tar.gz) = 2rddfQL+IekVsy5jESJ0xGgQyUo=
SHA1 (language-c-0.3.1.1.tar.gz) = j1TvB7p1iIpOBnC7yPzPJHTUy0g=
SHA256 (language-c-0.3.1.1.tar.gz) = 8FmaRJu2CmIDqdOuqabSCvb0oS3r9JFMynR0Hf1uvg0=
SIZE (language-c-0.3.1.1.tar.gz) = 140876

View File

@ -0,0 +1,3 @@
Language C is a haskell library for the analysis and generation of
C code. It features a complete, well tested parser and pretty
printer for all of C99 and a large set of GNU extensions.

View File

@ -0,0 +1,132 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/04/08 14:17:30 kili Exp $
lib/${DISTNAME}/
lib/${DISTNAME}/ghc-${MODGHC_VER}/
lib/${DISTNAME}/ghc-${MODGHC_VER}/HS${DISTNAME}.o
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Analysis/
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Analysis.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Analysis/AstAnalysis.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Analysis/Debug.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Analysis/DeclAnalysis.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Analysis/DefTable.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Analysis/Export.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Analysis/NameSpaceMap.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Analysis/SemError.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Analysis/SemRep.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Analysis/TravMonad.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Data/
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Data.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Data/Error.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Data/Ident.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Data/InputStream.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Data/Name.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Data/Node.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Data/Position.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Data/RList.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Parser/
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Parser.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Parser/Builtin.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Parser/Lexer.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Parser/Parser.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Parser/ParserMonad.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Parser/Tokens.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Pretty.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Syntax/
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Syntax.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Syntax/AST.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Syntax/Constants.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/Syntax/Ops.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/System/
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/System/GCC.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Language/C/System/Preprocess.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/libHS${DISTNAME}.a
lib/${DISTNAME}/register.sh
@exec /usr/bin/env HOME=/nonexistent %D/lib/${DISTNAME}/register.sh
@unexec-delete /usr/bin/env HOME=/nonexistent %D/lib/${DISTNAME}/unregister.sh
lib/${DISTNAME}/unregister.sh
share/doc/${DISTNAME}/
share/doc/${DISTNAME}/LICENSE
share/doc/${DISTNAME}/html/
share/doc/${DISTNAME}/html/Language-C-Analysis-AstAnalysis.html
share/doc/${DISTNAME}/html/Language-C-Analysis-Debug.html
share/doc/${DISTNAME}/html/Language-C-Analysis-DeclAnalysis.html
share/doc/${DISTNAME}/html/Language-C-Analysis-DefTable.html
share/doc/${DISTNAME}/html/Language-C-Analysis-Export.html
share/doc/${DISTNAME}/html/Language-C-Analysis-SemError.html
share/doc/${DISTNAME}/html/Language-C-Analysis-SemRep.html
share/doc/${DISTNAME}/html/Language-C-Analysis-TravMonad.html
share/doc/${DISTNAME}/html/Language-C-Analysis.html
share/doc/${DISTNAME}/html/Language-C-Data-Error.html
share/doc/${DISTNAME}/html/Language-C-Data-Ident.html
share/doc/${DISTNAME}/html/Language-C-Data-InputStream.html
share/doc/${DISTNAME}/html/Language-C-Data-Name.html
share/doc/${DISTNAME}/html/Language-C-Data-Node.html
share/doc/${DISTNAME}/html/Language-C-Data-Position.html
share/doc/${DISTNAME}/html/Language-C-Data.html
share/doc/${DISTNAME}/html/Language-C-Parser.html
share/doc/${DISTNAME}/html/Language-C-Pretty.html
share/doc/${DISTNAME}/html/Language-C-Syntax-AST.html
share/doc/${DISTNAME}/html/Language-C-Syntax-Constants.html
share/doc/${DISTNAME}/html/Language-C-Syntax-Ops.html
share/doc/${DISTNAME}/html/Language-C-Syntax.html
share/doc/${DISTNAME}/html/Language-C-System-GCC.html
share/doc/${DISTNAME}/html/Language-C-System-Preprocess.html
share/doc/${DISTNAME}/html/Language-C.html
share/doc/${DISTNAME}/html/doc-index-A.html
share/doc/${DISTNAME}/html/doc-index-B.html
share/doc/${DISTNAME}/html/doc-index-C.html
share/doc/${DISTNAME}/html/doc-index-D.html
share/doc/${DISTNAME}/html/doc-index-E.html
share/doc/${DISTNAME}/html/doc-index-F.html
share/doc/${DISTNAME}/html/doc-index-G.html
share/doc/${DISTNAME}/html/doc-index-H.html
share/doc/${DISTNAME}/html/doc-index-I.html
share/doc/${DISTNAME}/html/doc-index-K.html
share/doc/${DISTNAME}/html/doc-index-L.html
share/doc/${DISTNAME}/html/doc-index-M.html
share/doc/${DISTNAME}/html/doc-index-N.html
share/doc/${DISTNAME}/html/doc-index-O.html
share/doc/${DISTNAME}/html/doc-index-P.html
share/doc/${DISTNAME}/html/doc-index-R.html
share/doc/${DISTNAME}/html/doc-index-S.html
share/doc/${DISTNAME}/html/doc-index-T.html
share/doc/${DISTNAME}/html/doc-index-U.html
share/doc/${DISTNAME}/html/doc-index-V.html
share/doc/${DISTNAME}/html/doc-index-W.html
share/doc/${DISTNAME}/html/doc-index.html
share/doc/${DISTNAME}/html/frames.html
share/doc/${DISTNAME}/html/haddock-util.js
share/doc/${DISTNAME}/html/haddock.css
share/doc/${DISTNAME}/html/haskell_icon.gif
share/doc/${DISTNAME}/html/index-frames.html
share/doc/${DISTNAME}/html/index.html
share/doc/${DISTNAME}/html/language-c.haddock
share/doc/${DISTNAME}/html/mini_Language-C-Analysis-AstAnalysis.html
share/doc/${DISTNAME}/html/mini_Language-C-Analysis-Debug.html
share/doc/${DISTNAME}/html/mini_Language-C-Analysis-DeclAnalysis.html
share/doc/${DISTNAME}/html/mini_Language-C-Analysis-DefTable.html
share/doc/${DISTNAME}/html/mini_Language-C-Analysis-Export.html
share/doc/${DISTNAME}/html/mini_Language-C-Analysis-SemError.html
share/doc/${DISTNAME}/html/mini_Language-C-Analysis-SemRep.html
share/doc/${DISTNAME}/html/mini_Language-C-Analysis-TravMonad.html
share/doc/${DISTNAME}/html/mini_Language-C-Analysis.html
share/doc/${DISTNAME}/html/mini_Language-C-Data-Error.html
share/doc/${DISTNAME}/html/mini_Language-C-Data-Ident.html
share/doc/${DISTNAME}/html/mini_Language-C-Data-InputStream.html
share/doc/${DISTNAME}/html/mini_Language-C-Data-Name.html
share/doc/${DISTNAME}/html/mini_Language-C-Data-Node.html
share/doc/${DISTNAME}/html/mini_Language-C-Data-Position.html
share/doc/${DISTNAME}/html/mini_Language-C-Data.html
share/doc/${DISTNAME}/html/mini_Language-C-Parser.html
share/doc/${DISTNAME}/html/mini_Language-C-Pretty.html
share/doc/${DISTNAME}/html/mini_Language-C-Syntax-AST.html
share/doc/${DISTNAME}/html/mini_Language-C-Syntax-Constants.html
share/doc/${DISTNAME}/html/mini_Language-C-Syntax-Ops.html
share/doc/${DISTNAME}/html/mini_Language-C-Syntax.html
share/doc/${DISTNAME}/html/mini_Language-C-System-GCC.html
share/doc/${DISTNAME}/html/mini_Language-C-System-Preprocess.html
share/doc/${DISTNAME}/html/mini_Language-C.html
share/doc/${DISTNAME}/html/minus.gif
share/doc/${DISTNAME}/html/plus.gif