From 9ce25538d0113af6a7b0ade2f58f352990ed3c92 Mon Sep 17 00:00:00 2001 From: tobez Date: Mon, 24 Oct 2005 08:29:29 +0000 Subject: Add textproc/p5-Text-Context-EitherSide 1.3, a Perl module to get N words either side of search keywords. --- textproc/Makefile | 1 + textproc/p5-Text-Context-EitherSide/Makefile | 28 +++++++++++++++++++++++++++ textproc/p5-Text-Context-EitherSide/distinfo | 2 ++ textproc/p5-Text-Context-EitherSide/pkg-descr | 6 ++++++ textproc/p5-Text-Context-EitherSide/pkg-plist | 7 +++++++ 5 files changed, 44 insertions(+) create mode 100644 textproc/p5-Text-Context-EitherSide/Makefile create mode 100644 textproc/p5-Text-Context-EitherSide/distinfo create mode 100644 textproc/p5-Text-Context-EitherSide/pkg-descr create mode 100644 textproc/p5-Text-Context-EitherSide/pkg-plist (limited to 'textproc') diff --git a/textproc/Makefile b/textproc/Makefile index 84b8f3ad85a0..399f3a115209 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -396,6 +396,7 @@ SUBDIR += p5-Text-CSV SUBDIR += p5-Text-CSV_XS SUBDIR += p5-Text-Chomp + SUBDIR += p5-Text-Context-EitherSide SUBDIR += p5-Text-Diff SUBDIR += p5-Text-Diff-HTML SUBDIR += p5-Text-DoubleMetaphone diff --git a/textproc/p5-Text-Context-EitherSide/Makefile b/textproc/p5-Text-Context-EitherSide/Makefile new file mode 100644 index 000000000000..c795f32e7372 --- /dev/null +++ b/textproc/p5-Text-Context-EitherSide/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: textproc/p5-Text-Context-EitherSide +# Date created: 24 October 2005 +# Whom: Anton Berezin +# +# $FreeBSD$ +# + +PORTNAME= Text-Context-EitherSide +PORTVERSION= 1.3 +CATEGORIES= textproc perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Text +PKGNAMEPREFIX= p5- + +MAINTAINER= tobez@FreeBSD.org +COMMENT= Text::Context::EitherSide - Get n words either side of search keywords + +PERL_CONFIGURE= yes + +MAN3= Text::Context::EitherSide.3 + +.include + +.if ${PERL_LEVEL} < 500600 +IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again +.endif + +.include diff --git a/textproc/p5-Text-Context-EitherSide/distinfo b/textproc/p5-Text-Context-EitherSide/distinfo new file mode 100644 index 000000000000..ee59db410c0c --- /dev/null +++ b/textproc/p5-Text-Context-EitherSide/distinfo @@ -0,0 +1,2 @@ +MD5 (Text-Context-EitherSide-1.3.tar.gz) = 157133a5afc8bfbe025f60a3715751db +SIZE (Text-Context-EitherSide-1.3.tar.gz) = 4692 diff --git a/textproc/p5-Text-Context-EitherSide/pkg-descr b/textproc/p5-Text-Context-EitherSide/pkg-descr new file mode 100644 index 000000000000..5975e04d477a --- /dev/null +++ b/textproc/p5-Text-Context-EitherSide/pkg-descr @@ -0,0 +1,6 @@ +Suppose you have a large piece of text - typically, say, a web page or a +mail message. And now suppose you've done some kind of full-text search +on that text for a bunch of keywords, and you want to display the +context in which you found the keywords inside the body of the text. + +WWW: http://search.cpan.org/dist/Text-Context-EitherSide/ diff --git a/textproc/p5-Text-Context-EitherSide/pkg-plist b/textproc/p5-Text-Context-EitherSide/pkg-plist new file mode 100644 index 000000000000..6fd1754ba900 --- /dev/null +++ b/textproc/p5-Text-Context-EitherSide/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/Text/Context/EitherSide.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Context/EitherSide/.packlist +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Context/EitherSide 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Context 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Text/Context 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Text 2>/dev/null || true -- cgit