aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2004-10-14 02:40:43 +0800
committertobez <tobez@FreeBSD.org>2004-10-14 02:40:43 +0800
commitc61b2c5133bc801c89afc329db6a3d4126e02bcf (patch)
tree812bbf3833de8da34a307c3ce7271b742dfecf37
parent687d9107e9b51afef090a61c527e800dbc48ec99 (diff)
downloadfreebsd-ports-gnome-c61b2c5133bc801c89afc329db6a3d4126e02bcf.tar.gz
freebsd-ports-gnome-c61b2c5133bc801c89afc329db6a3d4126e02bcf.tar.zst
freebsd-ports-gnome-c61b2c5133bc801c89afc329db6a3d4126e02bcf.zip
Add p5-Lingua-StopWords, a Perl module providing lists of stopwords for
several languages.
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Lingua-StopWords/Makefile28
-rw-r--r--textproc/p5-Lingua-StopWords/distinfo2
-rw-r--r--textproc/p5-Lingua-StopWords/pkg-descr5
-rw-r--r--textproc/p5-Lingua-StopWords/pkg-plist16
5 files changed, 52 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 69042e0b4a7a..313ab22dfb84 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -281,6 +281,7 @@
SUBDIR += p5-Lingua-Stem-Snowball-Da
SUBDIR += p5-Lingua-Stem-Snowball-No
SUBDIR += p5-Lingua-Stem-Snowball-Se
+ SUBDIR += p5-Lingua-StopWords
SUBDIR += p5-MARC
SUBDIR += p5-NetAddr-IP-Find
SUBDIR += p5-Number-Format
diff --git a/textproc/p5-Lingua-StopWords/Makefile b/textproc/p5-Lingua-StopWords/Makefile
new file mode 100644
index 000000000000..a873d663de7b
--- /dev/null
+++ b/textproc/p5-Lingua-StopWords/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: textproc/p5-Lingua-StopWords
+# Date created: 13 October 2004
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Lingua-StopWords
+PORTVERSION= 0.02
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Lingua
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= perl@FreeBSD.org
+COMMENT= Lingua::StopWords - Stop words for several languages
+
+PERL_CONFIGURE= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= "This port requires perl 5.6 or newer"
+.endif
+
+MAN3= Lingua::StopWords.3
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Lingua-StopWords/distinfo b/textproc/p5-Lingua-StopWords/distinfo
new file mode 100644
index 000000000000..2fb356eb223f
--- /dev/null
+++ b/textproc/p5-Lingua-StopWords/distinfo
@@ -0,0 +1,2 @@
+MD5 (Lingua-StopWords-0.02.tar.gz) = d4b9a07484a4f1b272024fad798c72a1
+SIZE (Lingua-StopWords-0.02.tar.gz) = 19269
diff --git a/textproc/p5-Lingua-StopWords/pkg-descr b/textproc/p5-Lingua-StopWords/pkg-descr
new file mode 100644
index 000000000000..9fd75df363d3
--- /dev/null
+++ b/textproc/p5-Lingua-StopWords/pkg-descr
@@ -0,0 +1,5 @@
+This module provides lists of stopwords for several languages.
+Currently supported languages are Danish, Dutch, English, French,
+German, Italian, Norwegian, Portugese, Spanish, and Swedish.
+
+WWW: http://search.cpan.org/dist/Lingua-StopWords
diff --git a/textproc/p5-Lingua-StopWords/pkg-plist b/textproc/p5-Lingua-StopWords/pkg-plist
new file mode 100644
index 000000000000..f90b7849d721
--- /dev/null
+++ b/textproc/p5-Lingua-StopWords/pkg-plist
@@ -0,0 +1,16 @@
+%%SITE_PERL%%/Lingua/StopWords.pm
+%%SITE_PERL%%/Lingua/StopWords/DA.pm
+%%SITE_PERL%%/Lingua/StopWords/DE.pm
+%%SITE_PERL%%/Lingua/StopWords/EN.pm
+%%SITE_PERL%%/Lingua/StopWords/ES.pm
+%%SITE_PERL%%/Lingua/StopWords/FR.pm
+%%SITE_PERL%%/Lingua/StopWords/IT.pm
+%%SITE_PERL%%/Lingua/StopWords/NL.pm
+%%SITE_PERL%%/Lingua/StopWords/NO.pm
+%%SITE_PERL%%/Lingua/StopWords/PT.pm
+%%SITE_PERL%%/Lingua/StopWords/SV.pm
+%%SITE_PERL%%/Lingua/parse.pl
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/StopWords/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/StopWords 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Lingua/StopWords 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Lingua 2>/dev/null || true