BSD Ports

textproc/p5-Makefile-DOM 0.008_1 FreeBSD

Simple DOM parser for Makefiles

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
textproc, perl5
Package size
63.1 KiB, 136.5 KiB installed

Description

This library 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
FreeBSDtextproc/p5-Makefile-DOM0.008_1
DragonFlytextproc/p5-Makefile-DOM0.008_1

Install

Binary package:

pkg install p5-Makefile-DOM

From the ports tree:

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

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

RUN_DEPENDS=	p5-Makefile-DOM>0:textproc/p5-Makefile-DOM

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.008_10.008_10.008_10.008_10.008_1
FreeBSD:14:quarterly0.008_10.008_1n/a0.008_10.008_1
FreeBSD:15:latest0.008_10.008_1n/a0.008_10.008_1
FreeBSD:15:quarterly0.008_10.008_1n/an/an/a
FreeBSD:16:latest0.008_10.008_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Runtime 3

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

Build dependencies 6
Run dependencies 6

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 42
  • %%SITE_PERL%%/MDOM/Assignment.pm
  • %%SITE_PERL%%/MDOM/Command.pm
  • %%SITE_PERL%%/MDOM/Directive.pm
  • %%SITE_PERL%%/MDOM/Document.pm
  • %%SITE_PERL%%/MDOM/Document/Gmake.pm
  • %%SITE_PERL%%/MDOM/Dumper.pm
  • %%SITE_PERL%%/MDOM/Element.pm
  • %%SITE_PERL%%/MDOM/Node.pm
  • %%SITE_PERL%%/MDOM/Rule.pm
  • %%SITE_PERL%%/MDOM/Rule/Simple.pm
  • %%SITE_PERL%%/MDOM/Rule/StaticPattern.pm
  • %%SITE_PERL%%/MDOM/Token.pm
  • %%SITE_PERL%%/MDOM/Token/Bare.pm
  • %%SITE_PERL%%/MDOM/Token/Comment.pm
  • %%SITE_PERL%%/MDOM/Token/Continuation.pm
  • %%SITE_PERL%%/MDOM/Token/Interpolation.pm
  • %%SITE_PERL%%/MDOM/Token/Modifier.pm
  • %%SITE_PERL%%/MDOM/Token/Separator.pm
  • %%SITE_PERL%%/MDOM/Token/Whitespace.pm
  • %%SITE_PERL%%/MDOM/Unknown.pm
  • %%SITE_PERL%%/MDOM/Util.pm
  • %%SITE_PERL%%/Makefile/DOM.pm
  • %%PERL5_MAN3%%/MDOM::Dumper.3.gz
  • %%PERL5_MAN3%%/MDOM::Element.3.gz
  • %%PERL5_MAN3%%/MDOM::Node.3.gz
  • %%PERL5_MAN3%%/MDOM::Token.3.gz
  • %%PERL5_MAN3%%/MDOM::Token::Comment.3.gz
  • %%PERL5_MAN3%%/MDOM::Token::Separator.3.gz
  • %%PERL5_MAN3%%/MDOM::Token::Whitespace.3.gz
  • %%PERL5_MAN3%%/Makefile::DOM.3.gz
  • %%PERL5_MAN3%%/MDOM::Assignment.3.gz
  • %%PERL5_MAN3%%/MDOM::Command.3.gz
  • %%PERL5_MAN3%%/MDOM::Directive.3.gz
  • %%PERL5_MAN3%%/MDOM::Document::Gmake.3.gz
  • %%PERL5_MAN3%%/MDOM::Rule.3.gz
  • %%PERL5_MAN3%%/MDOM::Rule::Simple.3.gz
  • %%PERL5_MAN3%%/MDOM::Rule::StaticPattern.3.gz
  • %%PERL5_MAN3%%/MDOM::Token::Bare.3.gz
  • %%PERL5_MAN3%%/MDOM::Token::Interpolation.3.gz
  • %%PERL5_MAN3%%/MDOM::Token::Modifier.3.gz
  • %%PERL5_MAN3%%/MDOM::Unknown.3.gz
  • %%PERL5_MAN3%%/MDOM::Util.3.gz
distinfo 1
FileSizeSHA256
Makefile-DOM-0.008.tar.gz96929df54998f4c523489ab0c4d8b2fae44c9bb04a98c63a7d5004d0179e5dcf75824
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.