summaryrefslogtreecommitdiff
path: root/www/p5-Web-Scraper/Makefile
blob: 359bbb0c9d3deca220c500e8c409770aa7b8aadf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $NetBSD: Makefile,v 1.15 2018/08/22 09:47:57 wiz Exp $

DISTNAME=	Web-Scraper-0.38
PKGNAME=	p5-${DISTNAME}
PKGREVISION=	4
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}

USE_LANGUAGES=	# empty
PERL5_PACKLIST= auto/Web/Scraper/.packlist
PERL5_MODULE_TYPE=	Module::Build::Tiny

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"