aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Lingua-Ident
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2002-06-23 06:38:30 +0000
committerWill Andrews <will@FreeBSD.org>2002-06-23 06:38:30 +0000
commita26c32d03dbd7e6688cd03593ce5d0f27c0e0ba3 (patch)
treeef4b6a69535a956c65503805a26bc6af3b3ac502 /textproc/p5-Lingua-Ident
parent81643303cc65b53dc4f0119f23af28c6a615b25e (diff)
downloadports-a26c32d03dbd7e6688cd03593ce5d0f27c0e0ba3.tar.gz
ports-a26c32d03dbd7e6688cd03593ce5d0f27c0e0ba3.zip
Add p5-Lingua-Ident 1.4, a perl package for statistical
language identification. PR: 33437 Submitted by: Seamus Venasse <svenasse@polaris.ca>
Notes
Notes: svn path=/head/; revision=61779
Diffstat (limited to 'textproc/p5-Lingua-Ident')
-rw-r--r--textproc/p5-Lingua-Ident/Makefile23
-rw-r--r--textproc/p5-Lingua-Ident/distinfo1
-rw-r--r--textproc/p5-Lingua-Ident/pkg-comment1
-rw-r--r--textproc/p5-Lingua-Ident/pkg-descr9
-rw-r--r--textproc/p5-Lingua-Ident/pkg-plist6
5 files changed, 40 insertions, 0 deletions
diff --git a/textproc/p5-Lingua-Ident/Makefile b/textproc/p5-Lingua-Ident/Makefile
new file mode 100644
index 000000000000..8cd88f670c98
--- /dev/null
+++ b/textproc/p5-Lingua-Ident/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: Lingua::Ident
+# Date created: 31 Dec 2001
+# Whom: Seamus Venasse <svenasse@polaris.ca>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Lingua-Ident
+PORTVERSION= 1.4
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../../authors/id/MPIOTR
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= svenasse@polaris.ca
+
+PERL_CONFIGURE= yes
+
+MAN1= trainlid.1
+MAN3= Lingua::Ident.3
+MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-Lingua-Ident/distinfo b/textproc/p5-Lingua-Ident/distinfo
new file mode 100644
index 000000000000..2b859ff75ff7
--- /dev/null
+++ b/textproc/p5-Lingua-Ident/distinfo
@@ -0,0 +1 @@
+MD5 (Lingua-Ident-1.4.tar.gz) = a516fcbc9bfb2267939d6c7029ef489f
diff --git a/textproc/p5-Lingua-Ident/pkg-comment b/textproc/p5-Lingua-Ident/pkg-comment
new file mode 100644
index 000000000000..f06ec2d2feed
--- /dev/null
+++ b/textproc/p5-Lingua-Ident/pkg-comment
@@ -0,0 +1 @@
+Statistical language identification
diff --git a/textproc/p5-Lingua-Ident/pkg-descr b/textproc/p5-Lingua-Ident/pkg-descr
new file mode 100644
index 000000000000..88ab4a9b08cd
--- /dev/null
+++ b/textproc/p5-Lingua-Ident/pkg-descr
@@ -0,0 +1,9 @@
+This module implements a statistical language identifier.
+
+The filename attributes to the constructor must refer to files
+containing tables of n-gram probabilites for languages. These tables
+can be generated using the trainlid(1) utility program.
+
+WWW: http://search.cpan.org/search?dist=Lingua-Ident
+
+Seamus Venasse <svenasse@polaris.ca>
diff --git a/textproc/p5-Lingua-Ident/pkg-plist b/textproc/p5-Lingua-Ident/pkg-plist
new file mode 100644
index 000000000000..8e802a98649e
--- /dev/null
+++ b/textproc/p5-Lingua-Ident/pkg-plist
@@ -0,0 +1,6 @@
+lib/perl5/site_perl/%%PERL_VER%%/Lingua/Ident.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Lingua/Ident/.packlist
+bin/trainlid
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Lingua 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Lingua/Ident 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Lingua 2>/dev/null || true