aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Text-Ngrams
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-12-28 00:12:31 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-12-28 00:12:31 +0000
commit0651c49f1bb5d21965d96c2961f5cdf2056c6e36 (patch)
treec73b1a36d737f7ebd5b93ebe44af723b1ee6e454 /textproc/p5-Text-Ngrams
parent3dc191f0efccc98ffa7f90846063c00fa325344c (diff)
downloadports-0651c49f1bb5d21965d96c2961f5cdf2056c6e36.tar.gz
ports-0651c49f1bb5d21965d96c2961f5cdf2056c6e36.zip
Notes
Diffstat (limited to 'textproc/p5-Text-Ngrams')
-rw-r--r--textproc/p5-Text-Ngrams/Makefile29
-rw-r--r--textproc/p5-Text-Ngrams/distinfo1
-rw-r--r--textproc/p5-Text-Ngrams/pkg-descr11
-rw-r--r--textproc/p5-Text-Ngrams/pkg-plist7
4 files changed, 48 insertions, 0 deletions
diff --git a/textproc/p5-Text-Ngrams/Makefile b/textproc/p5-Text-Ngrams/Makefile
new file mode 100644
index 000000000000..975a901920fd
--- /dev/null
+++ b/textproc/p5-Text-Ngrams/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: p5-Text-Ngrams
+# Date created: Dec 27 2003
+# Whom: Cheng-Lung Sung <clsung@dragon2.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Text-Ngrams
+PORTVERSION= 1.0
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Text
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= clsung@dragon2.net
+COMMENT= Perl5 modules for Flexible Ngram analysis
+
+PERL_CONFIGURE= yes
+
+MAN1= ngrams.pl.1
+MAN3= Text::Ngrams.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-Ngrams/distinfo b/textproc/p5-Text-Ngrams/distinfo
new file mode 100644
index 000000000000..9eef8439ca97
--- /dev/null
+++ b/textproc/p5-Text-Ngrams/distinfo
@@ -0,0 +1 @@
+MD5 (Text-Ngrams-1.0.tar.gz) = 95e19fc6c1def9cf5e271036b4843010
diff --git a/textproc/p5-Text-Ngrams/pkg-descr b/textproc/p5-Text-Ngrams/pkg-descr
new file mode 100644
index 000000000000..4aa70ae7bfc2
--- /dev/null
+++ b/textproc/p5-Text-Ngrams/pkg-descr
@@ -0,0 +1,11 @@
+Text::Ngrams - Flexible Ngram analysis (for characters, words, and more)
+
+This module implement text n-gram analysis, supporting several types of
+analysis, including character and word n-grams.
+
+The module can be used from the command line through the script ngrams.pl
+provided with the package.
+
+WWW: http://search.cpan.org/dist/Text-Ngrams/
+
+Author: Vlado Keselj <vlado@cpan.org>
diff --git a/textproc/p5-Text-Ngrams/pkg-plist b/textproc/p5-Text-Ngrams/pkg-plist
new file mode 100644
index 000000000000..5897a19a870e
--- /dev/null
+++ b/textproc/p5-Text-Ngrams/pkg-plist
@@ -0,0 +1,7 @@
+bin/ngrams.pl
+%%SITE_PERL%%/Text/Ngrams.pm
+%%SITE_PERL%%/Text/ngrams.pl
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Ngrams/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Ngrams
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Text 2>/dev/null || true