aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Lingua-EN-Summarize
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-06-09 00:06:36 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-06-09 00:06:36 +0000
commitf6f06201596cab9d533798e840d54a6179d0738f (patch)
tree2fc3bb6c3de1b2de62bfbc174a2fa737fd9e897f /textproc/p5-Lingua-EN-Summarize
parent2d0c4dcb0a111569484a2c897bd84a3f95caf344 (diff)
downloadports-f6f06201596cab9d533798e840d54a6179d0738f.tar.gz
ports-f6f06201596cab9d533798e840d54a6179d0738f.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>
Notes
Notes: svn path=/head/; revision=60928
Diffstat (limited to 'textproc/p5-Lingua-EN-Summarize')
-rw-r--r--textproc/p5-Lingua-EN-Summarize/Makefile27
-rw-r--r--textproc/p5-Lingua-EN-Summarize/distinfo1
-rw-r--r--textproc/p5-Lingua-EN-Summarize/pkg-comment1
-rw-r--r--textproc/p5-Lingua-EN-Summarize/pkg-descr10
-rw-r--r--textproc/p5-Lingua-EN-Summarize/pkg-plist9
5 files changed, 48 insertions, 0 deletions
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