aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-HTML-TreeBuilder-XPath
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-07-11 22:36:36 +0800
committerclsung <clsung@FreeBSD.org>2006-07-11 22:36:36 +0800
commitb50bfd1bf1d019ceed9015b114660c76a3a595b3 (patch)
treea8f05ec8d5249e01f0a139aa9cccdfd0848c400a /www/p5-HTML-TreeBuilder-XPath
parent9f214f5ce76ffaa7e2953ad7292838bf0ccbd4ac (diff)
downloadfreebsd-ports-gnome-b50bfd1bf1d019ceed9015b114660c76a3a595b3.tar.gz
freebsd-ports-gnome-b50bfd1bf1d019ceed9015b114660c76a3a595b3.tar.zst
freebsd-ports-gnome-b50bfd1bf1d019ceed9015b114660c76a3a595b3.zip
Add p5-HTML-TreeBuilder-XPath 0.05, add XPath support to
HTML::TreeBuilder. PR: ports/100076 Submitted by: Gea-Suan Lin <gslin at gslin.org>
Diffstat (limited to 'www/p5-HTML-TreeBuilder-XPath')
-rw-r--r--www/p5-HTML-TreeBuilder-XPath/Makefile32
-rw-r--r--www/p5-HTML-TreeBuilder-XPath/distinfo3
-rw-r--r--www/p5-HTML-TreeBuilder-XPath/pkg-descr5
-rw-r--r--www/p5-HTML-TreeBuilder-XPath/pkg-plist8
4 files changed, 48 insertions, 0 deletions
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 <gslin@gslin.org>
+#
+# $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 <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE= requires perl 5.6.x or later. Install lang/perl5 then try again
+.endif
+
+.include <bsd.port.post.mk>
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, <imirod@cpan.org>
+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