diff options
author | petef <petef@FreeBSD.org> | 2002-06-09 08:06:36 +0800 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2002-06-09 08:06:36 +0800 |
commit | a67bd72ded55154d6bd7bafc3a9eb35559e50a9c (patch) | |
tree | 73d01ea25c98966a5ea96b0f17a9402ad14ba8f2 /textproc | |
parent | 0730c5d968a55d28a3af3ec99a88f155ada2f181 (diff) | |
download | freebsd-ports-gnome-a67bd72ded55154d6bd7bafc3a9eb35559e50a9c.tar.gz freebsd-ports-gnome-a67bd72ded55154d6bd7bafc3a9eb35559e50a9c.tar.zst freebsd-ports-gnome-a67bd72ded55154d6bd7bafc3a9eb35559e50a9c.zip |
Add p5-Lingua-EN-Summarize 0.2, a simple tool for summarizing
bodies of English text.
PR: 33435
Submitted by: Seamus Venasse <svenasse@polaris.ca>
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/p5-Lingua-EN-Summarize/Makefile | 27 | ||||
-rw-r--r-- | textproc/p5-Lingua-EN-Summarize/distinfo | 1 | ||||
-rw-r--r-- | textproc/p5-Lingua-EN-Summarize/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/p5-Lingua-EN-Summarize/pkg-descr | 10 | ||||
-rw-r--r-- | textproc/p5-Lingua-EN-Summarize/pkg-plist | 9 |
6 files changed, 49 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 241b55fa42de..cc8a0f32f8f7 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -138,6 +138,7 @@ SUBDIR += p5-Lingua-EN-Numbers-Ordinate SUBDIR += p5-Lingua-EN-Sentence SUBDIR += p5-Lingua-EN-Squeeze + SUBDIR += p5-Lingua-EN-Summarize SUBDIR += p5-Lingua-Ispell SUBDIR += p5-Lingua-Preferred SUBDIR += p5-MARC diff --git a/textproc/p5-Lingua-EN-Summarize/Makefile b/textproc/p5-Lingua-EN-Summarize/Makefile new file mode 100644 index 000000000000..1b1b8d713fee --- /dev/null +++ b/textproc/p5-Lingua-EN-Summarize/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: Lingua::EN::Summarize +# Date created: 31 Dec 2001 +# Whom: Seamus Venasse <svenasse@polaris.ca> +# +# $FreeBSD$ +# + +PORTNAME= Lingua-EN-Summarize +PORTVERSION= 0.2 +CATEGORIES= textproc perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Lingua +PKGNAMEPREFIX= p5- + +MAINTAINER= svenasse@polaris.ca + +BUILD_DEPENDS= ${SITE_PERL}/HTML/Summary.pm:${PORTSDIR}/www/p5-HTML-Summary +RUN_DEPENDS= ${BUILD_DEPENDS} + +SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} +PERL_CONFIGURE= yes + +MAN3= Lingua::EN::Filters.3 \ + Lingua::EN::Summarize.3 +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + +.include <bsd.port.mk> diff --git a/textproc/p5-Lingua-EN-Summarize/distinfo b/textproc/p5-Lingua-EN-Summarize/distinfo new file mode 100644 index 000000000000..9228ffcbed37 --- /dev/null +++ b/textproc/p5-Lingua-EN-Summarize/distinfo @@ -0,0 +1 @@ +MD5 (Lingua-EN-Summarize-0.2.tar.gz) = 096a068627bd8b1efb58da40a7c5ea49 diff --git a/textproc/p5-Lingua-EN-Summarize/pkg-comment b/textproc/p5-Lingua-EN-Summarize/pkg-comment new file mode 100644 index 000000000000..adb2ff868d00 --- /dev/null +++ b/textproc/p5-Lingua-EN-Summarize/pkg-comment @@ -0,0 +1 @@ +A simple tool for summarizing bodies of English text diff --git a/textproc/p5-Lingua-EN-Summarize/pkg-descr b/textproc/p5-Lingua-EN-Summarize/pkg-descr new file mode 100644 index 000000000000..6336bcfb9019 --- /dev/null +++ b/textproc/p5-Lingua-EN-Summarize/pkg-descr @@ -0,0 +1,10 @@ +This is a simple module which makes an unscientific effort at +summarizing English text. It recognizes simple patterns which look +like statements, abridges them, and concatenates them into something +vaguely resembling a summary. It needs more work on large bodies +of text, but it seems to have a decent effect on small inputs at +the moment. + +WWW: http://search.cpan.org/search?dist=Lingua-EN-Summarize + +Seamus Venasse <svenasse@polaris.ca> diff --git a/textproc/p5-Lingua-EN-Summarize/pkg-plist b/textproc/p5-Lingua-EN-Summarize/pkg-plist new file mode 100644 index 000000000000..580cc9599207 --- /dev/null +++ b/textproc/p5-Lingua-EN-Summarize/pkg-plist @@ -0,0 +1,9 @@ +lib/perl5/site_perl/%%PERL_VER%%/Lingua/EN/Summarize.pm +lib/perl5/site_perl/%%PERL_VER%%/Lingua/EN/Summarize/Filters.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Lingua/EN/Summarize/.packlist +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Lingua/EN/Summarize 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Lingua/EN 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Lingua 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Lingua/EN/Summarize 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Lingua/EN 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Lingua 2>/dev/null || true |