aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-Text-Similarity
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2004-10-28 20:57:52 +0800
committerclsung <clsung@FreeBSD.org>2004-10-28 20:57:52 +0800
commita61a5b1360b37f1d2f80d579df71b7d68c629be4 (patch)
tree3c0592e16657688a8019b5e52af14a1b3e7d2580 /textproc/p5-Text-Similarity
parent926175e10e03197fd8fec412638ea8b46939918b (diff)
downloadfreebsd-ports-gnome-a61a5b1360b37f1d2f80d579df71b7d68c629be4.tar.gz
freebsd-ports-gnome-a61a5b1360b37f1d2f80d579df71b7d68c629be4.tar.zst
freebsd-ports-gnome-a61a5b1360b37f1d2f80d579df71b7d68c629be4.zip
- modules for measuring/computing the similarity of text documents
- perl5.6 at least Approved by: co-mentor (vanilla)
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