Add textproc/p5-Lingua-Identify 0.18, a Perl module to identify the

language a given string or file is written in.
This commit is contained in:
Anton Berezin 2005-11-11 07:22:53 +00:00
parent 01e3895a6f
commit 1b9f9f1166
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=147894
5 changed files with 120 additions and 0 deletions

View file

@ -319,6 +319,7 @@
SUBDIR += p5-Lingua-EN-Syllable
SUBDIR += p5-Lingua-EN-Tagger
SUBDIR += p5-Lingua-Ident
SUBDIR += p5-Lingua-Identify
SUBDIR += p5-Lingua-Ispell
SUBDIR += p5-Lingua-PT-Stemmer
SUBDIR += p5-Lingua-Preferred

View file

@ -0,0 +1,70 @@
# New ports collection makefile for: textproc/p5-Lingua-Identify
# Date created: 11 November 2005
# Whom: Anton Berezin <tobez@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Lingua-Identify
PORTVERSION= 0.18
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Lingua
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= Lingua::Identify - Language identification
TAGS= lang detect identify
BUILD_DEPENDS= ${SITE_PERL}/Class/Factory/Util.pm:${PORTSDIR}/devel/p5-Class-Factory-Util \
${SITE_PERL}/Text/Affixes.pm:${PORTSDIR}/textproc/p5-Text-Affixes \
${SITE_PERL}/${PERL_ARCH}/Text/ExtractWords.pm:${PORTSDIR}/textproc/p5-Text-ExtractWords \
${SITE_PERL}/${PERL_ARCH}/Text/Ngram.pm:${PORTSDIR}/textproc/p5-Text-Ngram
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN1= langident.1 make-lingua-identify-language.1
MAN3= Lingua::Identify.3 \
Lingua::Identify::AF.3 \
Lingua::Identify::BG.3 \
Lingua::Identify::BR.3 \
Lingua::Identify::BS.3 \
Lingua::Identify::CY.3 \
Lingua::Identify::DA.3 \
Lingua::Identify::DE.3 \
Lingua::Identify::EN.3 \
Lingua::Identify::EO.3 \
Lingua::Identify::ES.3 \
Lingua::Identify::FI.3 \
Lingua::Identify::FR.3 \
Lingua::Identify::FY.3 \
Lingua::Identify::GA.3 \
Lingua::Identify::HR.3 \
Lingua::Identify::HU.3 \
Lingua::Identify::ID.3 \
Lingua::Identify::IS.3 \
Lingua::Identify::IT.3 \
Lingua::Identify::LA.3 \
Lingua::Identify::MS.3 \
Lingua::Identify::NL.3 \
Lingua::Identify::NO.3 \
Lingua::Identify::Nothing.3 \
Lingua::Identify::PL.3 \
Lingua::Identify::PT.3 \
Lingua::Identify::RO.3 \
Lingua::Identify::RU.3 \
Lingua::Identify::SL.3 \
Lingua::Identify::SO.3 \
Lingua::Identify::SQ.3 \
Lingua::Identify::SV.3 \
Lingua::Identify::SW.3 \
Lingua::Identify::TR.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 and try again
.endif
.include <bsd.port.post.mk>

View file

@ -0,0 +1,3 @@
MD5 (Lingua-Identify-0.18.tar.gz) = 788e67c3a7841c1b29885903dc8f4f2d
SHA256 (Lingua-Identify-0.18.tar.gz) = c15659ee8730d11d91de7a2aa304756636d17a029f1bff0377084310d08c0044
SIZE (Lingua-Identify-0.18.tar.gz) = 102754

View file

@ -0,0 +1,4 @@
Lingua::Identify identifies the language a given string or file is
written in.
WWW: http://search.cpan.org/dist/Lingua-Identify/

View file

@ -0,0 +1,42 @@
bin/langident
bin/make-lingua-identify-language
%%SITE_PERL%%/Lingua/Identify.pm
%%SITE_PERL%%/Lingua/Identify/AF.pm
%%SITE_PERL%%/Lingua/Identify/BG.pm
%%SITE_PERL%%/Lingua/Identify/BR.pm
%%SITE_PERL%%/Lingua/Identify/BS.pm
%%SITE_PERL%%/Lingua/Identify/CY.pm
%%SITE_PERL%%/Lingua/Identify/DA.pm
%%SITE_PERL%%/Lingua/Identify/DE.pm
%%SITE_PERL%%/Lingua/Identify/EN.pm
%%SITE_PERL%%/Lingua/Identify/EO.pm
%%SITE_PERL%%/Lingua/Identify/ES.pm
%%SITE_PERL%%/Lingua/Identify/FI.pm
%%SITE_PERL%%/Lingua/Identify/FR.pm
%%SITE_PERL%%/Lingua/Identify/FY.pm
%%SITE_PERL%%/Lingua/Identify/GA.pm
%%SITE_PERL%%/Lingua/Identify/HR.pm
%%SITE_PERL%%/Lingua/Identify/HU.pm
%%SITE_PERL%%/Lingua/Identify/ID.pm
%%SITE_PERL%%/Lingua/Identify/IS.pm
%%SITE_PERL%%/Lingua/Identify/IT.pm
%%SITE_PERL%%/Lingua/Identify/LA.pm
%%SITE_PERL%%/Lingua/Identify/MS.pm
%%SITE_PERL%%/Lingua/Identify/NL.pm
%%SITE_PERL%%/Lingua/Identify/NO.pm
%%SITE_PERL%%/Lingua/Identify/Nothing.pm
%%SITE_PERL%%/Lingua/Identify/PL.pm
%%SITE_PERL%%/Lingua/Identify/PT.pm
%%SITE_PERL%%/Lingua/Identify/RO.pm
%%SITE_PERL%%/Lingua/Identify/RU.pm
%%SITE_PERL%%/Lingua/Identify/SL.pm
%%SITE_PERL%%/Lingua/Identify/SO.pm
%%SITE_PERL%%/Lingua/Identify/SQ.pm
%%SITE_PERL%%/Lingua/Identify/SV.pm
%%SITE_PERL%%/Lingua/Identify/SW.pm
%%SITE_PERL%%/Lingua/Identify/TR.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/Identify/.packlist
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/Identify 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/Lingua/Identify 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/Lingua 2>/dev/null || true