diff options
author | tobez <tobez@FreeBSD.org> | 2005-11-11 07:22:53 +0000 |
---|---|---|
committer | tobez <tobez@FreeBSD.org> | 2005-11-11 07:22:53 +0000 |
commit | c132e464cf65a9ca514775fe964e6b1c201367d6 (patch) | |
tree | a64a352a6e23e91e47871b43b038feef8ab3d755 | |
parent | 45aa16fabd95aaa92b17f3a095e50c8a297442d9 (diff) | |
download | FreeBSD-ports-c132e464cf65a9ca514775fe964e6b1c201367d6.zip FreeBSD-ports-c132e464cf65a9ca514775fe964e6b1c201367d6.tar.gz |
Add textproc/p5-Lingua-Identify 0.18, a Perl module to identify the
language a given string or file is written in.
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/p5-Lingua-Identify/Makefile | 70 | ||||
-rw-r--r-- | textproc/p5-Lingua-Identify/distinfo | 3 | ||||
-rw-r--r-- | textproc/p5-Lingua-Identify/pkg-descr | 4 | ||||
-rw-r--r-- | textproc/p5-Lingua-Identify/pkg-plist | 42 |
5 files changed, 120 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 0f556cd..ceb1c1b 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -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 diff --git a/textproc/p5-Lingua-Identify/Makefile b/textproc/p5-Lingua-Identify/Makefile new file mode 100644 index 0000000..49aa843 --- /dev/null +++ b/textproc/p5-Lingua-Identify/Makefile @@ -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> diff --git a/textproc/p5-Lingua-Identify/distinfo b/textproc/p5-Lingua-Identify/distinfo new file mode 100644 index 0000000..fe9a0c1 --- /dev/null +++ b/textproc/p5-Lingua-Identify/distinfo @@ -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 diff --git a/textproc/p5-Lingua-Identify/pkg-descr b/textproc/p5-Lingua-Identify/pkg-descr new file mode 100644 index 0000000..50fb1a7 --- /dev/null +++ b/textproc/p5-Lingua-Identify/pkg-descr @@ -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/ diff --git a/textproc/p5-Lingua-Identify/pkg-plist b/textproc/p5-Lingua-Identify/pkg-plist new file mode 100644 index 0000000..925cb3b --- /dev/null +++ b/textproc/p5-Lingua-Identify/pkg-plist @@ -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 |