aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2004-07-28 22:01:57 +0800
committervanilla <vanilla@FreeBSD.org>2004-07-28 22:01:57 +0800
commit9054343b3a1679b2174081dc0223365fb2c7d6e6 (patch)
treec3322b684cc50190468c920f414213545f852005 /textproc
parent1772c7c9e8ee952b1f141915c69c6b5d2820dbe2 (diff)
downloadfreebsd-ports-gnome-9054343b3a1679b2174081dc0223365fb2c7d6e6.tar.gz
freebsd-ports-gnome-9054343b3a1679b2174081dc0223365fb2c7d6e6.tar.zst
freebsd-ports-gnome-9054343b3a1679b2174081dc0223365fb2c7d6e6.zip
Add p5-Lingua-Stem-Fr 0.02, perl French Stemming.
PR: ports/69588 Submitted by: Cheng-Lung Sung <clsung@dragon2.net>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Lingua-Stem-Fr/Makefile28
-rw-r--r--textproc/p5-Lingua-Stem-Fr/distinfo2
-rw-r--r--textproc/p5-Lingua-Stem-Fr/pkg-descr9
-rw-r--r--textproc/p5-Lingua-Stem-Fr/pkg-plist8
5 files changed, 48 insertions, 0 deletions
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 <clsung@dragon2.net>
+#
+# $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 <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-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