ports/122843: [NEW PORT] textproc/p5-Makefile-DOM: Simple DOM parser for Makefiles

Gea-Suan Lin gslin at gslin.org
Thu Apr 17 11:00:07 UTC 2008


>Number:         122843
>Category:       ports
>Synopsis:       [NEW PORT] textproc/p5-Makefile-DOM: Simple DOM parser for Makefiles
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 17 11:00:06 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.3-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD ccreader.NCTU.edu.tw 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #3: Tue Jan 15 11:22:08 CST 2008
>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.

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

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-Makefile-DOM-0.004.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-Makefile-DOM
#	p5-Makefile-DOM/pkg-descr
#	p5-Makefile-DOM/Makefile
#	p5-Makefile-DOM/pkg-plist
#	p5-Makefile-DOM/distinfo
#
echo c - p5-Makefile-DOM
mkdir -p p5-Makefile-DOM > /dev/null 2>&1
echo x - p5-Makefile-DOM/pkg-descr
sed 's/^X//' >p5-Makefile-DOM/pkg-descr << 'END-of-p5-Makefile-DOM/pkg-descr'
XThis libary can serve as an advanced lexer for (GNU) makefiles. It
Xparses makefiles as "documents" and the parsing is lossless. The
Xresults are data structures similar to DOM trees. The DOM trees hold
Xevery single bit of the information in the original input files,
Xincluding white spaces, blank lines and makefile comments. That means
Xit's possible to reproduce the original makefiles from the DOM trees.
XIn addition, each node of the DOM trees is modifiable and so is the
Xwhole tree, just like the PPI module used for Perl source parsing and
Xthe HTML::TreeBuilder module used for parsing HTML source.
X
XWWW:	http://search.cpan.org/dist/Makefile-DOM/
END-of-p5-Makefile-DOM/pkg-descr
echo x - p5-Makefile-DOM/Makefile
sed 's/^X//' >p5-Makefile-DOM/Makefile << 'END-of-p5-Makefile-DOM/Makefile'
X# New ports collection makefile for:	p5-Makefile-DOM
X# Date created:		2008-04-17
X# Whom:			Gea-Suan Lin <gslin at gslin.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Makefile-DOM
XPORTVERSION=	0.004
XCATEGORIES=	textproc perl5
XMASTER_SITES=	CPAN
XMASTER_SITE_SUBDIR=	../../authors/id/A/AG/AGENT
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	gslin at gslin.org
XCOMMENT=	Simple DOM parser for Makefiles
X
XRUN_DEPENDS=	p5-Clone>=0.18:${PORTSDIR}/devel/p5-Clone \
X		p5-List-MoreUtils>=0.21:${PORTSDIR}/lang/p5-List-MoreUtils \
X		p5-Params-Util>=0.22:${PORTSDIR}/devel/p5-Params-Util
X
XPERL_CONFIGURE=	5.6.1+
X
XMAN3=		MDOM::Dumper.3 \
X		MDOM::Element.3 \
X		MDOM::Node.3 \
X		MDOM::Token.3 \
X		MDOM::Token::Comment.3 \
X		MDOM::Token::Separator.3 \
X		MDOM::Token::Whitespace.3 \
X		Makefile::DOM.3
X
X.include <bsd.port.mk>
END-of-p5-Makefile-DOM/Makefile
echo x - p5-Makefile-DOM/pkg-plist
sed 's/^X//' >p5-Makefile-DOM/pkg-plist << 'END-of-p5-Makefile-DOM/pkg-plist'
X at comment $FreeBSD$
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Makefile/DOM/.packlist
X%%SITE_PERL%%/MDOM/Assignment.pm
X%%SITE_PERL%%/MDOM/Command.pm
X%%SITE_PERL%%/MDOM/Directive.pm
X%%SITE_PERL%%/MDOM/Document.pm
X%%SITE_PERL%%/MDOM/Document/Gmake.pm
X%%SITE_PERL%%/MDOM/Dumper.pm
X%%SITE_PERL%%/MDOM/Element.pm
X%%SITE_PERL%%/MDOM/Node.pm
X%%SITE_PERL%%/MDOM/Rule.pm
X%%SITE_PERL%%/MDOM/Rule/Simple.pm
X%%SITE_PERL%%/MDOM/Rule/StaticPattern.pm
X%%SITE_PERL%%/MDOM/Token.pm
X%%SITE_PERL%%/MDOM/Token/Bare.pm
X%%SITE_PERL%%/MDOM/Token/Comment.pm
X%%SITE_PERL%%/MDOM/Token/Continuation.pm
X%%SITE_PERL%%/MDOM/Token/Interpolation.pm
X%%SITE_PERL%%/MDOM/Token/Modifier.pm
X%%SITE_PERL%%/MDOM/Token/Separator.pm
X%%SITE_PERL%%/MDOM/Token/Whitespace.pm
X%%SITE_PERL%%/MDOM/Unknown.pm
X%%SITE_PERL%%/MDOM/Util.pm
X%%SITE_PERL%%/Makefile/DOM.pm
X at dirrmtry %%SITE_PERL%%/Makefile
X at dirrmtry %%SITE_PERL%%/MDOM/Token
X at dirrmtry %%SITE_PERL%%/MDOM/Rule
X at dirrmtry %%SITE_PERL%%/MDOM/Document
X at dirrmtry %%SITE_PERL%%/MDOM
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Makefile/DOM
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Makefile
END-of-p5-Makefile-DOM/pkg-plist
echo x - p5-Makefile-DOM/distinfo
sed 's/^X//' >p5-Makefile-DOM/distinfo << 'END-of-p5-Makefile-DOM/distinfo'
XMD5 (Makefile-DOM-0.004.tar.gz) = 2860a83edc7396077716c63f30c12446
XSHA256 (Makefile-DOM-0.004.tar.gz) = 04535715ba9bbd79118524f54594630dd66b06b7d59afd61da411ecfb5094a63
XSIZE (Makefile-DOM-0.004.tar.gz) = 85761
END-of-p5-Makefile-DOM/distinfo
exit
--- p5-Makefile-DOM-0.004.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list