mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-09 02:22:18 +00:00
6837367be6
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.
27 lines
643 B
Makefile
27 lines
643 B
Makefile
# 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>
|