From fb773d98ad9e1e7beb8b380a457df5fa29ae4f69 Mon Sep 17 00:00:00 2001 From: Cheng-Lung Sung Date: Tue, 11 Jul 2006 14:36:36 +0000 Subject: Add p5-HTML-TreeBuilder-XPath 0.05, add XPath support to HTML::TreeBuilder. PR: ports/100076 Submitted by: Gea-Suan Lin --- www/Makefile | 1 + www/p5-HTML-TreeBuilder-XPath/Makefile | 32 ++++++++++++++++++++++++++++++++ www/p5-HTML-TreeBuilder-XPath/distinfo | 3 +++ www/p5-HTML-TreeBuilder-XPath/pkg-descr | 5 +++++ www/p5-HTML-TreeBuilder-XPath/pkg-plist | 8 ++++++++ 5 files changed, 49 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 (limited to 'www') diff --git a/www/Makefile b/www/Makefile index 548dc9dba8ed..75e3315881ec 100644 --- a/www/Makefile +++ b/www/Makefile @@ -623,6 +623,7 @@ SUBDIR += p5-HTML-Template-Pluggable SUBDIR += p5-HTML-TokeParser-Simple SUBDIR += p5-HTML-Tree + SUBDIR += p5-HTML-TreeBuilder-XPath SUBDIR += p5-HTML-Webmake SUBDIR += p5-HTML-Widget SUBDIR += p5-HTML-Widgets-SelectLayers diff --git a/www/p5-HTML-TreeBuilder-XPath/Makefile b/www/p5-HTML-TreeBuilder-XPath/Makefile new file mode 100644 index 000000000000..f7632454015e --- /dev/null +++ b/www/p5-HTML-TreeBuilder-XPath/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: p5-HTML-TreeBuilder-XPath +# Date created: 2006-07-11 +# Whom: Gea-Suan Lin +# +# $FreeBSD$ +# + +PORTNAME= HTML-TreeBuilder-XPath +PORTVERSION= 0.05 +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= HTML +PKGNAMEPREFIX= p5- + +MAINTAINER= gslin@gslin.org +COMMENT= Add XPath support to HTML::TreeBuilder + +BUILD_DEPENDS= ${SITE_PERL}/HTML/TreeBuilder.pm:${PORTSDIR}/www/p5-HTML-Tree \ + ${SITE_PERL}/XML/XPathEngine.pm:${PORTSDIR}/textproc/p5-XML-XPathEngine +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= HTML::TreeBuilder::XPath.3 + +.include + +.if ${PERL_LEVEL} < 500601 +IGNORE= requires perl 5.6.x or later. Install lang/perl5 then try again +.endif + +.include diff --git a/www/p5-HTML-TreeBuilder-XPath/distinfo b/www/p5-HTML-TreeBuilder-XPath/distinfo new file mode 100644 index 000000000000..8a79feb023c6 --- /dev/null +++ b/www/p5-HTML-TreeBuilder-XPath/distinfo @@ -0,0 +1,3 @@ +MD5 (HTML-TreeBuilder-XPath-0.05.tar.gz) = 29ccf9437b6cd4521fd6b553b4fd5b4e +SHA256 (HTML-TreeBuilder-XPath-0.05.tar.gz) = 3dc2696c27540f4e8ccdf8f19d3eed330b21f1006dce33bfd4edf1965f0ce982 +SIZE (HTML-TreeBuilder-XPath-0.05.tar.gz) = 6307 diff --git a/www/p5-HTML-TreeBuilder-XPath/pkg-descr b/www/p5-HTML-TreeBuilder-XPath/pkg-descr new file mode 100644 index 000000000000..2293f61ce0c9 --- /dev/null +++ b/www/p5-HTML-TreeBuilder-XPath/pkg-descr @@ -0,0 +1,5 @@ +This module adds typical XPath methods to HTML::TreeBuilder, to make +it easy to query a document. + +Author: Michel Rodriguez, +WWW: http://search.cpan.org/dist/HTML-TreeBuilder-XPath/ diff --git a/www/p5-HTML-TreeBuilder-XPath/pkg-plist b/www/p5-HTML-TreeBuilder-XPath/pkg-plist new file mode 100644 index 000000000000..e0cece56c76e --- /dev/null +++ b/www/p5-HTML-TreeBuilder-XPath/pkg-plist @@ -0,0 +1,8 @@ +@comment $FreeBSD$ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/TreeBuilder/XPath/.packlist +%%SITE_PERL%%/HTML/TreeBuilder/XPath.pm +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/TreeBuilder/XPath +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/TreeBuilder +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML +@dirrmtry %%SITE_PERL%%/HTML/TreeBuilder +@dirrmtry %%SITE_PERL%%/HTML -- cgit v1.2.3