aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Text-Levenshtein
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-Text-Levenshtein')
-rw-r--r--devel/p5-Text-Levenshtein/Makefile21
-rw-r--r--devel/p5-Text-Levenshtein/distinfo2
-rw-r--r--devel/p5-Text-Levenshtein/pkg-descr7
-rw-r--r--devel/p5-Text-Levenshtein/pkg-plist5
4 files changed, 35 insertions, 0 deletions
diff --git a/devel/p5-Text-Levenshtein/Makefile b/devel/p5-Text-Levenshtein/Makefile
new file mode 100644
index 000000000000..f222acadc10b
--- /dev/null
+++ b/devel/p5-Text-Levenshtein/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: p5-Text-Levenshtein
+# Date created: 2011-10-15
+# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Text-Levenshtein
+PORTVERSION= 0.05
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= An implementation of the Levenshtein edit distance
+
+PERL_CONFIGURE= yes
+
+MAN3= Text::Levenshtein.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Text-Levenshtein/distinfo b/devel/p5-Text-Levenshtein/distinfo
new file mode 100644
index 000000000000..e7d33c7d1250
--- /dev/null
+++ b/devel/p5-Text-Levenshtein/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Text-Levenshtein-0.05.tar.gz) = 97143d5d5e45ee3380b6dd285f0a294ee281051c89beed49a064646db3af7e65
+SIZE (Text-Levenshtein-0.05.tar.gz) = 2996
diff --git a/devel/p5-Text-Levenshtein/pkg-descr b/devel/p5-Text-Levenshtein/pkg-descr
new file mode 100644
index 000000000000..86c645f2214b
--- /dev/null
+++ b/devel/p5-Text-Levenshtein/pkg-descr
@@ -0,0 +1,7 @@
+Text::Levenshtein implements the Levenshtein edit distance. The Levenshtein edit
+distance is a measure of the degree of proximity between two strings. This
+distance is the number of substitutions, deletions or insertions ("edits")
+needed to transform one string into the other one (and vice versa). When two
+strings have distance 0, they are the same.
+
+WWW: http://search.cpan.org/dist/Text-Levenshtein/
diff --git a/devel/p5-Text-Levenshtein/pkg-plist b/devel/p5-Text-Levenshtein/pkg-plist
new file mode 100644
index 000000000000..4fd5bfa4caeb
--- /dev/null
+++ b/devel/p5-Text-Levenshtein/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Text/Levenshtein.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Levenshtein/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Levenshtein
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text
+@dirrmtry %%SITE_PERL%%/Text