aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Text-Similarity
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2004-10-28 12:57:52 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2004-10-28 12:57:52 +0000
commitc0a019ffac3154c3e96b05b5503610e25ccda271 (patch)
tree6d395fd15cc0e13f83d74aa82b6959a5b4647808 /textproc/p5-Text-Similarity
parent9cc8e73a2808d9ff193e41a60dc63c57c9bbeb5a (diff)
downloadports-c0a019ffac3154c3e96b05b5503610e25ccda271.tar.gz
ports-c0a019ffac3154c3e96b05b5503610e25ccda271.zip
Notes
Diffstat (limited to 'textproc/p5-Text-Similarity')
-rw-r--r--textproc/p5-Text-Similarity/Makefile31
-rw-r--r--textproc/p5-Text-Similarity/distinfo2
-rw-r--r--textproc/p5-Text-Similarity/pkg-descr11
-rw-r--r--textproc/p5-Text-Similarity/pkg-plist9
4 files changed, 53 insertions, 0 deletions
diff --git a/textproc/p5-Text-Similarity/Makefile b/textproc/p5-Text-Similarity/Makefile
new file mode 100644
index 000000000000..dac770bad201
--- /dev/null
+++ b/textproc/p5-Text-Similarity/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: Text::Similarity
+# Date created: Oct 28 2004
+# Whom: clsung
+#
+# $FreeBSD$
+#
+
+PORTNAME= Text-Similarity
+PORTVERSION= 0.02
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Text
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= clsung@FreeBSD.org
+COMMENT= Perl module for measuring the similarity of text documents
+
+PERL_CONFIGURE= yes
+
+MAN1= text_compare.pl.1
+MAN3= Text::OverlapFinder.3 \
+ Text::Similarity.3 \
+ Text::Similarity::Overlaps.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE= This port requires perl 5.6.x or later. Install lang/perl5 then try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Text-Similarity/distinfo b/textproc/p5-Text-Similarity/distinfo
new file mode 100644
index 000000000000..25f052691ec3
--- /dev/null
+++ b/textproc/p5-Text-Similarity/distinfo
@@ -0,0 +1,2 @@
+MD5 (Text-Similarity-0.02.tar.gz) = 2e47e024836c227e214cf535b970a412
+SIZE (Text-Similarity-0.02.tar.gz) = 14726
diff --git a/textproc/p5-Text-Similarity/pkg-descr b/textproc/p5-Text-Similarity/pkg-descr
new file mode 100644
index 000000000000..8d0332bb620d
--- /dev/null
+++ b/textproc/p5-Text-Similarity/pkg-descr
@@ -0,0 +1,11 @@
+Text-Similarity
+
+This module serves as a superclass for other modules
+that implement measures of text document similarity.
+See also http://text-similarity.sourceforge.net
+
+
+WWW: http://search.cpan.org/dist/Text-Similarity/
+
+- Cheng-Lung Sung
+clsung@FreeBSD.org
diff --git a/textproc/p5-Text-Similarity/pkg-plist b/textproc/p5-Text-Similarity/pkg-plist
new file mode 100644
index 000000000000..07bee2c47519
--- /dev/null
+++ b/textproc/p5-Text-Similarity/pkg-plist
@@ -0,0 +1,9 @@
+bin/text_compare.pl
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Similarity/.packlist
+%%SITE_PERL%%/Text/OverlapFinder.pm
+%%SITE_PERL%%/Text/Similarity.pm
+%%SITE_PERL%%/Text/Similarity/Overlaps.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Similarity
+@dirrm %%SITE_PERL%%/Text/Similarity
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Text 2>/dev/null || true