aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-Lingua-EN-Summarize
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2002-06-09 08:06:36 +0800
committerpetef <petef@FreeBSD.org>2002-06-09 08:06:36 +0800
commita67bd72ded55154d6bd7bafc3a9eb35559e50a9c (patch)
tree73d01ea25c98966a5ea96b0f17a9402ad14ba8f2 /textproc/p5-Lingua-EN-Summarize
parent0730c5d968a55d28a3af3ec99a88f155ada2f181 (diff)
downloadfreebsd-ports-graphics-a67bd72ded55154d6bd7bafc3a9eb35559e50a9c.tar.gz
freebsd-ports-graphics-a67bd72ded55154d6bd7bafc3a9eb35559e50a9c.tar.zst
freebsd-ports-graphics-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/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 00000000000..1b1b8d713fe
--- /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 00000000000..9228ffcbed3
--- /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 00000000000..adb2ff868d0
--- /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 00000000000..6336bcfb901
--- /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 00000000000..580cc959920
--- /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