Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2006 18:25:55 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org
Subject:   ports/100074: [NEW PORT] textproc/p5-XML-XPathEngine: A re-usable XPath engine for DOM-like trees
Message-ID:  <20060711102555.DC2BF642@netnews.NCTU.edu.tw>
Resent-Message-ID: <200607111030.k6BAUARW058516@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         100074
>Category:       ports
>Synopsis:       [NEW PORT] textproc/p5-XML-XPathEngine: A re-usable XPath engine for DOM-like trees
>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:   Tue Jul 11 10:30:09 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
This module provides an XPath engine, that can be re-used by other
module/classes that implement trees.

In order to use the XPath engine, nodes in the user module need to
mimick DOM nodes. The degree of similitude between the user tree and a
DOM dictates how much of the XPath features can be used. A module
implementing all of the DOM should be able to use this module very
easily (you might need to add the cmp method on nodes in order to get
ordered result sets).

This code is a more or less direct copy of the XML::XPath module by
Matt Sergeant. I only removed the XML processing part to remove the
dependency on XML::Parser, applied a couple of patches, renamed a
whole lot of methods to make Pod::Coverage happy, and changed the docs.

Author:	Michel Rodriguez, <mirod@cpan.org>
WWW:	http://search.cpan.org/dist/XML-XPathEngine/

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

--- p5-XML-XPathEngine-0.03.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-XML-XPathEngine
#	p5-XML-XPathEngine/pkg-descr
#	p5-XML-XPathEngine/Makefile
#	p5-XML-XPathEngine/pkg-plist
#	p5-XML-XPathEngine/distinfo
#
echo c - p5-XML-XPathEngine
mkdir -p p5-XML-XPathEngine > /dev/null 2>&1
echo x - p5-XML-XPathEngine/pkg-descr
sed 's/^X//' >p5-XML-XPathEngine/pkg-descr << 'END-of-p5-XML-XPathEngine/pkg-descr'
XThis module provides an XPath engine, that can be re-used by other
Xmodule/classes that implement trees.
X
XIn order to use the XPath engine, nodes in the user module need to
Xmimick DOM nodes. The degree of similitude between the user tree and a
XDOM dictates how much of the XPath features can be used. A module
Ximplementing all of the DOM should be able to use this module very
Xeasily (you might need to add the cmp method on nodes in order to get
Xordered result sets).
X
XThis code is a more or less direct copy of the XML::XPath module by
XMatt Sergeant. I only removed the XML processing part to remove the
Xdependency on XML::Parser, applied a couple of patches, renamed a
Xwhole lot of methods to make Pod::Coverage happy, and changed the docs.
X
XAuthor:	Michel Rodriguez, <mirod@cpan.org>
XWWW:	http://search.cpan.org/dist/XML-XPathEngine/
END-of-p5-XML-XPathEngine/pkg-descr
echo x - p5-XML-XPathEngine/Makefile
sed 's/^X//' >p5-XML-XPathEngine/Makefile << 'END-of-p5-XML-XPathEngine/Makefile'
X# New ports collection makefile for:	p5-XML-XPathEngine
X# Date created:		2006-07-11
X# Whom:			Gea-Suan Lin <gslin@gslin.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	XML-XPathEngine
XPORTVERSION=	0.03
XCATEGORIES=	textproc perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	XML
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	gslin@gslin.org
XCOMMENT=	A re-usable XPath engine for DOM-like trees
X
XPERL_CONFIGURE=	yes
X
XMAN3=		XML::XPathEngine.3 XML::XPathEngine::Boolean.3 \
X		XML::XPathEngine::Literal.3 XML::XPathEngine::NodeSet.3 \
X		XML::XPathEngine::Number.3
X
X.include <bsd.port.mk>
END-of-p5-XML-XPathEngine/Makefile
echo x - p5-XML-XPathEngine/pkg-plist
sed 's/^X//' >p5-XML-XPathEngine/pkg-plist << 'END-of-p5-XML-XPathEngine/pkg-plist'
X@comment $FreeBSD$
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/XPathEngine/.packlist
X%%SITE_PERL%%/XML/XPathEngine.pm
X%%SITE_PERL%%/XML/XPathEngine/Boolean.pm
X%%SITE_PERL%%/XML/XPathEngine/Expr.pm
X%%SITE_PERL%%/XML/XPathEngine/Function.pm
X%%SITE_PERL%%/XML/XPathEngine/Literal.pm
X%%SITE_PERL%%/XML/XPathEngine/LocationPath.pm
X%%SITE_PERL%%/XML/XPathEngine/NodeSet.pm
X%%SITE_PERL%%/XML/XPathEngine/Number.pm
X%%SITE_PERL%%/XML/XPathEngine/Root.pm
X%%SITE_PERL%%/XML/XPathEngine/Step.pm
X%%SITE_PERL%%/XML/XPathEngine/Variable.pm
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/XPathEngine
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML
X@dirrmtry %%SITE_PERL%%/XML/XPathEngine
X@dirrmtry %%SITE_PERL%%/XML
END-of-p5-XML-XPathEngine/pkg-plist
echo x - p5-XML-XPathEngine/distinfo
sed 's/^X//' >p5-XML-XPathEngine/distinfo << 'END-of-p5-XML-XPathEngine/distinfo'
XMD5 (XML-XPathEngine-0.03.tar.gz) = 05986328f5d55a2fa8b7d50043fcb7da
XSHA256 (XML-XPathEngine-0.03.tar.gz) = 99956d491b44d6e02ef701585d2368fde91fca91d834454f493b45fde61bf5c4
XSIZE (XML-XPathEngine-0.03.tar.gz) = 22358
END-of-p5-XML-XPathEngine/distinfo
exit
--- p5-XML-XPathEngine-0.03.shar ends here ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060711102555.DC2BF642>