BSD Ports

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

SystemPortVersion
FreeBSDtextproc/p5-XML-LibXML-PrettyPrint0.006_1
DragonFlytextproc/p5-XML-LibXML-PrettyPrint0.006_1
HardenedBSDtextproc/p5-XML-LibXML-PrettyPrint0.006_1
GhostBSDtextproc/p5-XML-LibXML-PrettyPrint0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.006_10.006_10.006_10.006_10.006_1
FreeBSD:14:quarterly0.006_10.006_1n/a0.006_10.006_1
FreeBSD:15:latest0.006_10.006_1n/a0.006_10.006_1
FreeBSD:15:quarterly0.006_10.006_1n/an/an/a
FreeBSD:16:latest0.006_10.006_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

Test 1

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
FileSizeSHA256
XML-LibXML-PrettyPrint-0.006.tar.gz2570989fb31725e90ecde0fc3623cb1e22decbaa4dbe30d6af56d38a0a8b45c4789f0
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.