summaryrefslogtreecommitdiff
path: root/textproc/p5-Text-WagnerFischer
diff options
context:
space:
mode:
authorobache <obache>2011-06-19 09:08:05 +0000
committerobache <obache>2011-06-19 09:08:05 +0000
commitb04ae016b806469e6a1f3106ea5f5f00e4083e5f (patch)
tree96b212275d77639365c5cf21f7b1efa1b0d90657 /textproc/p5-Text-WagnerFischer
parentb490d139f317fdd34fc8d39489af087a09ff98d6 (diff)
downloadpkgsrc-b04ae016b806469e6a1f3106ea5f5f00e4083e5f.tar.gz
Import p5-Text-WagnerFischer-0.04 as textproc/p5-Text-WagnerFischer.
PR#44976 by David H. Gutteridge. This module implements the Wagner-Fischer dynamic programming technique, used here to calculate the edit distance of two strings. The edit distance is a measure of the degree of proximity between two strings, based on "edits": the operations of substitutions, deletions or insertions needed to transform the string into the other one (and vice versa). The module is designed to be easily extensible by functioning as a base class for other modules.
Diffstat (limited to 'textproc/p5-Text-WagnerFischer')
-rw-r--r--textproc/p5-Text-WagnerFischer/DESCR7
-rw-r--r--textproc/p5-Text-WagnerFischer/Makefile20
-rw-r--r--textproc/p5-Text-WagnerFischer/distinfo5
3 files changed, 32 insertions, 0 deletions
diff --git a/textproc/p5-Text-WagnerFischer/DESCR b/textproc/p5-Text-WagnerFischer/DESCR
new file mode 100644
index 00000000000..17eb4f4a736
--- /dev/null
+++ b/textproc/p5-Text-WagnerFischer/DESCR
@@ -0,0 +1,7 @@
+This module implements the Wagner-Fischer dynamic programming
+technique, used here to calculate the edit distance of two strings.
+The edit distance is a measure of the degree of proximity between two
+strings, based on "edits": the operations of substitutions, deletions
+or insertions needed to transform the string into the other one (and
+vice versa). The module is designed to be easily extensible by
+functioning as a base class for other modules.
diff --git a/textproc/p5-Text-WagnerFischer/Makefile b/textproc/p5-Text-WagnerFischer/Makefile
new file mode 100644
index 00000000000..5dac7f5985d
--- /dev/null
+++ b/textproc/p5-Text-WagnerFischer/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/06/19 09:08:05 obache Exp $
+#
+
+DISTNAME= Text-WagnerFischer-0.04
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Text/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Text-WagnerFischer
+COMMENT= Perl module for configurable edit distance calculations
+LICENSE= ${PERL5_LICENSE}
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PERL5_PACKLIST= auto/Text/WagnerFischer/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/p5-Text-WagnerFischer/distinfo b/textproc/p5-Text-WagnerFischer/distinfo
new file mode 100644
index 00000000000..c520d7220cc
--- /dev/null
+++ b/textproc/p5-Text-WagnerFischer/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/06/19 09:08:05 obache Exp $
+
+SHA1 (Text-WagnerFischer-0.04.tar.gz) = a856e9e3d802b7f3845e1957a58ffd5ea930680f
+RMD160 (Text-WagnerFischer-0.04.tar.gz) = efed4a11e5b4fa242755483d57e6da8862d4d528
+Size (Text-WagnerFischer-0.04.tar.gz) = 3461 bytes