diff options
author | lbr <lbr@FreeBSD.org> | 2009-03-29 22:26:51 +0800 |
---|---|---|
committer | lbr <lbr@FreeBSD.org> | 2009-03-29 22:26:51 +0800 |
commit | 686230bd9871edb015081111b979e1a7e151747f (patch) | |
tree | 27b9f3f9698ce240868de7a5d670574cb973f217 /textproc | |
parent | e6c9e974882e736e62bc420cfbd244fa5d49c02a (diff) | |
download | freebsd-ports-gnome-686230bd9871edb015081111b979e1a7e151747f.tar.gz freebsd-ports-gnome-686230bd9871edb015081111b979e1a7e151747f.tar.zst freebsd-ports-gnome-686230bd9871edb015081111b979e1a7e151747f.zip |
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.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/p5-Text-Context/Makefile | 26 | ||||
-rw-r--r-- | textproc/p5-Text-Context/distinfo | 3 | ||||
-rw-r--r-- | textproc/p5-Text-Context/pkg-descr | 6 | ||||
-rw-r--r-- | textproc/p5-Text-Context/pkg-plist | 7 |
5 files changed, 43 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 3baf2963b18b..68a756b9524c 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -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 diff --git a/textproc/p5-Text-Context/Makefile b/textproc/p5-Text-Context/Makefile new file mode 100644 index 000000000000..5cfe0a91436e --- /dev/null +++ b/textproc/p5-Text-Context/Makefile @@ -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> diff --git a/textproc/p5-Text-Context/distinfo b/textproc/p5-Text-Context/distinfo new file mode 100644 index 000000000000..383ef45d4a30 --- /dev/null +++ b/textproc/p5-Text-Context/distinfo @@ -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 diff --git a/textproc/p5-Text-Context/pkg-descr b/textproc/p5-Text-Context/pkg-descr new file mode 100644 index 000000000000..203fe9780792 --- /dev/null +++ b/textproc/p5-Text-Context/pkg-descr @@ -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/ diff --git a/textproc/p5-Text-Context/pkg-plist b/textproc/p5-Text-Context/pkg-plist new file mode 100644 index 000000000000..41cad9a1b130 --- /dev/null +++ b/textproc/p5-Text-Context/pkg-plist @@ -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 |