diff options
author | szptvlfn <szptvlfn@pkgsrc.org> | 2014-05-19 21:15:55 +0000 |
---|---|---|
committer | szptvlfn <szptvlfn@pkgsrc.org> | 2014-05-19 21:15:55 +0000 |
commit | 1a85954f4db540d78bb844c1c3a517e70bfa20b5 (patch) | |
tree | c86fbdb779312b1e2253a03b1076b0782f450e6e /textproc | |
parent | 6e2bbd1caaf5c55ef6abe38d0f4a531c6fca1532 (diff) | |
download | pkgsrc-1a85954f4db540d78bb844c1c3a517e70bfa20b5.tar.gz |
Import parsec-3.1.5 as textproc/hs-parsec,
packaged for wip by pho.
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.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/hs-parsec/DESCR | 5 | ||||
-rw-r--r-- | textproc/hs-parsec/Makefile | 13 | ||||
-rw-r--r-- | textproc/hs-parsec/PLIST | 113 | ||||
-rw-r--r-- | textproc/hs-parsec/buildlink3.mk | 15 | ||||
-rw-r--r-- | textproc/hs-parsec/distinfo | 5 |
5 files changed, 151 insertions, 0 deletions
diff --git a/textproc/hs-parsec/DESCR b/textproc/hs-parsec/DESCR new file mode 100644 index 00000000000..cc549233d4f --- /dev/null +++ b/textproc/hs-parsec/DESCR @@ -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. diff --git a/textproc/hs-parsec/Makefile b/textproc/hs-parsec/Makefile new file mode 100644 index 00000000000..5484c30ef1b --- /dev/null +++ b/textproc/hs-parsec/Makefile @@ -0,0 +1,13 @@ +# $NetBSD: Makefile,v 1.1 2014/05/19 21:15:55 szptvlfn Exp $ + +DISTNAME= parsec-3.1.5 +CATEGORIES= textproc + +MAINTAINER= pho@cielonegro.org +COMMENT= Monadic parser combinators +LICENSE= modified-bsd + +.include "../../mk/haskell.mk" +.include "../../devel/hs-mtl/buildlink3.mk" +.include "../../devel/hs-text/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/hs-parsec/PLIST b/textproc/hs-parsec/PLIST new file mode 100644 index 00000000000..4763b0c50bc --- /dev/null +++ b/textproc/hs-parsec/PLIST @@ -0,0 +1,113 @@ +@comment $NetBSD: PLIST,v 1.1 2014/05/19 21:15:55 szptvlfn Exp $ +lib/parsec-${PKGVERSION}/${HASKELL_VERSION}/HSparsec-${PKGVERSION}.o +lib/parsec-${PKGVERSION}/${HASKELL_VERSION}/Text/Parsec.hi +lib/parsec-${PKGVERSION}/${HASKELL_VERSION}/Text/Parsec/ByteString.hi +lib/parsec-${PKGVERSION}/${HASKELL_VERSION}/Text/Parsec/ByteString/Lazy.hi +lib/parsec-${PKGVERSION}/${HASKELL_VERSION}/Text/Parsec/Char.hi +lib/parsec-${PKGVERSION}/${HASKELL_VERSION}/Text/Parsec/Combinator.hi +lib/parsec-${PKGVERSION}/${HASKELL_VERSION}/Text/Parsec/Error.hi +lib/parsec-${PKGVERSION}/${HASKELL_VERSION}/Text/Parsec/Expr.hi +lib/parsec-${PKGVERSION}/${HASKELL_VERSION}/Text/Parsec/Language.hi +lib/parsec-${PKGVERSION}/${HASKELL_VERSION}/Text/Parsec/Perm.hi +lib/parsec-${PKGVERSION}/${HASKELL_VERSION}/Text/Parsec/Pos.hi +lib/parsec-${PKGVERSION}/${HASKELL_VERSION}/Text/Parsec/Prim.hi +lib/parsec-${PKGVERSION}/${HASKELL_VERSION}/Text/Parsec/String.hi +lib/parsec-${PKGVERSION}/${HASKELL_VERSION}/Text/Parsec/Text.hi +lib/parsec-${PKGVERSION}/${HASKELL_VERSION}/Text/Parsec/Text/Lazy.hi +lib/parsec-${PKGVERSION}/${HASKELL_VERSION}/Text/Parsec/Token.hi +lib/parsec-${PKGVERSION}/${HASKELL_VERSION}/Text/ParserCombinators/Parsec.hi +lib/parsec-${PKGVERSION}/${HASKELL_VERSION}/Text/ParserCombinators/Parsec/Char.hi +lib/parsec-${PKGVERSION}/${HASKELL_VERSION}/Text/ParserCombinators/Parsec/Combinator.hi +lib/parsec-${PKGVERSION}/${HASKELL_VERSION}/Text/ParserCombinators/Parsec/Error.hi +lib/parsec-${PKGVERSION}/${HASKELL_VERSION}/Text/ParserCombinators/Parsec/Expr.hi +lib/parsec-${PKGVERSION}/${HASKELL_VERSION}/Text/ParserCombinators/Parsec/Language.hi +lib/parsec-${PKGVERSION}/${HASKELL_VERSION}/Text/ParserCombinators/Parsec/Perm.hi +lib/parsec-${PKGVERSION}/${HASKELL_VERSION}/Text/ParserCombinators/Parsec/Pos.hi +lib/parsec-${PKGVERSION}/${HASKELL_VERSION}/Text/ParserCombinators/Parsec/Prim.hi +lib/parsec-${PKGVERSION}/${HASKELL_VERSION}/Text/ParserCombinators/Parsec/Token.hi +lib/parsec-${PKGVERSION}/${HASKELL_VERSION}/libHSparsec-${PKGVERSION}.a +lib/parsec-${PKGVERSION}/${HASKELL_VERSION}/package-description +share/doc/parsec-${PKGVERSION}/LICENSE +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/Text-Parsec-ByteString-Lazy.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/Text-Parsec-ByteString.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/Text-Parsec-Char.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/Text-Parsec-Combinator.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/Text-Parsec-Error.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/Text-Parsec-Expr.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/Text-Parsec-Language.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/Text-Parsec-Perm.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/Text-Parsec-Pos.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/Text-Parsec-Prim.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/Text-Parsec-String.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/Text-Parsec-Text-Lazy.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/Text-Parsec-Text.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/Text-Parsec-Token.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/Text-Parsec.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/Text-ParserCombinators-Parsec-Char.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/Text-ParserCombinators-Parsec-Combinator.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/Text-ParserCombinators-Parsec-Error.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/Text-ParserCombinators-Parsec-Expr.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/Text-ParserCombinators-Parsec-Language.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/Text-ParserCombinators-Parsec-Perm.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/Text-ParserCombinators-Parsec-Pos.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/Text-ParserCombinators-Parsec-Prim.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/Text-ParserCombinators-Parsec-Token.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/Text-ParserCombinators-Parsec.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/doc-index-60.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/doc-index-A.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/doc-index-All.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/doc-index-B.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/doc-index-C.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/doc-index-D.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/doc-index-E.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/doc-index-F.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/doc-index-G.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/doc-index-H.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/doc-index-I.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/doc-index-J.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/doc-index-L.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/doc-index-M.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/doc-index-N.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/doc-index-O.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/doc-index-P.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/doc-index-R.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/doc-index-S.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/doc-index-T.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/doc-index-U.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/doc-index-W.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/doc-index.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/frames.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/haddock-util.js +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/hslogo-16.png +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/index-frames.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/index.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/mini_Text-Parsec-ByteString-Lazy.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/mini_Text-Parsec-ByteString.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/mini_Text-Parsec-Char.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/mini_Text-Parsec-Combinator.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/mini_Text-Parsec-Error.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/mini_Text-Parsec-Expr.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/mini_Text-Parsec-Language.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/mini_Text-Parsec-Perm.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/mini_Text-Parsec-Pos.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/mini_Text-Parsec-Prim.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/mini_Text-Parsec-String.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/mini_Text-Parsec-Text-Lazy.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/mini_Text-Parsec-Text.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/mini_Text-Parsec-Token.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/mini_Text-Parsec.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/mini_Text-ParserCombinators-Parsec-Char.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/mini_Text-ParserCombinators-Parsec-Combinator.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/mini_Text-ParserCombinators-Parsec-Error.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/mini_Text-ParserCombinators-Parsec-Expr.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/mini_Text-ParserCombinators-Parsec-Language.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/mini_Text-ParserCombinators-Parsec-Perm.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/mini_Text-ParserCombinators-Parsec-Pos.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/mini_Text-ParserCombinators-Parsec-Prim.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/mini_Text-ParserCombinators-Parsec-Token.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/mini_Text-ParserCombinators-Parsec.html +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/minus.gif +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/ocean.css +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/parsec.haddock +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/plus.gif +${PLIST.doc}share/doc/parsec-${PKGVERSION}/html/synopsis.png diff --git a/textproc/hs-parsec/buildlink3.mk b/textproc/hs-parsec/buildlink3.mk new file mode 100644 index 00000000000..a2f4d5417fe --- /dev/null +++ b/textproc/hs-parsec/buildlink3.mk @@ -0,0 +1,15 @@ +# $NetBSD: buildlink3.mk,v 1.1 2014/05/19 21:15:55 szptvlfn Exp $ + +BUILDLINK_TREE+= hs-parsec + +.if !defined(HS_PARSEC_BUILDLINK3_MK) +HS_PARSEC_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.hs-parsec+= hs-parsec>=3.1.5 +BUILDLINK_PKGSRCDIR.hs-parsec?= ../../textproc/hs-parsec + +.include "../../devel/hs-mtl/buildlink3.mk" +.include "../../devel/hs-text/buildlink3.mk" +.endif # HS_PARSEC_BUILDLINK3_MK + +BUILDLINK_TREE+= -hs-parsec diff --git a/textproc/hs-parsec/distinfo b/textproc/hs-parsec/distinfo new file mode 100644 index 00000000000..9c066d45d21 --- /dev/null +++ b/textproc/hs-parsec/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2014/05/19 21:15:55 szptvlfn Exp $ + +SHA1 (parsec-3.1.5.tar.gz) = 8de69177660cdcf12a57b1897aca1356e17a4964 +RMD160 (parsec-3.1.5.tar.gz) = 4d27dffd266c38cc3266ea17b792e00f180b3968 +Size (parsec-3.1.5.tar.gz) = 27894 bytes |