BSD Ports

textproc/pear-Text_Highlighter 0.8.0 DragonFly

PEAR Syntax highlighting

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
PHP301
Categories
pear, textproc
Package size
80.2 KiB, 887.5 KiB installed

Description

Text_Highlighter is a package for syntax highlighting.

It provides a base class provining all the functionality, and a descendent classes geneator class.

The main idea is to simplify creation of subclasses implementing syntax highlighting for particular language. Subclasses do not implement any new functioanality, they just provide syntax highlighting rules. The rules sources are in XML format.

To create a highlighter for a language, there is no need to code a new class manually. Simply describe the rules in XML file and use Text_Highlighter_Generator to create a new class.

In the other systems

SystemPortVersion
DragonFlytextproc/pear-Text_Highlighter0.8.0
FreeBSDtextproc/pear-Text_Highlighter0.8.0
HardenedBSDtextproc/pear-Text_Highlighter0.8.0
GhostBSDtextproc/pear-Text_Highlighter0.8.0

Install

Binary package:

pkg install php81-pear-Text_Highlighter

From DPorts:

cd /usr/dports/textproc/pear-Text_Highlighter && make install clean

Dependencies

Run dependencies 3

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
php82-pear-Text_Highlighter-0.8.0, php83-pear-Text_Highlighter-0.8.0, php84-pear-Text_Highlighter-0.8.0