mirror of
https://git.freebsd.org/ports.git
synced 2025-05-24 23:16:33 -04:00
Add textproc/p5-Text-Context-EitherSide 1.3, a Perl module to get N
words either side of search keywords.
This commit is contained in:
parent
7e9f8896a8
commit
a75d5c0bb8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146219
5 changed files with 44 additions and 0 deletions
|
@ -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
|
||||
|
|
28
textproc/p5-Text-Context-EitherSide/Makefile
Normal file
28
textproc/p5-Text-Context-EitherSide/Makefile
Normal file
|
@ -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>
|
2
textproc/p5-Text-Context-EitherSide/distinfo
Normal file
2
textproc/p5-Text-Context-EitherSide/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
MD5 (Text-Context-EitherSide-1.3.tar.gz) = 157133a5afc8bfbe025f60a3715751db
|
||||
SIZE (Text-Context-EitherSide-1.3.tar.gz) = 4692
|
6
textproc/p5-Text-Context-EitherSide/pkg-descr
Normal file
6
textproc/p5-Text-Context-EitherSide/pkg-descr
Normal file
|
@ -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/
|
7
textproc/p5-Text-Context-EitherSide/pkg-plist
Normal file
7
textproc/p5-Text-Context-EitherSide/pkg-plist
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue