aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2004-07-28 13:59:25 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2004-07-28 13:59:25 +0000
commitf07f6b226c846ea881ca72d8e6a26c5af312ad35 (patch)
tree356b928b6ba7a3a9b37775ca01c6188aaab5b1f9 /textproc
parent23ac3c6b14d80fb4ddb5db55433a60c7fbff7e2d (diff)
downloadports-f07f6b226c846ea881ca72d8e6a26c5af312ad35.tar.gz
ports-f07f6b226c846ea881ca72d8e6a26c5af312ad35.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Lingua-Stem-Ru/Makefile28
-rw-r--r--textproc/p5-Lingua-Stem-Ru/distinfo2
-rw-r--r--textproc/p5-Lingua-Stem-Ru/pkg-descr9
-rw-r--r--textproc/p5-Lingua-Stem-Ru/pkg-plist8
5 files changed, 48 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index c9896fabe3d7..4cb1a9a3b581 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -261,6 +261,7 @@
SUBDIR += p5-Lingua-Preferred
SUBDIR += p5-Lingua-Stem
SUBDIR += p5-Lingua-Stem-It
+ SUBDIR += p5-Lingua-Stem-Ru
SUBDIR += p5-Lingua-Stem-Snowball-Da
SUBDIR += p5-Lingua-Stem-Snowball-No
SUBDIR += p5-Lingua-Stem-Snowball-Se
diff --git a/textproc/p5-Lingua-Stem-Ru/Makefile b/textproc/p5-Lingua-Stem-Ru/Makefile
new file mode 100644
index 000000000000..cc51d1624589
--- /dev/null
+++ b/textproc/p5-Lingua-Stem-Ru/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: Lingua-Stem-Ru
+# Date created: Jul 26 2004
+# Whom: Cheng-Lung Sung <clsung@dragon2.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Lingua-Stem-Ru
+PORTVERSION= 0.01
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Lingua
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Porter's stemming algorithm for Russian (KOI8-R only)
+
+PERL_CONFIGURE= yes
+
+MAN3= Lingua::Stem::Ru.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-Ru/distinfo b/textproc/p5-Lingua-Stem-Ru/distinfo
new file mode 100644
index 000000000000..7bd94fbef5d3
--- /dev/null
+++ b/textproc/p5-Lingua-Stem-Ru/distinfo
@@ -0,0 +1,2 @@
+MD5 (Lingua-Stem-Ru-0.01.tar.gz) = b7b82495cc9f0b466b1b3cba0fd779a6
+SIZE (Lingua-Stem-Ru-0.01.tar.gz) = 209087
diff --git a/textproc/p5-Lingua-Stem-Ru/pkg-descr b/textproc/p5-Lingua-Stem-Ru/pkg-descr
new file mode 100644
index 000000000000..5e48f4c16784
--- /dev/null
+++ b/textproc/p5-Lingua-Stem-Ru/pkg-descr
@@ -0,0 +1,9 @@
+Lingua::Stem::Ru - Porter's stemming algorithm for Russian (KOI8-R only)
+
+This module applies the Porter Stemming Algorithm to its parameters,
+returning the stemmed words.
+
+WWW: http://search.cpan.org/dist/Lingua-Stem-Ru
+
+- Cheng-Lung Sung
+clsung at dragon2.net
diff --git a/textproc/p5-Lingua-Stem-Ru/pkg-plist b/textproc/p5-Lingua-Stem-Ru/pkg-plist
new file mode 100644
index 000000000000..b38dd454d718
--- /dev/null
+++ b/textproc/p5-Lingua-Stem-Ru/pkg-plist
@@ -0,0 +1,8 @@
+%%SITE_PERL%%/Lingua/Stem/Ru.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/Stem/Ru/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/Stem/Ru
+@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