summaryrefslogtreecommitdiffstats
path: root/lang/p5-Test-XPath/Makefile
blob: 1e55531a63c3ad71992bad3019de17f711c21d4d (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
32
33
34
35
36
37
38
# $FreeBSD$

PORTNAME=	Test-XPath
PORTVERSION=	0.16
PORTREVISION=	1
CATEGORIES=	lang perl5
MASTER_SITES=	CPAN
MASTER_SITE_SUBDIR=	CPAN:DWHEELER
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Test XML and HTML content and structure with XPath expressions

LICENSE=	ART10 GPLv1
LICENSE_COMB=	dual

RUN_DEPENDS=	p5-XML-LibXML>=1.70:textproc/p5-XML-LibXML

USES=		perl5
USE_PERL5=	modbuild

OPTIONS_DEFINE=	CSS PODT

CSS_DESC=	Include CSS selectors
PODT_DESC=	Include Pod package test dependencies

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MCSS}
RUN_DEPENDS+=	p5-HTML-Selector-XPath>=0.06:www/p5-HTML-Selector-XPath
.endif

.if ${PORT_OPTIONS:MPODT}
TEST_DEPENDS+=	p5-Pod-Coverage>=0:devel/p5-Pod-Coverage \
		p5-Test-Pod>=1.41:devel/p5-Test-Pod
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud