BSD Ports

textproc/p5-Makefile-DOM 0.008_1 DragonFly

Simple DOM parser for Makefiles

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
perl5, textproc
Package size
65.1 KiB, 141.1 KiB installed

Description

This libary can serve as an advanced lexer for (GNU) makefiles. It parses makefiles as "documents" and the parsing is lossless. The results are data structures similar to DOM trees. The DOM trees hold every single bit of the information in the original input files, including white spaces, blank lines and makefile comments. That means it's possible to reproduce the original makefiles from the DOM trees. In addition, each node of the DOM trees is modifiable and so is the whole tree, just like the PPI module used for Perl source parsing and the HTML::TreeBuilder module used for parsing HTML source.

In the other systems

SystemPortVersion
DragonFlytextproc/p5-Makefile-DOM0.008_1
FreeBSDtextproc/p5-Makefile-DOM0.008_1
HardenedBSDtextproc/p5-Makefile-DOM0.008_1
GhostBSDtextproc/p5-Makefile-DOM0.008_1

Install

Binary package:

pkg install p5-Makefile-DOM

From DPorts:

cd /usr/dports/textproc/p5-Makefile-DOM && make install clean

Dependencies

Run dependencies 4