1
0
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:
Lars Balker Rasmussen 2009-03-29 14:26:51 +00:00
parent d15b6b4705
commit 6837367be6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=231248
5 changed files with 43 additions and 0 deletions

View File

@ -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

View 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>

View 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

View 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/

View 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