BSD Ports

textproc/p5-MathML-Entities 0.20 FreeBSD

Convert XHTML+MathML Named Entities to Numeric Character References

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Categories
textproc, www, math, perl5
Package size
15.3 KiB, 61.3 KiB installed

Description

MathML::Entities a content conversion filter for named XHTML+MathML entities. There are over two thousand named entities in the XHTML+MathML DTD. All the Entities defined in the XHTML+MathML DTD except the five "safe" ones (<, >, &, ", '), will be converted to the equivalent numeric character references or to utf-8 characters. Named entities which are not in the XHTML+MathML DTD are escaped. This makes the resulting XHTML (or XHTML+MathML) safe for consumption by non-validating XML parsers.

Unlike, HTML::Entities, the mapping between MathML named entities and codepoints is many-to-one. Therefore, there's no particular sense in having an inverse function, which takes codepoints to named entities.

Based on: HTML::Entities by Koichi Taniguchi <[email protected]>

In the other systems

SystemPortVersion
FreeBSDtextproc/p5-MathML-Entities0.20
DragonFlytextproc/p5-MathML-Entities0.17_1

Install

Binary package:

pkg install p5-MathML-Entities

From the ports tree:

cd /usr/ports/textproc/p5-MathML-Entities/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-MathML-Entities>0:textproc/p5-MathML-Entities

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.200.200.17_10.200.20
FreeBSD:14:quarterly0.200.20n/a0.17_10.20
FreeBSD:15:latest0.200.20n/a0.17_10.20
FreeBSD:15:quarterly0.200.20n/an/an/a
FreeBSD:16:latest0.200.20n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%PERL5_MAN3%%/MathML::Entities.3.gz
  • %%SITE_PERL%%/MathML/Entities.pm
distinfo 1
FileSizeSHA256
MathML-Entities-0.20.tar.gz19647c2a7eb60f06e8e198b811c9fb428c5ff7b4022beb0ad88cb1d7a77594d23a7a9
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.