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
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/p5-MathML-Entities | 0.20 |
| DragonFly | textproc/p5-MathML-Entities | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.20 | 0.20 | 0.17_1 | 0.20 | 0.20 |
| FreeBSD:14:quarterly | 0.20 | 0.20 | n/a | 0.17_1 | 0.20 |
| FreeBSD:15:latest | 0.20 | 0.20 | n/a | 0.17_1 | 0.20 |
| FreeBSD:15:quarterly | 0.20 | 0.20 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.20 | 0.20 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
| File | Size | SHA256 |
|---|---|---|
| MathML-Entities-0.20.tar.gz | 19647 | c2a7eb60f06e8e198b811c9fb428c5ff7b4022beb0ad88cb1d7a77594d23a7a9 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.