diff options
author | pho <pho@pkgsrc.org> | 2020-01-18 23:13:39 +0000 |
---|---|---|
committer | pho <pho@pkgsrc.org> | 2020-01-18 23:13:39 +0000 |
commit | 76d3831ed7dc855dc9482f78c034806e3438d38a (patch) | |
tree | 7a718e8dcf17712b03126ae4c450e9e584705787 | |
parent | 9858e5634214018fc0a53ad8ee380f01f9915ed6 (diff) | |
download | pkgsrc-76d3831ed7dc855dc9482f78c034806e3438d38a.tar.gz |
Import edit-distance-0.2.2.1
Optimized edit distances for fuzzy matching, including Levenshtein and
restricted Damerau-Levenshtein algorithms.
-rw-r--r-- | textproc/hs-edit-distance/DESCR | 2 | ||||
-rw-r--r-- | textproc/hs-edit-distance/Makefile | 12 | ||||
-rw-r--r-- | textproc/hs-edit-distance/buildlink3.mk | 15 | ||||
-rw-r--r-- | textproc/hs-edit-distance/distinfo | 6 |
4 files changed, 35 insertions, 0 deletions
diff --git a/textproc/hs-edit-distance/DESCR b/textproc/hs-edit-distance/DESCR new file mode 100644 index 00000000000..3118f694f14 --- /dev/null +++ b/textproc/hs-edit-distance/DESCR @@ -0,0 +1,2 @@ +Optimized edit distances for fuzzy matching, including Levenshtein and +restricted Damerau-Levenshtein algorithms. diff --git a/textproc/hs-edit-distance/Makefile b/textproc/hs-edit-distance/Makefile new file mode 100644 index 00000000000..d12d23fa2d8 --- /dev/null +++ b/textproc/hs-edit-distance/Makefile @@ -0,0 +1,12 @@ +# $NetBSD: Makefile,v 1.1 2020/01/18 23:13:39 pho Exp $ + +DISTNAME= edit-distance-0.2.2.1 +CATEGORIES= textproc + +MAINTAINER= pho@cielonegro.org +COMMENT= Levenshtein and restricted Damerau-Levenshtein edit distances +LICENSE= modified-bsd + +.include "../../devel/hs-random/buildlink3.mk" +.include "../../mk/haskell.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/hs-edit-distance/buildlink3.mk b/textproc/hs-edit-distance/buildlink3.mk new file mode 100644 index 00000000000..a69897e60b0 --- /dev/null +++ b/textproc/hs-edit-distance/buildlink3.mk @@ -0,0 +1,15 @@ +# $NetBSD: buildlink3.mk,v 1.1 2020/01/18 23:13:39 pho Exp $ + +BUILDLINK_TREE+= hs-edit-distance + +.if !defined(HS_EDIT_DISTANCE_BUILDLINK3_MK) +HS_EDIT_DISTANCE_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.hs-edit-distance+= hs-edit-distance>=0.2.2 +BUILDLINK_ABI_DEPENDS.hs-edit-distance+= hs-edit-distance>=0.2.2.1 +BUILDLINK_PKGSRCDIR.hs-edit-distance?= ../../textproc/hs-edit-distance + +.include "../../devel/hs-random/buildlink3.mk" +.endif # HS_EDIT_DISTANCE_BUILDLINK3_MK + +BUILDLINK_TREE+= -hs-edit-distance diff --git a/textproc/hs-edit-distance/distinfo b/textproc/hs-edit-distance/distinfo new file mode 100644 index 00000000000..821a4873ab3 --- /dev/null +++ b/textproc/hs-edit-distance/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2020/01/18 23:13:39 pho Exp $ + +SHA1 (edit-distance-0.2.2.1.tar.gz) = d5feacb084ede6e1164813a5bf8ada890cc2ebad +RMD160 (edit-distance-0.2.2.1.tar.gz) = e646f0712750d3d2b68d2b4dc40d93d726e27b56 +SHA512 (edit-distance-0.2.2.1.tar.gz) = 67d19c9f5712191f88641d32ff0b84aaf05c2acd71cfa81a17675690ac9076b34aff687afa8501f8b22ddcece12a439e053265d14b70dc155b0e08406050fdd7 +Size (edit-distance-0.2.2.1.tar.gz) = 13228 bytes |