diff options
author | will <will@FreeBSD.org> | 2002-06-23 14:38:30 +0800 |
---|---|---|
committer | will <will@FreeBSD.org> | 2002-06-23 14:38:30 +0800 |
commit | 3772f757caf3c077ffd6462831a3e3b95437ceac (patch) | |
tree | ec989bd6044a741c1ae94b2f4166d3bf2390cc77 /textproc | |
parent | bab9db1e48b597c1323b8038807363814476afd2 (diff) | |
download | freebsd-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')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/p5-Lingua-Ident/Makefile | 23 | ||||
-rw-r--r-- | textproc/p5-Lingua-Ident/distinfo | 1 | ||||
-rw-r--r-- | textproc/p5-Lingua-Ident/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/p5-Lingua-Ident/pkg-descr | 9 | ||||
-rw-r--r-- | textproc/p5-Lingua-Ident/pkg-plist | 6 |
6 files changed, 41 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 08ac30b1a020..9c9130c84939 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -140,6 +140,7 @@ SUBDIR += p5-Lingua-EN-Squeeze SUBDIR += p5-Lingua-EN-Summarize SUBDIR += p5-Lingua-EN-Syllable + SUBDIR += p5-Lingua-Ident SUBDIR += p5-Lingua-Ispell SUBDIR += p5-Lingua-Preferred SUBDIR += p5-MARC 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 |