From f6f06201596cab9d533798e840d54a6179d0738f Mon Sep 17 00:00:00 2001 From: Pete Fritchman Date: Sun, 9 Jun 2002 00:06:36 +0000 Subject: Add p5-Lingua-EN-Summarize 0.2, a simple tool for summarizing bodies of English text. PR: 33435 Submitted by: Seamus Venasse --- textproc/Makefile | 1 + textproc/p5-Lingua-EN-Summarize/Makefile | 27 +++++++++++++++++++++++++++ textproc/p5-Lingua-EN-Summarize/distinfo | 1 + textproc/p5-Lingua-EN-Summarize/pkg-comment | 1 + textproc/p5-Lingua-EN-Summarize/pkg-descr | 10 ++++++++++ textproc/p5-Lingua-EN-Summarize/pkg-plist | 9 +++++++++ 6 files changed, 49 insertions(+) create mode 100644 textproc/p5-Lingua-EN-Summarize/Makefile create mode 100644 textproc/p5-Lingua-EN-Summarize/distinfo create mode 100644 textproc/p5-Lingua-EN-Summarize/pkg-comment create mode 100644 textproc/p5-Lingua-EN-Summarize/pkg-descr create mode 100644 textproc/p5-Lingua-EN-Summarize/pkg-plist 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 +# +# $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 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 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 -- cgit v1.2.3