freebsd-ports/textproc/p5-Makefile-DOM/Makefile
Cheng-Lung Sung fa976d2aed 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.

WWW:	http://search.cpan.org/dist/Makefile-DOM/

PR:		ports/122843
Submitted by:	Gea-Suan Lin <gslin at gslin.org>
2008-04-18 06:04:08 +00:00

33 lines
773 B
Makefile

# New ports collection makefile for: p5-Makefile-DOM
# Date created: 2008-04-17
# Whom: Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#
PORTNAME= Makefile-DOM
PORTVERSION= 0.004
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= ../../authors/id/A/AG/AGENT
PKGNAMEPREFIX= p5-
MAINTAINER= gslin@gslin.org
COMMENT= Simple DOM parser for Makefiles
RUN_DEPENDS= p5-Clone>=0.18:${PORTSDIR}/devel/p5-Clone \
p5-List-MoreUtils>=0.21:${PORTSDIR}/lang/p5-List-MoreUtils \
p5-Params-Util>=0.22:${PORTSDIR}/devel/p5-Params-Util
PERL_CONFIGURE= 5.6.1+
MAN3= MDOM::Dumper.3 \
MDOM::Element.3 \
MDOM::Node.3 \
MDOM::Token.3 \
MDOM::Token::Comment.3 \
MDOM::Token::Separator.3 \
MDOM::Token::Whitespace.3 \
Makefile::DOM.3
.include <bsd.port.mk>