summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2010-02-08 22:05:31 +0000
committerseb <seb@pkgsrc.org>2010-02-08 22:05:31 +0000
commit69740919c2e2e97f70bdbec51ab8ee31fac0d498 (patch)
tree6cfdb1523e3105a0e08ce20e5820b282fa3e5d1c /www
parent695f1458afeaa5a04471fe883b46ed2f9edb4134 (diff)
downloadpkgsrc-69740919c2e2e97f70bdbec51ab8ee31fac0d498.tar.gz
Initial import of p5-Web-Scraper version 0.32 in the NetBSD Packages
Collection. The Perl 5 module Web::Scraper is a web scraper toolkit, inspired by Ruby's equivalent Scrapi. It provides a DSL-ish interface for traversing HTML documents and returning a neatly arranged Perl data structure.
Diffstat (limited to 'www')
-rw-r--r--www/p5-Web-Scraper/DESCR4
-rw-r--r--www/p5-Web-Scraper/Makefile32
-rw-r--r--www/p5-Web-Scraper/distinfo5
3 files changed, 41 insertions, 0 deletions
diff --git a/www/p5-Web-Scraper/DESCR b/www/p5-Web-Scraper/DESCR
new file mode 100644
index 00000000000..c8c90aa3748
--- /dev/null
+++ b/www/p5-Web-Scraper/DESCR
@@ -0,0 +1,4 @@
+The Perl 5 module Web::Scraper is a web scraper toolkit, inspired
+by Ruby's equivalent Scrapi. It provides a DSL-ish interface for
+traversing HTML documents and returning a neatly arranged Perl data
+structure.
diff --git a/www/p5-Web-Scraper/Makefile b/www/p5-Web-Scraper/Makefile
new file mode 100644
index 00000000000..4ee6d89aadf
--- /dev/null
+++ b/www/p5-Web-Scraper/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/02/08 22:05:31 seb Exp $
+
+DISTNAME= Web-Scraper-0.32
+PKGNAME= p5-${DISTNAME}
+#PKGREVISION= 1
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Web/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Web-Scraper/
+COMMENT= Perl 5 Web Scraping Toolkit inspired by Scrapi
+LICENSE= ${PERL5_LICENSE}
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/Web/Scraper/.packlist
+
+DEPENDS+= p5-HTML-Parser-[0-9]*:../../www/p5-HTML-Parser
+DEPENDS+= p5-HTML-Selector-XPath>=0.03:../../www/p5-HTML-Selector-XPath
+DEPENDS+= p5-HTML-Tagset-[0-9]*:../../www/p5-HTML-Tagset
+DEPENDS+= p5-HTML-Tree>=3.23:../../www/p5-HTML-Tree
+DEPENDS+= p5-HTML-TreeBuilder-XPath>=0.08:../../www/p5-HTML-TreeBuilder-XPath
+DEPENDS+= p5-libwww>=5.827:../../www/p5-libwww
+DEPENDS+= p5-UNIVERSAL-require-[0-9]*:../../devel/p5-UNIVERSAL-require
+DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI
+DEPENDS+= p5-XML-XPathEngine>=0.08:../../textproc/p5-XML-XPathEngine
+DEPENDS+= p5-YAML-[0-9]*:../../textproc/p5-YAML
+DEPENDS+= p5-HTML-TreeBuilder-LibXML>=0.04:../../www/p5-HTML-TreeBuilder-LibXML
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/p5-Web-Scraper/distinfo b/www/p5-Web-Scraper/distinfo
new file mode 100644
index 00000000000..d12fa046af9
--- /dev/null
+++ b/www/p5-Web-Scraper/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/02/08 22:05:31 seb Exp $
+
+SHA1 (Web-Scraper-0.32.tar.gz) = cddf54028e9d99192b0877f15e9074b8673ad489
+RMD160 (Web-Scraper-0.32.tar.gz) = 9b6286f9af6ade9d994d1fa2da3990020e7bc68a
+Size (Web-Scraper-0.32.tar.gz) = 60918 bytes