mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
New port, textproc/p5-Text-Context:
Given a piece of text and some search terms, produces an object which locates the search terms in the message, extracts a reasonable-length string containing all the search terms, and optionally dumps the string out as HTML text with the search terms highlighted in bold.
This commit is contained in:
parent
d15b6b4705
commit
6837367be6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=231248
@ -588,6 +588,7 @@
|
||||
SUBDIR += p5-Text-Capitalize
|
||||
SUBDIR += p5-Text-CharWidth
|
||||
SUBDIR += p5-Text-Chomp
|
||||
SUBDIR += p5-Text-Context
|
||||
SUBDIR += p5-Text-Context-EitherSide
|
||||
SUBDIR += p5-Text-Decorator
|
||||
SUBDIR += p5-Text-Delimited
|
||||
|
26
textproc/p5-Text-Context/Makefile
Normal file
26
textproc/p5-Text-Context/Makefile
Normal file
@ -0,0 +1,26 @@
|
||||
# New ports collection makefile for: textproc/p5-Text-Context
|
||||
# Date created: 29 Mar 2009
|
||||
# Whom: Lars Balker Rasmussen <lbr@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Text-Context
|
||||
PORTVERSION= 3.6
|
||||
CATEGORIES= textproc perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= lbr@FreeBSD.org
|
||||
COMMENT= Handle highlighting search result context snippets
|
||||
|
||||
RUN_DEPENDS= p5-Text-Context-EitherSide>=1.1:${PORTSDIR}/textproc/p5-Text-Context-EitherSide \
|
||||
p5-UNIVERSAL-require>=0.03:${PORTSDIR}/devel/p5-UNIVERSAL-require
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= Text::Context.3 \
|
||||
Text::Context::Para.3
|
||||
|
||||
.include <bsd.port.mk>
|
3
textproc/p5-Text-Context/distinfo
Normal file
3
textproc/p5-Text-Context/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (Text-Context-3.6.tar.gz) = a7563acb5d69bb05270d594010d7cf51
|
||||
SHA256 (Text-Context-3.6.tar.gz) = 1582d81890d179f551e31a788f566332b9c754e8857d1d96c247c7dfe4baccb7
|
||||
SIZE (Text-Context-3.6.tar.gz) = 6954
|
6
textproc/p5-Text-Context/pkg-descr
Normal file
6
textproc/p5-Text-Context/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
Given a piece of text and some search terms, produces an object
|
||||
which locates the search terms in the message, extracts a reasonable-length
|
||||
string containing all the search terms, and optionally dumps the string out
|
||||
as HTML text with the search terms highlighted in bold.
|
||||
|
||||
WWW: http://search.cpan.org/dist/Text-Context/
|
7
textproc/p5-Text-Context/pkg-plist
Normal file
7
textproc/p5-Text-Context/pkg-plist
Normal file
@ -0,0 +1,7 @@
|
||||
%%SITE_PERL%%/Text/Context.pm
|
||||
%%SITE_PERL%%/Text/Context/Para.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Context/.packlist
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Context
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text
|
||||
@dirrmtry %%SITE_PERL%%/Text/Context
|
||||
@dirrmtry %%SITE_PERL%%/Text
|
Loading…
Reference in New Issue
Block a user