diff options
author | erwin <erwin@FreeBSD.org> | 2004-01-20 03:35:48 +0800 |
---|---|---|
committer | erwin <erwin@FreeBSD.org> | 2004-01-20 03:35:48 +0800 |
commit | cd0073b961e43eeb35c517df47d2cb44e62d21dc (patch) | |
tree | a206383afb5695f42d260212382787956ccad205 /textproc | |
parent | 1d3a3f18656251be75affaefb2231bc00877f4f0 (diff) | |
download | freebsd-ports-gnome-cd0073b961e43eeb35c517df47d2cb44e62d21dc.tar.gz freebsd-ports-gnome-cd0073b961e43eeb35c517df47d2cb44e62d21dc.tar.zst freebsd-ports-gnome-cd0073b961e43eeb35c517df47d2cb44e62d21dc.zip |
Add Lingua::Stem::It, which provides a stemmer for Italian.
Note that this port will be required to make textproc/p5-Lingua-Stem work
with all locales.
PR: 60859
Submitted by: Thorsten Greiner <thorsten.greiner@web.de>
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/p5-Lingua-Stem-It/Makefile | 28 | ||||
-rw-r--r-- | textproc/p5-Lingua-Stem-It/distinfo | 1 | ||||
-rw-r--r-- | textproc/p5-Lingua-Stem-It/pkg-descr | 6 | ||||
-rw-r--r-- | textproc/p5-Lingua-Stem-It/pkg-plist | 8 |
5 files changed, 44 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index e7ef6fa151db..f38eb4c36a39 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -228,6 +228,7 @@ SUBDIR += p5-Lingua-PT-Stemmer SUBDIR += p5-Lingua-Preferred SUBDIR += p5-Lingua-Stem + SUBDIR += p5-Lingua-Stem-It SUBDIR += p5-MARC SUBDIR += p5-NetAddr-IP-Find SUBDIR += p5-Number-Format diff --git a/textproc/p5-Lingua-Stem-It/Makefile b/textproc/p5-Lingua-Stem-It/Makefile new file mode 100644 index 000000000000..81702c9e4a59 --- /dev/null +++ b/textproc/p5-Lingua-Stem-It/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: Lingua::Stemmer::It +# Date created: 31 Dec 2003 +# Whom: Thorsten Greiner <thorsten.greiner@web.de> +# +# $FreeBSD$ +# + +PORTNAME= Lingua-Stem-It +PORTVERSION= 0.01 +CATEGORIES= textproc perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Lingua +PKGNAMEPREFIX= p5- + +MAINTAINER= thorsten.greiner@web.de +COMMENT= Stemmer for Italian + +PERL_CONFIGURE= yes + +MAN3= Lingua::Stem::It.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +IGNORE= Port requires perl 5.6.x or later. Install lang/perl5 then try again +.endif + +.include <bsd.port.post.mk> diff --git a/textproc/p5-Lingua-Stem-It/distinfo b/textproc/p5-Lingua-Stem-It/distinfo new file mode 100644 index 000000000000..ba9c3044d3c1 --- /dev/null +++ b/textproc/p5-Lingua-Stem-It/distinfo @@ -0,0 +1 @@ +MD5 (Lingua-Stem-It-0.01.tar.gz) = b06d70d6ce3763bb33b4d9f3c04b996f diff --git a/textproc/p5-Lingua-Stem-It/pkg-descr b/textproc/p5-Lingua-Stem-It/pkg-descr new file mode 100644 index 000000000000..cbf33bc0410e --- /dev/null +++ b/textproc/p5-Lingua-Stem-It/pkg-descr @@ -0,0 +1,6 @@ +Lingua::Stem::It - Porter's stemming algorithm for Italian + +This module applies the Porter Stemming Algorithm to its parameters, +returning the stemmed words. + +WWW: http://search.cpan.org/dist/Lingua-Stem-It diff --git a/textproc/p5-Lingua-Stem-It/pkg-plist b/textproc/p5-Lingua-Stem-It/pkg-plist new file mode 100644 index 000000000000..d7319b9eabc4 --- /dev/null +++ b/textproc/p5-Lingua-Stem-It/pkg-plist @@ -0,0 +1,8 @@ +%%SITE_PERL%%/Lingua/Stem/It.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/Stem/It/.packlist +@dirrm %%SITE_PERL%%/mach/auto/Lingua/Stem/It +@unexec rmdir %D/%%SITE_PERL%%/mach/auto/Lingua/Stem 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/mach/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 |