textproc/p5-Text-Context 3.7_1
Handle highlighting search result context snippets
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Categories
- textproc, perl5
- Package size
- 7.7 KiB, 11.4 KiB installed
Description
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.
Install
As a binary package — by origin, or by package name:
pkg install textproc/p5-Text-Context
pkg install p5-Text-Context
From the ports tree:
cd /usr/ports/textproc/p5-Text-Context/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Text-Context>0:textproc/p5-Text-Context
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 3.7_1 | 3.7_1 | 3.7_1 | 3.7_1 | 3.7_1 |
| FreeBSD:14:quarterly | 3.7_1 | 3.7_1 | n/a | 3.7_1 | 3.7_1 |
| FreeBSD:15:latest | 3.7_1 | 3.7_1 | n/a | 3.7_1 | 3.7_1 |
| FreeBSD:15:quarterly | 3.7_1 | 3.7_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.7_1 | 3.7_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
p5-Text-Context-EitherSide>=1.1: textproc/p5-Text-Context-EitherSidep5-UNIVERSAL-require>=0.03: devel/p5-UNIVERSAL-requirep5-HTML-Parser>0: www/p5-HTML-Parser
Runtime 3
p5-Text-Context-EitherSide>=1.1: textproc/p5-Text-Context-EitherSidep5-UNIVERSAL-require>=0.03: devel/p5-UNIVERSAL-requirep5-HTML-Parser>0: www/p5-HTML-Parser
The full lists below include those, and their dependencies in turn.
All build dependencies 15
- converters/p5-Encode-Locale
- converters/p5-MIME-Base32
- converters/p5-MIME-Base64
- devel/p5-Clone
- devel/p5-IO-HTML
- devel/p5-TimeDate
- devel/p5-UNIVERSAL-require
- lang/perl5.42
- net/p5-URI
- textproc/p5-Text-Context-EitherSide
- www/p5-HTML-Parser
- www/p5-HTML-Tagset
- www/p5-HTTP-Date
- www/p5-HTTP-Message
- www/p5-LWP-MediaTypes
All run dependencies 15
- converters/p5-Encode-Locale
- converters/p5-MIME-Base32
- converters/p5-MIME-Base64
- devel/p5-Clone
- devel/p5-IO-HTML
- devel/p5-TimeDate
- devel/p5-UNIVERSAL-require
- lang/perl5.42
- net/p5-URI
- textproc/p5-Text-Context-EitherSide
- www/p5-HTML-Parser
- www/p5-HTML-Tagset
- www/p5-HTTP-Date
- www/p5-HTTP-Message
- www/p5-LWP-MediaTypes
Required by 1
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 4
- %%PERL5_MAN3%%/Text::Context.3.gz
- %%PERL5_MAN3%%/Text::Context::Para.3.gz
- %%SITE_PERL%%/Text/Context.pm
- %%SITE_PERL%%/Text/Context/Para.pm
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Text-Context-3.7.tar.gz | 7039 | 6f42b7c9ab3776a0cff9d98ba10872fe1fdae55c544ef28280c6865def490528 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.