aboutsummaryrefslogtreecommitdiff
path: root/www/p5-Web-Query
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-10-02 18:21:28 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-10-02 18:21:28 +0000
commit0b5908c7e9adfb36f3fd6fa78ede3a1fa29fc87d (patch)
tree86263b98b57bf89dbc47e1765cd12dd70bcf1e8b /www/p5-Web-Query
parente15fa91970ecfeb904d340408ea502abdf739783 (diff)
downloadports-0b5908c7e9adfb36f3fd6fa78ede3a1fa29fc87d.tar.gz
ports-0b5908c7e9adfb36f3fd6fa78ede3a1fa29fc87d.zip
- Add p5-Web-Query 0.06
Web::Query is a yet another scraping framework, have a jQuery like interaface. Yes, I know ingy's pQuery. But it's just a alpha quality. It doesn't works. Web::Query built at top of the CPAN modules, HTML::TreeBuilder::XPath, LWP::UserAgent, and HTML::Selector::XPath. So, this module uses HTML::Selector::XPath, then this module only supports CSS3 selector supported by HTML::Selector::XPath. Web::Query doesn't support jQuery's extended quries(yet?). WWW: http://search.cpan.org/dist/Web-Query/ PR: ports/161229 Submitted by: Gea-Suan Lin <gslin@gslin.org>
Notes
Notes: svn path=/head/; revision=282813
Diffstat (limited to 'www/p5-Web-Query')
-rw-r--r--www/p5-Web-Query/Makefile29
-rw-r--r--www/p5-Web-Query/distinfo2
-rw-r--r--www/p5-Web-Query/pkg-descr12
-rw-r--r--www/p5-Web-Query/pkg-plist6
4 files changed, 49 insertions, 0 deletions
diff --git a/www/p5-Web-Query/Makefile b/www/p5-Web-Query/Makefile
new file mode 100644
index 000000000000..8e57ecf20073
--- /dev/null
+++ b/www/p5-Web-Query/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: p5-Web-Query
+# Date created: 2011-10-02
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Web-Query
+PORTVERSION= 0.06
+CATEGORIES= www
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Yet another scraping library like jQuery
+
+BUILD_DEPENDS= p5-HTML-Selector-XPath>=0.06:${PORTSDIR}/www/p5-HTML-Selector-XPath \
+ p5-HTML-TreeBuilder-XPath>=0.12:${PORTSDIR}/www/p5-HTML-TreeBuilder-XPath \
+ p5-libwww>=5.385:${PORTSDIR}/www/p5-libwww
+RUN_DEPENDS= p5-HTML-Selector-XPath>=0.06:${PORTSDIR}/www/p5-HTML-Selector-XPath \
+ p5-HTML-TreeBuilder-XPath>=0.12:${PORTSDIR}/www/p5-HTML-TreeBuilder-XPath \
+ p5-libwww>=5.385:${PORTSDIR}/www/p5-libwww
+
+PERL_CONFIGURE= yes
+
+MAN3= Web::Query.3 \
+ Web::README.3
+
+.include <bsd.port.mk>
diff --git a/www/p5-Web-Query/distinfo b/www/p5-Web-Query/distinfo
new file mode 100644
index 000000000000..3d40a0a3f0ab
--- /dev/null
+++ b/www/p5-Web-Query/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Web-Query-0.06.tar.gz) = 74c618e4bee3585db4f631aae34cc462d093adb4cc442cfec2aaca3528dd59c3
+SIZE (Web-Query-0.06.tar.gz) = 22401
diff --git a/www/p5-Web-Query/pkg-descr b/www/p5-Web-Query/pkg-descr
new file mode 100644
index 000000000000..c2eb2d28c6cd
--- /dev/null
+++ b/www/p5-Web-Query/pkg-descr
@@ -0,0 +1,12 @@
+Web::Query is a yet another scraping framework, have a jQuery like
+interaface.
+
+Yes, I know ingy's pQuery. But it's just a alpha quality. It doesn't
+works. Web::Query built at top of the CPAN modules,
+HTML::TreeBuilder::XPath, LWP::UserAgent, and HTML::Selector::XPath.
+
+So, this module uses HTML::Selector::XPath, then this module only
+supports CSS3 selector supported by HTML::Selector::XPath. Web::Query
+doesn't support jQuery's extended quries(yet?).
+
+WWW: http://search.cpan.org/dist/Web-Query/
diff --git a/www/p5-Web-Query/pkg-plist b/www/p5-Web-Query/pkg-plist
new file mode 100644
index 000000000000..df7f4092e7f2
--- /dev/null
+++ b/www/p5-Web-Query/pkg-plist
@@ -0,0 +1,6 @@
+%%SITE_PERL%%/Web/Query.pm
+%%SITE_PERL%%/Web/README.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Web/Query/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Web/Query
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Web
+@dirrmtry %%SITE_PERL%%/Web