aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-Text-Ngrams
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-12-28 08:12:31 +0800
committerkrion <krion@FreeBSD.org>2003-12-28 08:12:31 +0800
commit7436d0d14e5fad9f3931c26a999ceb8c4ef2c64f (patch)
treeb526c07f3fab31d1b2e7e9ad7a421cb5f5a06c03 /textproc/p5-Text-Ngrams
parent4217c6652ab87f67000915655285b62d489e86a6 (diff)
downloadfreebsd-ports-gnome-7436d0d14e5fad9f3931c26a999ceb8c4ef2c64f.tar.gz
freebsd-ports-gnome-7436d0d14e5fad9f3931c26a999ceb8c4ef2c64f.tar.zst
freebsd-ports-gnome-7436d0d14e5fad9f3931c26a999ceb8c4ef2c64f.zip
Add p5-Text-Ngrams 1.0, perl5 modules for Flexible Ngram analysis.
PR: 60607 Submitted by: Cheng-Lung Sung <clsung@dragon2.net>
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