- 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>
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2011-10-02 18:21:28 +00:00
parent e15fa91970
commit 0b5908c7e9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=282813
5 changed files with 50 additions and 0 deletions

View file

@ -1306,6 +1306,7 @@
SUBDIR += p5-WWW-Wikipedia
SUBDIR += p5-WWW-Yandex-TIC
SUBDIR += p5-WWW-iTunesConnect
SUBDIR += p5-Web-Query
SUBDIR += p5-Web-Scraper
SUBDIR += p5-Web-Scraper-Config
SUBDIR += p5-Web-oEmbed

29
www/p5-Web-Query/Makefile Normal file
View file

@ -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>

View file

@ -0,0 +1,2 @@
SHA256 (Web-Query-0.06.tar.gz) = 74c618e4bee3585db4f631aae34cc462d093adb4cc442cfec2aaca3528dd59c3
SIZE (Web-Query-0.06.tar.gz) = 22401

View file

@ -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/

View file

@ -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