textproc/p5-XML-LibXML-PrettyPrint 0.006_1 FreeBSD
Add pleasant whitespace to a DOM tree
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- textproc, perl5
- Package size
- 20.2 KiB, 61.7 KiB installed
Description
Long XML files can be daunting for humans to read. Of course, XML is really designed for computers to read - not people - but there are times when mere mortals do need to read and edit XML by hand. For example, if your application stores its configuration in XML, or you need to dump some XML to STDOUT for debugging purposes.
Syntax highlighting helps, but to really make sense of some XML, proper indentation can be vital. Hence XML::LibXML::PrettyPrint - it can be applied to an XML::LibXML DOM tree to reformat it into a more readable result.
Pretty-printing XML is not as CPU-efficient as dumping it out sloppily, so unless you're pretty sure that a human is going to need to make sense of your XML, you should probably not use this module.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/p5-XML-LibXML-PrettyPrint | 0.006_1 |
| DragonFly | textproc/p5-XML-LibXML-PrettyPrint | 0.006_1 |
| HardenedBSD | textproc/p5-XML-LibXML-PrettyPrint | 0.006_1 |
| GhostBSD | textproc/p5-XML-LibXML-PrettyPrint | 0.006_1 |
Install
Binary package:
pkg install p5-XML-LibXML-PrettyPrint
From the ports tree:
cd /usr/ports/textproc/p5-XML-LibXML-PrettyPrint/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-XML-LibXML-PrettyPrint>0:textproc/p5-XML-LibXML-PrettyPrint
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.006_1 | 0.006_1 | 0.006_1 | 0.006_1 | 0.006_1 |
| FreeBSD:14:quarterly | 0.006_1 | 0.006_1 | n/a | 0.006_1 | 0.006_1 |
| FreeBSD:15:latest | 0.006_1 | 0.006_1 | n/a | 0.006_1 | 0.006_1 |
| FreeBSD:15:quarterly | 0.006_1 | 0.006_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.006_1 | 0.006_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 2
p5-Exporter-Tiny>=0: devel/p5-Exporter-Tinyp5-XML-LibXML>=1.62: textproc/p5-XML-LibXML
Runtime 2
p5-Exporter-Tiny>=0: devel/p5-Exporter-Tinyp5-XML-LibXML>=1.62: textproc/p5-XML-LibXML
Test 1
p5-Test-Warnings>=0: devel/p5-Test-Warnings
The full lists below include those, and their dependencies in turn.
Build dependencies 9
Run dependencies 9
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 4
- bin/xml-pretty
- %%SITE_PERL%%/XML/LibXML/PrettyPrint.pm
- %%PERL5_MAN1%%/xml-pretty.1.gz
- %%PERL5_MAN3%%/XML::LibXML::PrettyPrint.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| XML-LibXML-PrettyPrint-0.006.tar.gz | 25709 | 89fb31725e90ecde0fc3623cb1e22decbaa4dbe30d6af56d38a0a8b45c4789f0 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.