aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2004-01-20 03:59:31 +0800
committererwin <erwin@FreeBSD.org>2004-01-20 03:59:31 +0800
commitfa12d4451e21d75f6120dbd11679664fc2ea986a (patch)
tree819e3f1c3a8d774f259789755be0c394a8b13f75 /textproc
parentce5d84110ab153e7b23318f80a9ec42fb28faacf (diff)
downloadfreebsd-ports-gnome-fa12d4451e21d75f6120dbd11679664fc2ea986a.tar.gz
freebsd-ports-gnome-fa12d4451e21d75f6120dbd11679664fc2ea986a.tar.zst
freebsd-ports-gnome-fa12d4451e21d75f6120dbd11679664fc2ea986a.zip
Add p5-Lingua-Stem-Snowball-Se 1.01, a stemmer for Swedish.
PR: 60862 Submitted by: Thorsten Greiner <thorsten.greiner@web.de>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Lingua-Stem-Snowball-Se/Makefile29
-rw-r--r--textproc/p5-Lingua-Stem-Snowball-Se/distinfo1
-rw-r--r--textproc/p5-Lingua-Stem-Snowball-Se/pkg-descr4
-rw-r--r--textproc/p5-Lingua-Stem-Snowball-Se/pkg-plist10
5 files changed, 45 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 73a19b697722..90d52731e0ad 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -231,6 +231,7 @@
SUBDIR += p5-Lingua-Stem-It
SUBDIR += p5-Lingua-Stem-Snowball-Da
SUBDIR += p5-Lingua-Stem-Snowball-No
+ SUBDIR += p5-Lingua-Stem-Snowball-Se
SUBDIR += p5-MARC
SUBDIR += p5-NetAddr-IP-Find
SUBDIR += p5-Number-Format
diff --git a/textproc/p5-Lingua-Stem-Snowball-Se/Makefile b/textproc/p5-Lingua-Stem-Snowball-Se/Makefile
new file mode 100644
index 000000000000..59c535ac65c5
--- /dev/null
+++ b/textproc/p5-Lingua-Stem-Snowball-Se/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: Lingua::Stem::Snowball::Se
+# Date created: 29 Dec 2003
+# Whom: Thorsten Greiner <thorsten.greiner@web.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Lingua-Stem-Snowball-Se
+PORTVERSION= 1.01
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../../authors/id/A/AS/ASKSH
+PKGNAMEPREFIX= p5-
+DISTNAME= Snowball-Swedish-${PORTVERSION}
+
+MAINTAINER= thorsten.greiner@web.de
+COMMENT= A stemmer for Swedish
+
+PERL_CONFIGURE= yes
+
+MAN3= Lingua::Stem::Snowball::Se.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-Snowball-Se/distinfo b/textproc/p5-Lingua-Stem-Snowball-Se/distinfo
new file mode 100644
index 000000000000..15e51ac56f54
--- /dev/null
+++ b/textproc/p5-Lingua-Stem-Snowball-Se/distinfo
@@ -0,0 +1 @@
+MD5 (Snowball-Swedish-1.01.tar.gz) = 59c1b9f82422e27846e2e50db2f8a9a7
diff --git a/textproc/p5-Lingua-Stem-Snowball-Se/pkg-descr b/textproc/p5-Lingua-Stem-Snowball-Se/pkg-descr
new file mode 100644
index 000000000000..6570f4afcf94
--- /dev/null
+++ b/textproc/p5-Lingua-Stem-Snowball-Se/pkg-descr
@@ -0,0 +1,4 @@
+Lingua::Stem::Snowball::Se is a perl port of the swedish
+stemmer at http://snowball.sourceforge.net.
+
+WWW: http://search.cpan.org/~asksh/Snowball-Swedish-1.01/Se.pm
diff --git a/textproc/p5-Lingua-Stem-Snowball-Se/pkg-plist b/textproc/p5-Lingua-Stem-Snowball-Se/pkg-plist
new file mode 100644
index 000000000000..e4920e2da592
--- /dev/null
+++ b/textproc/p5-Lingua-Stem-Snowball-Se/pkg-plist
@@ -0,0 +1,10 @@
+%%SITE_PERL%%/Lingua/Stem/Snowball/stemmer.pl
+%%SITE_PERL%%/Lingua/Stem/Snowball/Se.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/Stem/Snowball/Se/.packlist
+@dirrm %%SITE_PERL%%/mach/auto/Lingua/Stem/Snowball/Se
+@unexec rmdir %D/%%SITE_PERL%%/mach/auto/Lingua/Stem/Snowball 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/mach/auto/Lingua/Stem 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/mach/auto/Lingua 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Lingua/Stem/Snowball 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