aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Web-Query/Makefile
blob: 1e0fd7224e1b93bf90bfaa177b3bd94b435b370b (plain) (blame)
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
# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$

PORTNAME=   Web-Query
PORTVERSION=    0.17
CATEGORIES= www
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:TOKUHIROM
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:=   ${BUILD_DEPENDS}

USES=       perl5
USE_PERL5=  modbuild

MAN3=       Web::Query.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501400
TEST_DEPENDS+=  p5-Test-Simple>=0.98:${PORTSDIR}/devel/p5-Test-Simple
.endif

.include <bsd.port.post.mk>