aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-12-30 01:25:57 +0800
committerkrion <krion@FreeBSD.org>2003-12-30 01:25:57 +0800
commitcbb35e72def61aba3d159a9f7b05a7334ccf2ce0 (patch)
tree4d1b158780ac8db3905311db083ce5b486d75c22
parente580d08c7189e5f69d7e4113416f35bcee090ecd (diff)
downloadfreebsd-ports-gnome-cbb35e72def61aba3d159a9f7b05a7334ccf2ce0.tar.gz
freebsd-ports-gnome-cbb35e72def61aba3d159a9f7b05a7334ccf2ce0.tar.zst
freebsd-ports-gnome-cbb35e72def61aba3d159a9f7b05a7334ccf2ce0.zip
Add p5-Lingua-Stem 0.61, provides word stemming algorithms
localized by language. PR: 60688 Submitted by: Thorsten Greiner <thorsten.greiner@web.de>
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Lingua-Stem/Makefile27
-rw-r--r--textproc/p5-Lingua-Stem/distinfo1
-rw-r--r--textproc/p5-Lingua-Stem/pkg-descr17
-rw-r--r--textproc/p5-Lingua-Stem/pkg-plist13
5 files changed, 59 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index bf01b61b5877..4659c2de09fe 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -219,6 +219,7 @@
SUBDIR += p5-Lingua-Ident
SUBDIR += p5-Lingua-Ispell
SUBDIR += p5-Lingua-Preferred
+ SUBDIR += p5-Lingua-Stem
SUBDIR += p5-MARC
SUBDIR += p5-NetAddr-IP-Find
SUBDIR += p5-Number-Format
diff --git a/textproc/p5-Lingua-Stem/Makefile b/textproc/p5-Lingua-Stem/Makefile
new file mode 100644
index 000000000000..72a2453d2c05
--- /dev/null
+++ b/textproc/p5-Lingua-Stem/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: Lingua::Stem
+# Date created: 29 Dec 2003
+# Whom: Thorsten Greiner <thorsten.greiner@web.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Lingua-Stem
+PORTVERSION= 0.61
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Lingua
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= thorsten.greiner@web.de
+COMMENT= Provides word stemming algorithms localized by language
+
+PERL_CONFIGURE= yes
+
+MAN3= Lingua::Stem.3 Lingua::Stem::AutoLoader.3 \
+ Lingua::Stem::En.3 Lingua::Stem::Pt.3 \
+ Lingua::Stem::EnBroken.3 Lingua::Stem::Gl.3 \
+ Lingua::Stem::No.3 Lingua::Stem::De.3 \
+ Lingua::Stem::Sv.3 Lingua::Stem::Da.3
+MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-Lingua-Stem/distinfo b/textproc/p5-Lingua-Stem/distinfo
new file mode 100644
index 000000000000..26da7f599800
--- /dev/null
+++ b/textproc/p5-Lingua-Stem/distinfo
@@ -0,0 +1 @@
+MD5 (Lingua-Stem-0.61.tar.gz) = ca99b08aa82fcbcd749d4903b205fcec
diff --git a/textproc/p5-Lingua-Stem/pkg-descr b/textproc/p5-Lingua-Stem/pkg-descr
new file mode 100644
index 000000000000..0e5f65242f1a
--- /dev/null
+++ b/textproc/p5-Lingua-Stem/pkg-descr
@@ -0,0 +1,17 @@
+Lingua::Stem - Stemming of words
+
+This routine applies stemming algorithms to its parameters, returning the
+stemmed words as appropriate to the selected locale.
+
+Currently supported locales are:
+
+ EN - English (also EN-US and EN-UK)
+ DA - Danish
+ DE - German
+ GL - Galician
+ IT - Italian
+ NO - Norwegian
+ PT - Portuguese
+ SV - Swedish
+
+WWW: http://search.cpan.org/~snowhare/Lingua-Stem-0.61/lib/Lingua/Stem.pm
diff --git a/textproc/p5-Lingua-Stem/pkg-plist b/textproc/p5-Lingua-Stem/pkg-plist
new file mode 100644
index 000000000000..2bd700716145
--- /dev/null
+++ b/textproc/p5-Lingua-Stem/pkg-plist
@@ -0,0 +1,13 @@
+%%SITE_PERL%%/Lingua/Stem.pm
+%%SITE_PERL%%/Lingua/Stem/AutoLoader.pm
+%%SITE_PERL%%/Lingua/Stem/Da.pm
+%%SITE_PERL%%/Lingua/Stem/De.pm
+%%SITE_PERL%%/Lingua/Stem/En.pm
+%%SITE_PERL%%/Lingua/Stem/EnBroken.pm
+%%SITE_PERL%%/Lingua/Stem/Gl.pm
+%%SITE_PERL%%/Lingua/Stem/No.pm
+%%SITE_PERL%%/Lingua/Stem/Pt.pm
+%%SITE_PERL%%/Lingua/Stem/Sv.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/Stem/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/Lingua 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Lingua/Stem 2>/dev/null || true