Add p5-XML-XPathEngine 0.03, a re-usable XPath engine for DOM-like

trees.

PR:		ports/100074
Submitted by:	Gea-Suan Lin <gslin at gslin.org>
This commit is contained in:
Cheng-Lung Sung 2006-07-11 14:14:26 +00:00
parent 1c4dd070c2
commit 108d2727e4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=167480
5 changed files with 62 additions and 0 deletions

View file

@ -608,6 +608,7 @@
SUBDIR += p5-XML-Writer
SUBDIR += p5-XML-XBEL
SUBDIR += p5-XML-XPath
SUBDIR += p5-XML-XPathEngine
SUBDIR += p5-XML-XQL
SUBDIR += p5-XML-XSH
SUBDIR += p5-XML-XSLT

View file

@ -0,0 +1,24 @@
# New ports collection makefile for: p5-XML-XPathEngine
# Date created: 2006-07-11
# Whom: Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#
PORTNAME= XML-XPathEngine
PORTVERSION= 0.03
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= XML
PKGNAMEPREFIX= p5-
MAINTAINER= gslin@gslin.org
COMMENT= A re-usable XPath engine for DOM-like trees
PERL_CONFIGURE= yes
MAN3= XML::XPathEngine.3 XML::XPathEngine::Boolean.3 \
XML::XPathEngine::Literal.3 XML::XPathEngine::NodeSet.3 \
XML::XPathEngine::Number.3
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
MD5 (XML-XPathEngine-0.03.tar.gz) = 05986328f5d55a2fa8b7d50043fcb7da
SHA256 (XML-XPathEngine-0.03.tar.gz) = 99956d491b44d6e02ef701585d2368fde91fca91d834454f493b45fde61bf5c4
SIZE (XML-XPathEngine-0.03.tar.gz) = 22358

View file

@ -0,0 +1,17 @@
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/

View file

@ -0,0 +1,17 @@
@comment $FreeBSD$
%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/XPathEngine/.packlist
%%SITE_PERL%%/XML/XPathEngine.pm
%%SITE_PERL%%/XML/XPathEngine/Boolean.pm
%%SITE_PERL%%/XML/XPathEngine/Expr.pm
%%SITE_PERL%%/XML/XPathEngine/Function.pm
%%SITE_PERL%%/XML/XPathEngine/Literal.pm
%%SITE_PERL%%/XML/XPathEngine/LocationPath.pm
%%SITE_PERL%%/XML/XPathEngine/NodeSet.pm
%%SITE_PERL%%/XML/XPathEngine/Number.pm
%%SITE_PERL%%/XML/XPathEngine/Root.pm
%%SITE_PERL%%/XML/XPathEngine/Step.pm
%%SITE_PERL%%/XML/XPathEngine/Variable.pm
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/XPathEngine
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML
@dirrmtry %%SITE_PERL%%/XML/XPathEngine
@dirrmtry %%SITE_PERL%%/XML