# New ports collection makefile for:	devel/p5-Test-YAML-Valid
# Date created:				10 April 2007
# Whom:					Lars Thegler <lth@FreeBSD.org>
#
# $FreeBSD: branches/RELEASE_8_4_0/devel/p5-Test-YAML-Valid/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	Test-YAML-Valid
PORTVERSION=	0.04
PORTREVISION=	1
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}

PERL_CONFIGURE=	yes

MAN3=	Test::YAML::Valid.3

OPTIONS=	YAMLSYCK "Use YAML::Syck for testing" OFF

post-patch:
	${PERL} -pi -e '$$_="" if /auto_install/' ${WRKSRC}/Makefile.PL

.include <bsd.port.options.mk>

.if defined(WITH_YAMLSYCK)
RUN_DEPENDS+=	p5-YAML-Syck>0:${PORTSDIR}/textproc/p5-YAML-Syck
BUILD_DEPENDS+=	p5-YAML-Syck>0:${PORTSDIR}/textproc/p5-YAML-Syck
.endif

.include <bsd.port.mk>
