aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-Lingua-Ident
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2002-06-23 14:38:30 +0800
committerwill <will@FreeBSD.org>2002-06-23 14:38:30 +0800
commit3772f757caf3c077ffd6462831a3e3b95437ceac (patch)
treeec989bd6044a741c1ae94b2f4166d3bf2390cc77 /textproc/p5-Lingua-Ident
parentbab9db1e48b597c1323b8038807363814476afd2 (diff)
downloadfreebsd-ports-gnome-3772f757caf3c077ffd6462831a3e3b95437ceac.tar.gz
freebsd-ports-gnome-3772f757caf3c077ffd6462831a3e3b95437ceac.tar.zst
freebsd-ports-gnome-3772f757caf3c077ffd6462831a3e3b95437ceac.zip
Add p5-Lingua-Ident 1.4, a perl package for statistical
language identification. PR: 33437 Submitted by: Seamus Venasse <svenasse@polaris.ca>
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