aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2004-01-20 03:54:08 +0800
committererwin <erwin@FreeBSD.org>2004-01-20 03:54:08 +0800
commitd4d4cc4a75426ffb1fcbe9b2852ade0f9ccba9c7 (patch)
treea36e87d26ffe542aeca33a400f4fa836055ee45c /textproc
parent07426d3ca6bbf6b02e36f4a99f904146f9a92b92 (diff)
downloadfreebsd-ports-d4d4cc4a75426ffb1fcbe9b2852ade0f9ccba9c7.tar.gz
freebsd-ports-d4d4cc4a75426ffb1fcbe9b2852ade0f9ccba9c7.tar.zst
freebsd-ports-d4d4cc4a75426ffb1fcbe9b2852ade0f9ccba9c7.zip
Add p5-Lingua-Stem-Snowball-Da 1.01, a stemmer for Danish.
PR: 60860 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-Da/Makefile28
-rw-r--r--textproc/p5-Lingua-Stem-Snowball-Da/distinfo1
-rw-r--r--textproc/p5-Lingua-Stem-Snowball-Da/pkg-descr4
-rw-r--r--textproc/p5-Lingua-Stem-Snowball-Da/pkg-plist10
5 files changed, 44 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index d003d9b2f901..0d0518167457 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -229,6 +229,7 @@
SUBDIR += p5-Lingua-Preferred
SUBDIR += p5-Lingua-Stem
SUBDIR += p5-Lingua-Stem-It
+ SUBDIR += p5-Lingua-Stem-Snowball-Da
SUBDIR += p5-MARC
SUBDIR += p5-NetAddr-IP-Find
SUBDIR += p5-Number-Format
diff --git a/textproc/p5-Lingua-Stem-Snowball-Da/Makefile b/textproc/p5-Lingua-Stem-Snowball-Da/Makefile
new file mode 100644
index 000000000000..5cc89433f9fe
--- /dev/null
+++ b/textproc/p5-Lingua-Stem-Snowball-Da/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: Lingua::Stem::Snowball:Da
+# Date created: 29 Dec 2003
+# Whom: Thorsten Greiner <thorsten.greiner@web.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Lingua-Stem-Snowball-Da
+PORTVERSION= 1.01
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Lingua
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= thorsten.greiner@web.de
+COMMENT= A stemmer for Danish
+
+PERL_CONFIGURE= yes
+
+MAN3= Lingua::Stem::Snowball::Da.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-Da/distinfo b/textproc/p5-Lingua-Stem-Snowball-Da/distinfo
new file mode 100644
index 000000000000..6d88064a5e2d
--- /dev/null
+++ b/textproc/p5-Lingua-Stem-Snowball-Da/distinfo
@@ -0,0 +1 @@
+MD5 (Lingua-Stem-Snowball-Da-1.01.tar.gz) = e8d9a8285bce0c9e4bedc138cd6a1501
diff --git a/textproc/p5-Lingua-Stem-Snowball-Da/pkg-descr b/textproc/p5-Lingua-Stem-Snowball-Da/pkg-descr
new file mode 100644
index 000000000000..6fb3bbb8895d
--- /dev/null
+++ b/textproc/p5-Lingua-Stem-Snowball-Da/pkg-descr
@@ -0,0 +1,4 @@
+Lingua::Stem::Snowball::Da is a perl port of the danish
+stemmer at http://snowball.sourceforge.net.
+
+WWW: http://search.cpan.org/~cine/Lingua-Stem-Snowball-Da-1.01/Da.pm
diff --git a/textproc/p5-Lingua-Stem-Snowball-Da/pkg-plist b/textproc/p5-Lingua-Stem-Snowball-Da/pkg-plist
new file mode 100644
index 000000000000..7b49f6aa4846
--- /dev/null
+++ b/textproc/p5-Lingua-Stem-Snowball-Da/pkg-plist
@@ -0,0 +1,10 @@
+%%SITE_PERL%%/Lingua/Stem/Snowball/stemmer.pl
+%%SITE_PERL%%/Lingua/Stem/Snowball/Da.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/Stem/Snowball/Da/.packlist
+@dirrm %%SITE_PERL%%/mach/auto/Lingua/Stem/Snowball/Da
+@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