aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2004-01-09 02:53:41 +0000
committerPete Fritchman <petef@FreeBSD.org>2004-01-09 02:53:41 +0000
commitbda255a881515a4c76287d3563c9436908631a01 (patch)
tree3c17c259087f68f9d09898a32abb818054c44189 /textproc
parent40559f3be004bb7426c2e1a53bd2b7f12ab6a542 (diff)
downloadports-bda255a881515a4c76287d3563c9436908631a01.tar.gz
ports-bda255a881515a4c76287d3563c9436908631a01.zip
Add p5-Lingua-PT-Stemmer 0.01, stemmers for Portuguese and Galician.
PR: 60858 Submitted by: Thorsten Greiner <thorsten.greiner@web.de>
Notes
Notes: svn path=/head/; revision=97734
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Lingua-PT-Stemmer/Makefile28
-rw-r--r--textproc/p5-Lingua-PT-Stemmer/distinfo1
-rw-r--r--textproc/p5-Lingua-PT-Stemmer/pkg-descr5
-rw-r--r--textproc/p5-Lingua-PT-Stemmer/pkg-plist9
5 files changed, 44 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 6bf8111fa0ce..5dc2dd51ce32 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -223,6 +223,7 @@
SUBDIR += p5-Lingua-EN-Tagger
SUBDIR += p5-Lingua-Ident
SUBDIR += p5-Lingua-Ispell
+ SUBDIR += p5-Lingua-PT-Stemmer
SUBDIR += p5-Lingua-Preferred
SUBDIR += p5-Lingua-Stem
SUBDIR += p5-MARC
diff --git a/textproc/p5-Lingua-PT-Stemmer/Makefile b/textproc/p5-Lingua-PT-Stemmer/Makefile
new file mode 100644
index 000000000000..ee459418b3d3
--- /dev/null
+++ b/textproc/p5-Lingua-PT-Stemmer/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: Lingua::PT::Stemmer
+# Date created: 31 Dec 2003
+# Whom: Thorsten Greiner <thorsten.greiner@web.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Lingua-PT-Stemmer
+PORTVERSION= 0.01
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Lingua
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= thorsten.greiner@web.de
+COMMENT= Stemmers for Portuguese and Galician
+
+PERL_CONFIGURE= yes
+
+MAN3= Lingua::GL::Stemmer.3 Lingua::PT::Stemmer.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE= p5-Lingua-PT-Stemmer requires perl 5.6.1. Instal lang/perl5 and then try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Lingua-PT-Stemmer/distinfo b/textproc/p5-Lingua-PT-Stemmer/distinfo
new file mode 100644
index 000000000000..13c19813a0fe
--- /dev/null
+++ b/textproc/p5-Lingua-PT-Stemmer/distinfo
@@ -0,0 +1 @@
+MD5 (Lingua-PT-Stemmer-0.01.tar.gz) = 74523d7da59dabbf561fa5cf60f98d02
diff --git a/textproc/p5-Lingua-PT-Stemmer/pkg-descr b/textproc/p5-Lingua-PT-Stemmer/pkg-descr
new file mode 100644
index 000000000000..0b790cddfcca
--- /dev/null
+++ b/textproc/p5-Lingua-PT-Stemmer/pkg-descr
@@ -0,0 +1,5 @@
+Lingua::PT::Stemmer - Stemmers for Portuguese and Galician. While these
+stemmers can be used stand alone, they are typically used as back ends to
+the general stemmer front end provided by textproc/p5-Lingua-Stem.
+
+WWW: http://search.cpan.org/dist/Lingua-PT-Stemmer
diff --git a/textproc/p5-Lingua-PT-Stemmer/pkg-plist b/textproc/p5-Lingua-PT-Stemmer/pkg-plist
new file mode 100644
index 000000000000..fb93d4fa980e
--- /dev/null
+++ b/textproc/p5-Lingua-PT-Stemmer/pkg-plist
@@ -0,0 +1,9 @@
+%%SITE_PERL%%/Lingua/GL/Stemmer.pm
+%%SITE_PERL%%/Lingua/PT/Stemmer.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/PT/Stemmer/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/PT/Stemmer
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/PT 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua 2>/dev/null || true
+@dirrm %%SITE_PERL%%/Lingua/PT
+@dirrm %%SITE_PERL%%/Lingua/GL
+@unexec rmdir %D/%%SITE_PERL%%/Lingua 2>/dev/null || true