summaryrefslogtreecommitdiff
path: root/devel/p5-Test-YAML-Valid/Makefile
blob: 2bf94d465d49a557f63d404c90f5d4299fdd8354 (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
# Created by: Lars Thegler <lth@FreeBSD.org>
# $FreeBSD$

PORTNAME=	Test-YAML-Valid
PORTVERSION=	0.04
PORTREVISION=	2
CATEGORIES=	devel perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	lth@FreeBSD.org
COMMENT=	Test for valid YAML

RUN_DEPENDS=	p5-YAML>=0.60:${PORTSDIR}/textproc/p5-YAML
BUILD_DEPENDS:=	${RUN_DEPENDS}

USES=		perl5
USE_PERL5=	configure

OPTIONS_DEFINE=	YAMLSYCK
YAMLSYCK_DESC=	Use YAML::Syck for testing

YAMLSYCK_RUN_DEPENDS=	p5-YAML-Syck>0:${PORTSDIR}/textproc/p5-YAML-Syck
YAMLSYCK_BUILD_DEPENDS=	p5-YAML-Syck>0:${PORTSDIR}/textproc/p5-YAML-Syck

post-patch:
	@${REINPLACE_CMD} -i '' -e '/auto_install.*/d' \
		${WRKSRC}/Makefile.PL

.include <bsd.port.mk>