From 6740408e456e073ecfefbe176004bc2531a805d0 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Wed, 28 Jul 2004 14:01:57 +0000 Subject: [PATCH] Add p5-Lingua-Stem-Fr 0.02, perl French Stemming. PR: ports/69588 Submitted by: Cheng-Lung Sung --- textproc/Makefile | 1 + textproc/p5-Lingua-Stem-Fr/Makefile | 28 ++++++++++++++++++++++++++++ textproc/p5-Lingua-Stem-Fr/distinfo | 2 ++ textproc/p5-Lingua-Stem-Fr/pkg-descr | 9 +++++++++ textproc/p5-Lingua-Stem-Fr/pkg-plist | 8 ++++++++ 5 files changed, 48 insertions(+) create mode 100644 textproc/p5-Lingua-Stem-Fr/Makefile create mode 100644 textproc/p5-Lingua-Stem-Fr/distinfo create mode 100644 textproc/p5-Lingua-Stem-Fr/pkg-descr create mode 100644 textproc/p5-Lingua-Stem-Fr/pkg-plist diff --git a/textproc/Makefile b/textproc/Makefile index 4cb1a9a3b581..6d6c9448fd00 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -260,6 +260,7 @@ SUBDIR += p5-Lingua-PT-Stemmer SUBDIR += p5-Lingua-Preferred SUBDIR += p5-Lingua-Stem + SUBDIR += p5-Lingua-Stem-Fr SUBDIR += p5-Lingua-Stem-It SUBDIR += p5-Lingua-Stem-Ru SUBDIR += p5-Lingua-Stem-Snowball-Da diff --git a/textproc/p5-Lingua-Stem-Fr/Makefile b/textproc/p5-Lingua-Stem-Fr/Makefile new file mode 100644 index 000000000000..e2596c7bb1cd --- /dev/null +++ b/textproc/p5-Lingua-Stem-Fr/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: Lingua-Stem-Fr +# Date created: Jul 25 2004 +# Whom: Cheng-Lung Sung +# +# $FreeBSD$ +# + +PORTNAME= Lingua-Stem-Fr +PORTVERSION= 0.02 +CATEGORIES= textproc perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Lingua +PKGNAMEPREFIX= p5- + +MAINTAINER= ports@FreeBSD.org +COMMENT= Perl French Stemming + +PERL_CONFIGURE= yes + +MAN3= Lingua::Stem::Fr.3 + +.include + +.if ${PERL_LEVEL} < 500600 +IGNORE= Port requires perl 5.6.x or later. Install lang/perl5 then try again +.endif + +.include diff --git a/textproc/p5-Lingua-Stem-Fr/distinfo b/textproc/p5-Lingua-Stem-Fr/distinfo new file mode 100644 index 000000000000..96cd8c45cd06 --- /dev/null +++ b/textproc/p5-Lingua-Stem-Fr/distinfo @@ -0,0 +1,2 @@ +MD5 (Lingua-Stem-Fr-0.02.tar.gz) = b4ea5dd1d942b190160e9cbc73115b20 +SIZE (Lingua-Stem-Fr-0.02.tar.gz) = 6226 diff --git a/textproc/p5-Lingua-Stem-Fr/pkg-descr b/textproc/p5-Lingua-Stem-Fr/pkg-descr new file mode 100644 index 000000000000..249f19108310 --- /dev/null +++ b/textproc/p5-Lingua-Stem-Fr/pkg-descr @@ -0,0 +1,9 @@ +Lingua::Stem::Fr - Porter's stemming algorithm for French + +This module applies the Porter Stemming Algorithm to its parameters, +returning the stemmed words. + +WWW: http://search.cpan.org/dist/Lingua-Stem-Fr + +- Cheng-Lung Sung +clsung at dragon2.net diff --git a/textproc/p5-Lingua-Stem-Fr/pkg-plist b/textproc/p5-Lingua-Stem-Fr/pkg-plist new file mode 100644 index 000000000000..d13cb58743c2 --- /dev/null +++ b/textproc/p5-Lingua-Stem-Fr/pkg-plist @@ -0,0 +1,8 @@ +%%SITE_PERL%%/Lingua/Stem/Fr.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/Stem/Fr/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/Stem/Fr +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/Stem 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Lingua/Stem 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Lingua 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%% 2>/dev/null || true