Import parsec-3.0.0 as wip/parsec.

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. It is defined as a monad transformer that can be stacked on
arbitrary monads, and it is also parametric in the input stream type.
This commit is contained in:
PHO / phonohawk 2009-01-12 05:53:43 +00:00 committed by Thomas Klausner
parent 6522d739aa
commit 4173760097
5 changed files with 83 additions and 0 deletions

5
parsec/DESCR Normal file
View file

@ -0,0 +1,5 @@
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. It is defined as a monad transformer that can be stacked on
arbitrary monads, and it is also parametric in the input stream type.

15
parsec/Makefile Normal file
View file

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1.1.1 2009/01/12 05:53:43 phonohawk Exp $
#
DISTNAME= parsec-3.0.0
CATEGORIES= devel
MAINTAINER= pho@cielonegro.org
HOMEPAGE= http://www.cs.uu.nl/~daan/parsec.html
COMMENT= Monadic parser combinators
USE_LANGUAGES= # none
.include "../../wip/mk/haskell.mk"
.include "../../wip/hs-mtl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

36
parsec/PLIST Normal file
View file

@ -0,0 +1,36 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/12 05:53:43 phonohawk Exp $
lib/${PKGNAME}/${HASKELL_VERSION}/HS${PKGNAME}.o
lib/${PKGNAME}/${HASKELL_VERSION}/Text/Parsec.hi
lib/${PKGNAME}/${HASKELL_VERSION}/Text/Parsec/ByteString.hi
lib/${PKGNAME}/${HASKELL_VERSION}/Text/Parsec/ByteString/Lazy.hi
lib/${PKGNAME}/${HASKELL_VERSION}/Text/Parsec/Char.hi
lib/${PKGNAME}/${HASKELL_VERSION}/Text/Parsec/Combinator.hi
lib/${PKGNAME}/${HASKELL_VERSION}/Text/Parsec/Error.hi
lib/${PKGNAME}/${HASKELL_VERSION}/Text/Parsec/Expr.hi
lib/${PKGNAME}/${HASKELL_VERSION}/Text/Parsec/Language.hi
lib/${PKGNAME}/${HASKELL_VERSION}/Text/Parsec/Perm.hi
lib/${PKGNAME}/${HASKELL_VERSION}/Text/Parsec/Pos.hi
lib/${PKGNAME}/${HASKELL_VERSION}/Text/Parsec/Prim.hi
lib/${PKGNAME}/${HASKELL_VERSION}/Text/Parsec/String.hi
lib/${PKGNAME}/${HASKELL_VERSION}/Text/Parsec/Token.hi
lib/${PKGNAME}/${HASKELL_VERSION}/Text/ParserCombinators/Parsec.hi
lib/${PKGNAME}/${HASKELL_VERSION}/Text/ParserCombinators/Parsec/Char.hi
lib/${PKGNAME}/${HASKELL_VERSION}/Text/ParserCombinators/Parsec/Combinator.hi
lib/${PKGNAME}/${HASKELL_VERSION}/Text/ParserCombinators/Parsec/Error.hi
lib/${PKGNAME}/${HASKELL_VERSION}/Text/ParserCombinators/Parsec/Expr.hi
lib/${PKGNAME}/${HASKELL_VERSION}/Text/ParserCombinators/Parsec/Language.hi
lib/${PKGNAME}/${HASKELL_VERSION}/Text/ParserCombinators/Parsec/Perm.hi
lib/${PKGNAME}/${HASKELL_VERSION}/Text/ParserCombinators/Parsec/Pos.hi
lib/${PKGNAME}/${HASKELL_VERSION}/Text/ParserCombinators/Parsec/Prim.hi
lib/${PKGNAME}/${HASKELL_VERSION}/Text/ParserCombinators/Parsec/Token.hi
lib/${PKGNAME}/${HASKELL_VERSION}/libHS${PKGNAME}.a
lib/${PKGNAME}/${HASKELL_VERSION}/package-description
share/doc/${PKGNAME}/LICENSE
@dirrm share/doc/${PKGNAME}
@dirrm lib/${PKGNAME}/${HASKELL_VERSION}/Text/ParserCombinators/Parsec
@dirrm lib/${PKGNAME}/${HASKELL_VERSION}/Text/ParserCombinators
@dirrm lib/${PKGNAME}/${HASKELL_VERSION}/Text/Parsec/ByteString
@dirrm lib/${PKGNAME}/${HASKELL_VERSION}/Text/Parsec
@dirrm lib/${PKGNAME}/${HASKELL_VERSION}/Text
@dirrm lib/${PKGNAME}/${HASKELL_VERSION}
@dirrm lib/${PKGNAME}

22
parsec/buildlink3.mk Normal file
View file

@ -0,0 +1,22 @@
# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/01/12 05:53:43 phonohawk Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PARSEC_BUILDLINK3_MK:= ${PARSEC_BUILDLINK3_MK}+
.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+= parsec
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nparsec}
BUILDLINK_PACKAGES+= parsec
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}parsec
.if ${PARSEC_BUILDLINK3_MK} == "+"
BUILDLINK_DEPMETHOD.parsec?= build
BUILDLINK_API_DEPENDS.parsec+= parsec>=3.0.0
BUILDLINK_PKGSRCDIR.parsec?= ../../wip/parsec
.endif # PARSEC_BUILDLINK3_MK
.include "../../wip/hs-mtl/buildlink3.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}

5
parsec/distinfo Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2009/01/12 05:53:43 phonohawk Exp $
SHA1 (parsec-3.0.0.tar.gz) = 169f9d024bcefed6640656ef93ba697e9980ef8a
RMD160 (parsec-3.0.0.tar.gz) = 22e8bc558b0a539bdb179d00fa1b7780e1f2fd19
Size (parsec-3.0.0.tar.gz) = 26661 bytes