From aa9e1990d19fd86198370e23cf25c299d205cf94 Mon Sep 17 00:00:00 2001 From: simon Date: Sat, 22 Sep 2007 11:28:54 +0000 Subject: [PATCH] import p5-HTML-TreeBuilder-XPath This module adds typical XPath methods to HTML::TreeBuilder, to make it easy to query a document. --- www/p5-HTML-TreeBuilder-XPath/Makefile | 22 ++++++++++++++++++++++ www/p5-HTML-TreeBuilder-XPath/distinfo | 5 +++++ www/p5-HTML-TreeBuilder-XPath/pkg/DESCR | 2 ++ www/p5-HTML-TreeBuilder-XPath/pkg/PLIST | 4 ++++ 4 files changed, 33 insertions(+) create mode 100644 www/p5-HTML-TreeBuilder-XPath/Makefile create mode 100644 www/p5-HTML-TreeBuilder-XPath/distinfo create mode 100644 www/p5-HTML-TreeBuilder-XPath/pkg/DESCR create mode 100644 www/p5-HTML-TreeBuilder-XPath/pkg/PLIST diff --git a/www/p5-HTML-TreeBuilder-XPath/Makefile b/www/p5-HTML-TreeBuilder-XPath/Makefile new file mode 100644 index 00000000000..e8d959bd518 --- /dev/null +++ b/www/p5-HTML-TreeBuilder-XPath/Makefile @@ -0,0 +1,22 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2007/09/22 11:28:54 simon Exp $ + +COMMENT= add XPath support to HTML::TreeBuilder + +MODULES= cpan +DISTNAME= HTML-TreeBuilder-XPath-0.08 +CATEGORIES= www + +MAINTAINER= Simon Bertrang + +# Perl +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +RUN_DEPENDS= ::textproc/p5-XML-XPathEngine \ + ::www/p5-HTML-Tree + +MAKE_ENV+= TEST_POD=1 + +.include diff --git a/www/p5-HTML-TreeBuilder-XPath/distinfo b/www/p5-HTML-TreeBuilder-XPath/distinfo new file mode 100644 index 00000000000..9f7d4ad8dbf --- /dev/null +++ b/www/p5-HTML-TreeBuilder-XPath/distinfo @@ -0,0 +1,5 @@ +MD5 (HTML-TreeBuilder-XPath-0.08.tar.gz) = JhcCfUzXbjBKMAa6TwOB0A== +RMD160 (HTML-TreeBuilder-XPath-0.08.tar.gz) = f1uenK4C6nX98jNg3rTKZIXQM94= +SHA1 (HTML-TreeBuilder-XPath-0.08.tar.gz) = 9XV50N6C/dgeQkjdYqMSE64hRq0= +SHA256 (HTML-TreeBuilder-XPath-0.08.tar.gz) = K4kIIbWHsMncNk3yIe+EyVrkNQAAJMcmzVwxIoEDTos= +SIZE (HTML-TreeBuilder-XPath-0.08.tar.gz) = 7154 diff --git a/www/p5-HTML-TreeBuilder-XPath/pkg/DESCR b/www/p5-HTML-TreeBuilder-XPath/pkg/DESCR new file mode 100644 index 00000000000..fa838002ee6 --- /dev/null +++ b/www/p5-HTML-TreeBuilder-XPath/pkg/DESCR @@ -0,0 +1,2 @@ +This module adds typical XPath methods to HTML::TreeBuilder, to make it +easy to query a document. diff --git a/www/p5-HTML-TreeBuilder-XPath/pkg/PLIST b/www/p5-HTML-TreeBuilder-XPath/pkg/PLIST new file mode 100644 index 00000000000..617195be438 --- /dev/null +++ b/www/p5-HTML-TreeBuilder-XPath/pkg/PLIST @@ -0,0 +1,4 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2007/09/22 11:28:54 simon Exp $ +${P5SITE}/HTML/TreeBuilder/ +${P5SITE}/HTML/TreeBuilder/XPath.pm +@man man/man3p/HTML::TreeBuilder::XPath.3p