summaryrefslogtreecommitdiff
path: root/textproc/p5-Snowball-Swedish
diff options
context:
space:
mode:
authorsno <sno@pkgsrc.org>2010-08-19 06:54:11 +0000
committersno <sno@pkgsrc.org>2010-08-19 06:54:11 +0000
commitcd0a47e3c9f1f155df55825170d4e928c559b631 (patch)
tree083fe93509496ce6093ee03cecec7cc318a7f9dd /textproc/p5-Snowball-Swedish
parent18b5fd10c942a7da897c8489068fb49a56cfff91 (diff)
downloadpkgsrc-cd0a47e3c9f1f155df55825170d4e928c559b631.tar.gz
Importing package for Perl5 module Lingua::Stem::Snowball::Se 1.2 (CPAN
dist Snowball-Swedish) into textproc/p5-Snowball-Swedish as dependency for scheduled import of Lingua::Stem. The stem function takes a scalar as a parameter and stems the word according to Martin Porters Swedish stemming algorithm, which can be found at the Snowball website: http://snowball.tartarus.org/. It also supports caching if the use_cache option is passed when constructing a new L:S:S:N object.
Diffstat (limited to 'textproc/p5-Snowball-Swedish')
-rw-r--r--textproc/p5-Snowball-Swedish/DESCR6
-rw-r--r--textproc/p5-Snowball-Swedish/Makefile19
-rw-r--r--textproc/p5-Snowball-Swedish/distinfo5
3 files changed, 30 insertions, 0 deletions
diff --git a/textproc/p5-Snowball-Swedish/DESCR b/textproc/p5-Snowball-Swedish/DESCR
new file mode 100644
index 00000000000..2aa0d7a3474
--- /dev/null
+++ b/textproc/p5-Snowball-Swedish/DESCR
@@ -0,0 +1,6 @@
+The stem function takes a scalar as a parameter and stems the word
+according to Martin Porters Swedish stemming algorithm, which can be
+found at the Snowball website: http://snowball.tartarus.org/.
+
+It also supports caching if the use_cache option is passed when
+constructing a new L:S:S:N object.
diff --git a/textproc/p5-Snowball-Swedish/Makefile b/textproc/p5-Snowball-Swedish/Makefile
new file mode 100644
index 00000000000..ecce07abb08
--- /dev/null
+++ b/textproc/p5-Snowball-Swedish/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/08/19 06:54:11 sno Exp $
+
+DISTNAME= Snowball-Swedish-1.2
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/A/AS/ASKSH/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Snowball-Swedish/
+COMMENT= Porters stemming algorithm for Swedish
+LICENSE= ${PERL5_LICENSE}
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PERL5_PACKLIST= auto/Lingua/Stem/Snowball/Se/.packlist
+PERL5_MODULE_TYPE= Module::Build
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/p5-Snowball-Swedish/distinfo b/textproc/p5-Snowball-Swedish/distinfo
new file mode 100644
index 00000000000..934360d3401
--- /dev/null
+++ b/textproc/p5-Snowball-Swedish/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/08/19 06:54:11 sno Exp $
+
+SHA1 (Snowball-Swedish-1.2.tar.gz) = ab48aabdaaac5d805c491f6d5779e914ef5f66f9
+RMD160 (Snowball-Swedish-1.2.tar.gz) = ea464173a8cbbdb2a550bae57807cc7fc0da8423
+Size (Snowball-Swedish-1.2.tar.gz) = 185917 bytes