1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

Add p5-XML-DOM-XPath 0.09, adds XPath support to XML::DOM, using

XML::XPath engine.

PR:		ports/85896
Submitted by:	Mauricio Herrera Cuadra <mauricio@arareko.net>
This commit is contained in:
Lars Thegler 2005-09-13 06:42:14 +00:00
parent 8771b9a711
commit 520417df28
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=142562
5 changed files with 50 additions and 0 deletions

View File

@ -446,6 +446,7 @@
SUBDIR += p5-XML-Clean
SUBDIR += p5-XML-DBMS
SUBDIR += p5-XML-DOM
SUBDIR += p5-XML-DOM-XPath
SUBDIR += p5-XML-DT
SUBDIR += p5-XML-DTDParser
SUBDIR += p5-XML-DifferenceMarkup

View File

@ -0,0 +1,31 @@
# New ports collection makefile for: textproc/p5-XML-DOM-XPath
# Date created: 8 September 2005
# Whom: Mauricio Herrera Cuadra <mauricio@arareko.net>
#
# $FreeBSD$
#
PORTNAME= XML-DOM-XPath
PORTVERSION= 0.09
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= XML
PKGNAMEPREFIX= p5-
MAINTAINER= mauricio@arareko.net
COMMENT= Adds XPath support to XML::DOM, using XML::XPath engine
BUILD_DEPENDS= ${SITE_PERL}/XML/DOM.pm:${PORTSDIR}/textproc/p5-XML-DOM \
${SITE_PERL}/XML/XPath.pm:${PORTSDIR}/textproc/p5-XML-XPath
PERL_CONFIGURE= yes
MAN3= XML::DOM::XPath.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= requires at least perl5.6 to build
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
MD5 (XML-DOM-XPath-0.09.tar.gz) = d34d18e2bd9618a7a9034f30daeb8e3f
SIZE (XML-DOM-XPath-0.09.tar.gz) = 10296

View File

@ -0,0 +1,9 @@
XML::DOM::XPath allows you to use XML::XPath methods to query a DOM.
This is often much easier than relying only on getElementsByTagName.
It lets you use all of the XML::DOM methods.
WWW: http://search.cpan.org/dist/XML-DOM-XPath/
- Mauricio
mauricio@arareko.net

View File

@ -0,0 +1,7 @@
%%SITE_PERL%%/XML/DOM/XPath.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/DOM/XPath/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/DOM/XPath
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/DOM 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/XML/DOM 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/XML 2>/dev/null || true