aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2005-07-16 23:29:53 +0800
committererwin <erwin@FreeBSD.org>2005-07-16 23:29:53 +0800
commit43fde9cfc9f0c54dcb6603d149a69e061db545b6 (patch)
tree240de244e06f2ab177196f9e8e1bc4f0dfc54d3a
parentd999669c977d3251b35aa066716b2482d25e9a0b (diff)
downloadfreebsd-ports-gnome-43fde9cfc9f0c54dcb6603d149a69e061db545b6.tar.gz
freebsd-ports-gnome-43fde9cfc9f0c54dcb6603d149a69e061db545b6.tar.zst
freebsd-ports-gnome-43fde9cfc9f0c54dcb6603d149a69e061db545b6.zip
Add p5-Text-LevenshteinXS 0.03, text::LevenshteinXS - CPAN Levenshtein
edit distance. PR: ports/82396 Submitted by: christian
-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