summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2005-07-16 15:29:53 +0000
committerErwin Lansing <erwin@FreeBSD.org>2005-07-16 15:29:53 +0000
commit78b2efa7c7f23228a355c86bf87f6ea233ba917a (patch)
tree9150c5ba8e959e23c5cee74c749f222d1a5bbeb2 /devel
parentAdd p5-JavaScript-SpiderMonkey 0.11, perl interface to Mozilla (diff)
Add p5-Text-LevenshteinXS 0.03, text::LevenshteinXS - CPAN Levenshtein
edit distance. PR: ports/82396 Submitted by: christian
Notes
Notes: svn path=/head/; revision=139354
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Text-LevenshteinXS/Makefile28
-rw-r--r--devel/p5-Text-LevenshteinXS/distinfo2
-rw-r--r--devel/p5-Text-LevenshteinXS/pkg-descr7
-rw-r--r--devel/p5-Text-LevenshteinXS/pkg-plist8
5 files changed, 46 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 33714c8be4d7..7438245c329c 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1127,6 +1127,7 @@
SUBDIR += p5-Test-Unit
SUBDIR += p5-Test-WWW-Mechanize
SUBDIR += p5-Test-Warn
+ SUBDIR += p5-Text-LevenshteinXS
SUBDIR += p5-Text-vFile-asData
SUBDIR += p5-Tie-Array-Sorted
SUBDIR += p5-Tie-Cache
diff --git a/devel/p5-Text-LevenshteinXS/Makefile b/devel/p5-Text-LevenshteinXS/Makefile
new file mode 100644
index 000000000000..c5c39754ca30
--- /dev/null
+++ b/devel/p5-Text-LevenshteinXS/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: p5-Text-LevenshteinXS
+# Date created: 18 June 2005
+# Whom: christian
+#
+# $FreeBSD$
+#
+
+PORTNAME= Text-LevenshteinXS
+PORTVERSION= 0.03
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Text
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= christian@karg.org
+COMMENT= Text::LevenshteinXS - CPAN Levenshtein edit distance
+
+PERL_CONFIGURE= yes
+
+MAN3= Text::LevenshteinXS.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= Port requires perl 5.6.x or later. Install lang/perl5 then try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Text-LevenshteinXS/distinfo b/devel/p5-Text-LevenshteinXS/distinfo
new file mode 100644
index 000000000000..130b7a496ed9
--- /dev/null
+++ b/devel/p5-Text-LevenshteinXS/distinfo
@@ -0,0 +1,2 @@
+MD5 (Text-LevenshteinXS-0.03.tar.gz) = 576d6dc3e6aa9e80686f244969e885e6
+SIZE (Text-LevenshteinXS-0.03.tar.gz) = 3063
diff --git a/devel/p5-Text-LevenshteinXS/pkg-descr b/devel/p5-Text-LevenshteinXS/pkg-descr
new file mode 100644
index 000000000000..a317cc33ae41
--- /dev/null
+++ b/devel/p5-Text-LevenshteinXS/pkg-descr
@@ -0,0 +1,7 @@
+This is a port of Josh Goldberg's Text::LevenshteinXS
+An XS implementation of the Levenshtein edit distance
+
+WWW: http://search.cpan.org/~jgoldberg/Text-LevenshteinXS-0.03/
+
+Christian
+christian <AT> karg.org
diff --git a/devel/p5-Text-LevenshteinXS/pkg-plist b/devel/p5-Text-LevenshteinXS/pkg-plist
new file mode 100644
index 000000000000..ea6b63292971
--- /dev/null
+++ b/devel/p5-Text-LevenshteinXS/pkg-plist
@@ -0,0 +1,8 @@
+%%SITE_PERL%%/mach/auto/Text/LevenshteinXS/LevenshteinXS.so
+%%SITE_PERL%%/mach/auto/Text/LevenshteinXS/LevenshteinXS.bs
+%%SITE_PERL%%/mach/auto/Text/LevenshteinXS/autosplit.ix
+%%SITE_PERL%%/mach/auto/Text/LevenshteinXS/.packlist
+%%SITE_PERL%%/mach/Text/LevenshteinXS.pm
+@dirrm %%SITE_PERL%%/mach/auto/Text/LevenshteinXS
+@unexec rmdir %D/%%SITE_PERL%%/mach/auto/Text 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/mach/Text 2>/dev/null || true