aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-Lingua-Stem-Snowball-No
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2004-01-20 03:56:54 +0800
committererwin <erwin@FreeBSD.org>2004-01-20 03:56:54 +0800
commit704d2d75ff88586d85c1225d280f602a731ccefd (patch)
tree176b4ba05823bae37c466a939874b341b7582f3f /textproc/p5-Lingua-Stem-Snowball-No
parent4f642d5d13192c2d762b1e5872a404e7489f30e3 (diff)
downloadfreebsd-ports-gnome-704d2d75ff88586d85c1225d280f602a731ccefd.tar.gz
freebsd-ports-gnome-704d2d75ff88586d85c1225d280f602a731ccefd.tar.zst
freebsd-ports-gnome-704d2d75ff88586d85c1225d280f602a731ccefd.zip
Add p5-Lingua-Stem-Snowball-No 1.0, a stemmer for Norwegian.
PR: 60861 Submitted by: Thorsten Greiner <thorsten.greiner@web.de>
Diffstat (limited to 'textproc/p5-Lingua-Stem-Snowball-No')
-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
4 files changed, 44 insertions, 0 deletions
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