summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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