Import hs-parsec, a library for monadic parser combinators.

Required by the Haskell Platform, probably needed by darcs, too.

Not yet wired to the build.
This commit is contained in:
kili 2010-04-06 15:10:56 +00:00
parent a38ac88468
commit 0e94409373
4 changed files with 106 additions and 0 deletions

21
devel/hs-parsec/Makefile Normal file
View File

@ -0,0 +1,21 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/04/06 15:10:56 kili Exp $
COMMENT = Monadic parser combinators
DISTNAME = parsec-2.1.0.1
CATEGORIES = devel
HOMEPAGE = http://www.cs.uu.nl/~daan/parsec.html
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
.include <bsd.port.mk>

5
devel/hs-parsec/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (parsec-2.1.0.1.tar.gz) = VX2TUBnsTZZvIQP98ajFWQ==
RMD160 (parsec-2.1.0.1.tar.gz) = ld3JGZ8dpeB3PbL2U9OU2+B5dO4=
SHA1 (parsec-2.1.0.1.tar.gz) = 8Jx/y/ZsOcxN4qUNuxN0uoIWi1I=
SHA256 (parsec-2.1.0.1.tar.gz) = LYXltciysfNBA3zmfh23+kezHAgxNnls/vnluUXGVt8=
SIZE (parsec-2.1.0.1.tar.gz) = 15430

View File

@ -0,0 +1,4 @@
Parsec is designed from scratch as an industrial-strength parser
library. It is simple, safe, well documented (on the package
homepage), has extensive libraries and good error messages, and is
also fast.

76
devel/hs-parsec/pkg/PLIST Normal file
View File

@ -0,0 +1,76 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/04/06 15:10:56 kili Exp $
lib/${DISTNAME}/
lib/${DISTNAME}/ghc-${MODGHC_VER}/
lib/${DISTNAME}/ghc-${MODGHC_VER}/HS${DISTNAME}.o
lib/${DISTNAME}/ghc-${MODGHC_VER}/Text/
lib/${DISTNAME}/ghc-${MODGHC_VER}/Text/ParserCombinators/
lib/${DISTNAME}/ghc-${MODGHC_VER}/Text/ParserCombinators/Parsec/
lib/${DISTNAME}/ghc-${MODGHC_VER}/Text/ParserCombinators/Parsec.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Text/ParserCombinators/Parsec/Char.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Text/ParserCombinators/Parsec/Combinator.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Text/ParserCombinators/Parsec/Error.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Text/ParserCombinators/Parsec/Expr.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Text/ParserCombinators/Parsec/Language.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Text/ParserCombinators/Parsec/Perm.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Text/ParserCombinators/Parsec/Pos.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Text/ParserCombinators/Parsec/Prim.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Text/ParserCombinators/Parsec/Token.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/Text-ParserCombinators-Parsec-Char.html
share/doc/${DISTNAME}/html/Text-ParserCombinators-Parsec-Combinator.html
share/doc/${DISTNAME}/html/Text-ParserCombinators-Parsec-Error.html
share/doc/${DISTNAME}/html/Text-ParserCombinators-Parsec-Expr.html
share/doc/${DISTNAME}/html/Text-ParserCombinators-Parsec-Language.html
share/doc/${DISTNAME}/html/Text-ParserCombinators-Parsec-Perm.html
share/doc/${DISTNAME}/html/Text-ParserCombinators-Parsec-Pos.html
share/doc/${DISTNAME}/html/Text-ParserCombinators-Parsec-Prim.html
share/doc/${DISTNAME}/html/Text-ParserCombinators-Parsec-Token.html
share/doc/${DISTNAME}/html/Text-ParserCombinators-Parsec.html
share/doc/${DISTNAME}/html/doc-index-60.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-J.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-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/mini_Text-ParserCombinators-Parsec-Char.html
share/doc/${DISTNAME}/html/mini_Text-ParserCombinators-Parsec-Combinator.html
share/doc/${DISTNAME}/html/mini_Text-ParserCombinators-Parsec-Error.html
share/doc/${DISTNAME}/html/mini_Text-ParserCombinators-Parsec-Expr.html
share/doc/${DISTNAME}/html/mini_Text-ParserCombinators-Parsec-Language.html
share/doc/${DISTNAME}/html/mini_Text-ParserCombinators-Parsec-Perm.html
share/doc/${DISTNAME}/html/mini_Text-ParserCombinators-Parsec-Pos.html
share/doc/${DISTNAME}/html/mini_Text-ParserCombinators-Parsec-Prim.html
share/doc/${DISTNAME}/html/mini_Text-ParserCombinators-Parsec-Token.html
share/doc/${DISTNAME}/html/mini_Text-ParserCombinators-Parsec.html
share/doc/${DISTNAME}/html/minus.gif
share/doc/${DISTNAME}/html/parsec.haddock
share/doc/${DISTNAME}/html/plus.gif