summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2004-01-19 19:56:54 +0000
committerErwin Lansing <erwin@FreeBSD.org>2004-01-19 19:56:54 +0000
commit4b1cdc2fe28cca81ed70213bbe38c75ce05ac714 (patch)
treef83de9f90cf92baa7d36a9ce4575509c8bd7d569 /textproc
parentAdd p5-Lingua-Stem-Snowball-Da 1.01, a stemmer for Danish. (diff)
Add p5-Lingua-Stem-Snowball-No 1.0, a stemmer for Norwegian.
PR: 60861 Submitted by: Thorsten Greiner <thorsten.greiner@web.de>
Notes
Notes: svn path=/head/; revision=98586
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Lingua-Stem-Snowball-No/Makefile29
-rw-r--r--textproc/p5-Lingua-Stem-Snowball-No/distinfo1
-rw-r--r--textproc/p5-Lingua-Stem-Snowball-No/pkg-descr4
-rw-r--r--textproc/p5-Lingua-Stem-Snowball-No/pkg-plist10
5 files changed, 45 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 0d0518167457..73a19b697722 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -230,6 +230,7 @@
SUBDIR += p5-Lingua-Stem
SUBDIR += p5-Lingua-Stem-It
SUBDIR += p5-Lingua-Stem-Snowball-Da
+ SUBDIR += p5-Lingua-Stem-Snowball-No
SUBDIR += p5-MARC
SUBDIR += p5-NetAddr-IP-Find
SUBDIR += p5-Number-Format
diff --git a/textproc/p5-Lingua-Stem-Snowball-No/Makefile b/textproc/p5-Lingua-Stem-Snowball-No/Makefile
new file mode 100644
index 000000000000..bf7e73be80aa
--- /dev/null
+++ b/textproc/p5-Lingua-Stem-Snowball-No/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: Lingua::Stem::Snowball::No
+# Date created: 29 Dec 2003
+# Whom: Thorsten Greiner <thorsten.greiner@web.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Lingua-Stem-Snowball-No
+PORTVERSION= 1.0
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../../authors/id/A/AS/ASKSH
+PKGNAMEPREFIX= p5-
+DISTNAME= Snowball-Norwegian-${PORTVERSION}
+
+MAINTAINER= thorsten.greiner@web.de
+COMMENT= A stemmer for Norwegian
+
+PERL_CONFIGURE= yes
+
+MAN3= Lingua::Stem::Snowball::No.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-No/distinfo b/textproc/p5-Lingua-Stem-Snowball-No/distinfo
new file mode 100644
index 000000000000..fe6c8f61c0a2
--- /dev/null
+++ b/textproc/p5-Lingua-Stem-Snowball-No/distinfo
@@ -0,0 +1 @@
+MD5 (Snowball-Norwegian-1.0.tar.gz) = 71f71bb370b22f5c02b3e4a32b9f8998
diff --git a/textproc/p5-Lingua-Stem-Snowball-No/pkg-descr b/textproc/p5-Lingua-Stem-Snowball-No/pkg-descr
new file mode 100644
index 000000000000..d2eeb9e26c3d
--- /dev/null
+++ b/textproc/p5-Lingua-Stem-Snowball-No/pkg-descr
@@ -0,0 +1,4 @@
+Lingua::Stem::Snowball::No is a perl port of the norwegian
+stemmer at http://snowball.sourceforge.net.
+
+WWW: http://search.cpan.org/~asksh/Snowball-Norwegian-1.0/No.pm
diff --git a/textproc/p5-Lingua-Stem-Snowball-No/pkg-plist b/textproc/p5-Lingua-Stem-Snowball-No/pkg-plist
new file mode 100644
index 000000000000..db98117cba88
--- /dev/null
+++ b/textproc/p5-Lingua-Stem-Snowball-No/pkg-plist
@@ -0,0 +1,10 @@
+%%SITE_PERL%%/Lingua/Stem/Snowball/stemmer.pl
+%%SITE_PERL%%/Lingua/Stem/Snowball/No.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/Stem/Snowball/No/.packlist
+@dirrm %%SITE_PERL%%/mach/auto/Lingua/Stem/Snowball/No
+@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