summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorriastradh <riastradh@pkgsrc.org>2020-03-30 16:44:48 +0000
committerriastradh <riastradh@pkgsrc.org>2020-03-30 16:44:48 +0000
commit687555982369e0f81d27624e7524113b27dd18f9 (patch)
treec0fbeed96e01f3ddbe7108b1adada37fa7d1abd9 /textproc
parentad1d126c38918a175294a988c5d710c86eb5f800 (diff)
downloadpkgsrc-687555982369e0f81d27624e7524113b27dd18f9.tar.gz
hs-Diff: Import version 0.4.0
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile3
-rw-r--r--textproc/hs-Diff/DESCR4
-rw-r--r--textproc/hs-Diff/Makefile15
-rw-r--r--textproc/hs-Diff/buildlink3.mk13
-rw-r--r--textproc/hs-Diff/distinfo6
5 files changed, 40 insertions, 1 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 0b423245e3f..21a068461c9 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1120 2020/03/24 17:15:00 taca Exp $
+# $NetBSD: Makefile,v 1.1121 2020/03/30 16:44:48 riastradh Exp $
#
COMMENT= Text processing utilities (does not include desktop publishing)
@@ -282,6 +282,7 @@ SUBDIR+= hfstospell
SUBDIR+= highlight
SUBDIR+= highway
SUBDIR+= hre
+SUBDIR+= hs-Diff
SUBDIR+= hs-Glob
SUBDIR+= hs-HsYAML
SUBDIR+= hs-annotated-wl-pprint
diff --git a/textproc/hs-Diff/DESCR b/textproc/hs-Diff/DESCR
new file mode 100644
index 00000000000..b6e650dd36e
--- /dev/null
+++ b/textproc/hs-Diff/DESCR
@@ -0,0 +1,4 @@
+O(ND) diff algorithm in Haskell.
+
+Implementation of the standard diff algorithm, and utilities for
+pretty-printing.
diff --git a/textproc/hs-Diff/Makefile b/textproc/hs-Diff/Makefile
new file mode 100644
index 00000000000..6ba499f26ed
--- /dev/null
+++ b/textproc/hs-Diff/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2020/03/30 16:44:48 riastradh Exp $
+
+DISTNAME= Diff-0.4.0
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_HASKELL_HACKAGE:=Diff-${PKGVERSION_NOREV}/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://hackage.haskell.org/package/Diff
+COMMENT= O(ND) diff algorithm in Haskell
+LICENSE= modified-bsd
+
+USE_LANGUAGES= # none
+
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/hs-Diff/buildlink3.mk b/textproc/hs-Diff/buildlink3.mk
new file mode 100644
index 00000000000..c7151c5d49b
--- /dev/null
+++ b/textproc/hs-Diff/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/03/30 16:44:48 riastradh Exp $
+
+BUILDLINK_TREE+= hs-Diff
+
+.if !defined(HS_DIFF_BUILDLINK3_MK)
+HS_DIFF_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-Diff+= hs-Diff>=0.4.0
+BUILDLINK_ABI_DEPENDS.hs-Diff+= hs-Diff>=0.4.0
+BUILDLINK_PKGSRCDIR.hs-Diff?= ../../textproc/hs-Diff
+.endif # HS_DIFF_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-Diff
diff --git a/textproc/hs-Diff/distinfo b/textproc/hs-Diff/distinfo
new file mode 100644
index 00000000000..43bad014372
--- /dev/null
+++ b/textproc/hs-Diff/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/03/30 16:44:48 riastradh Exp $
+
+SHA1 (Diff-0.4.0.tar.gz) = aec51ca97a0e5f18320122074f0bc04c631bd75f
+RMD160 (Diff-0.4.0.tar.gz) = e2df45050370e521c754500ba389532f58b716d8
+SHA512 (Diff-0.4.0.tar.gz) = 6a48a234d3140bc8c641cdf649a1f0daa39ab4de4064435dcbb15a9ea52994c967aadc8584f70aab89ef78e17ecc66b8ce3d8dd2157eb5b85277dfff80fd608c
+Size (Diff-0.4.0.tar.gz) = 8065 bytes