summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2020-01-19 15:01:24 +0000
committerpho <pho@pkgsrc.org>2020-01-19 15:01:24 +0000
commite1382a5848b0767dd6929febb216e492fc2d286c (patch)
treebb266bfc9197e74096286cb307048825697faeb2 /textproc
parente32e9b16cc181e96a4261189cdb7a61d91068990 (diff)
downloadpkgsrc-e1382a5848b0767dd6929febb216e492fc2d286c.tar.gz
Import megaparsec-8.0.0
This is an industrial-strength monadic parser combinator library. Megaparsec is a feature-rich package that tries to find a nice balance between speed, flexibility, and quality of parse errors.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/hs-megaparsec/DESCR3
-rw-r--r--textproc/hs-megaparsec/Makefile14
-rw-r--r--textproc/hs-megaparsec/buildlink3.mk17
-rw-r--r--textproc/hs-megaparsec/distinfo6
4 files changed, 40 insertions, 0 deletions
diff --git a/textproc/hs-megaparsec/DESCR b/textproc/hs-megaparsec/DESCR
new file mode 100644
index 00000000000..9a181d38687
--- /dev/null
+++ b/textproc/hs-megaparsec/DESCR
@@ -0,0 +1,3 @@
+This is an industrial-strength monadic parser combinator
+library. Megaparsec is a feature-rich package that tries to find a
+nice balance between speed, flexibility, and quality of parse errors.
diff --git a/textproc/hs-megaparsec/Makefile b/textproc/hs-megaparsec/Makefile
new file mode 100644
index 00000000000..c4aa1908fe4
--- /dev/null
+++ b/textproc/hs-megaparsec/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2020/01/19 15:01:24 pho Exp $
+
+DISTNAME= megaparsec-8.0.0
+CATEGORIES= textproc
+
+MAINTAINER= pho@cielonegro.org
+COMMENT= Monadic parser combinators
+LICENSE= modified-bsd
+
+.include "../../textproc/hs-case-insensitive/buildlink3.mk"
+.include "../../devel/hs-parser-combinators/buildlink3.mk"
+.include "../../math/hs-scientific/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/hs-megaparsec/buildlink3.mk b/textproc/hs-megaparsec/buildlink3.mk
new file mode 100644
index 00000000000..3bcca36ea02
--- /dev/null
+++ b/textproc/hs-megaparsec/buildlink3.mk
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/01/19 15:01:24 pho Exp $
+
+BUILDLINK_TREE+= hs-megaparsec
+
+.if !defined(HS_MEGAPARSEC_BUILDLINK3_MK)
+HS_MEGAPARSEC_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-megaparsec+= hs-megaparsec>=8.0.0
+BUILDLINK_ABI_DEPENDS.hs-megaparsec+= hs-megaparsec>=8.0.0
+BUILDLINK_PKGSRCDIR.hs-megaparsec?= ../../textproc/hs-megaparsec
+
+.include "../../textproc/hs-case-insensitive/buildlink3.mk"
+.include "../../devel/hs-parser-combinators/buildlink3.mk"
+.include "../../math/hs-scientific/buildlink3.mk"
+.endif # HS_MEGAPARSEC_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-megaparsec
diff --git a/textproc/hs-megaparsec/distinfo b/textproc/hs-megaparsec/distinfo
new file mode 100644
index 00000000000..a7a00f88f8d
--- /dev/null
+++ b/textproc/hs-megaparsec/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/19 15:01:24 pho Exp $
+
+SHA1 (megaparsec-8.0.0.tar.gz) = d4f94c665d3982535712172145241e153dd6cb18
+RMD160 (megaparsec-8.0.0.tar.gz) = 261302a0c7b6ce7a0f9c4324b82cb27fb5f6ab05
+SHA512 (megaparsec-8.0.0.tar.gz) = ab550a99548da2739a70cc4bdb3313085b3179c58d19a84d30744d89fe2d7556b9b552d4ad7b177b18f9f5821daa5417c2b9267eadd9eb537132666c151513c3
+Size (megaparsec-8.0.0.tar.gz) = 59692 bytes