diff options
author | tobez <tobez@FreeBSD.org> | 2005-10-24 16:29:29 +0800 |
---|---|---|
committer | tobez <tobez@FreeBSD.org> | 2005-10-24 16:29:29 +0800 |
commit | 9ce25538d0113af6a7b0ade2f58f352990ed3c92 (patch) | |
tree | 1a4e98621ed573a781bc9d2eb35519b94c433a3a /textproc | |
parent | 68fdb37ebc292f998240652749020f3a04869381 (diff) | |
download | freebsd-ports-gnome-9ce25538d0113af6a7b0ade2f58f352990ed3c92.tar.gz freebsd-ports-gnome-9ce25538d0113af6a7b0ade2f58f352990ed3c92.tar.zst freebsd-ports-gnome-9ce25538d0113af6a7b0ade2f58f352990ed3c92.zip |
Add textproc/p5-Text-Context-EitherSide 1.3, a Perl module to get N
words either side of search keywords.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/p5-Text-Context-EitherSide/Makefile | 28 | ||||
-rw-r--r-- | textproc/p5-Text-Context-EitherSide/distinfo | 2 | ||||
-rw-r--r-- | textproc/p5-Text-Context-EitherSide/pkg-descr | 6 | ||||
-rw-r--r-- | textproc/p5-Text-Context-EitherSide/pkg-plist | 7 |
5 files changed, 44 insertions, 0 deletions
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 <tobez@FreeBSD.org> +# +# $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 <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again +.endif + +.include <bsd.port.post.mk> 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 |