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
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/p5-Makefile-DOM | 0.008_1 |
| DragonFly | textproc/p5-Makefile-DOM | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.008_1 | 0.008_1 | 0.008_1 | 0.008_1 | 0.008_1 |
| FreeBSD:14:quarterly | 0.008_1 | 0.008_1 | n/a | 0.008_1 | 0.008_1 |
| FreeBSD:15:latest | 0.008_1 | 0.008_1 | n/a | 0.008_1 | 0.008_1 |
| FreeBSD:15:quarterly | 0.008_1 | 0.008_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.008_1 | 0.008_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 3
p5-Clone>=0.18: devel/p5-Clonep5-List-MoreUtils>=0.21: lang/p5-List-MoreUtilsp5-Params-Util>=0.22: devel/p5-Params-Util
Runtime 3
p5-Clone>=0.18: devel/p5-Clonep5-List-MoreUtils>=0.21: lang/p5-List-MoreUtilsp5-Params-Util>=0.22: devel/p5-Params-Util
The full lists below include those, and their dependencies in turn.
Build dependencies 6
Run dependencies 6
Required by 1
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
| File | Size | SHA256 |
|---|---|---|
| Makefile-DOM-0.008.tar.gz | 96929 | df54998f4c523489ab0c4d8b2fae44c9bb04a98c63a7d5004d0179e5dcf75824 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.