# $MidnightBSD: trunk/devel/p5-Sub-Exporter-Progressive/Makefile 15462 2013-09-17 03:15:41Z laffer1 $

PORTNAME=	Sub-Exporter-Progressive
PORTVERSION=	0.001.006
CATEGORIES=	devel perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-
DISTNAME=	${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	Only use Sub::Exporter if you need it
LICENSE=	perl

BUILD_DEPENDS=	p5-Sub-Exporter>=0:${PORTSDIR}/devel/p5-Sub-Exporter
RUN_DEPENDS:=	${BUILD_DEPENDS}

PERL_CONFIGURE=	yes

MAN3=		Sub::Exporter::Progressive.3

post-patch:
	@${REINPLACE_CMD} -e '/NAME/ s|Sub-Exporter-Progressive|Sub::Exporter::Progressive|' ${WRKSRC}/Makefile.PL

.include <bsd.port.pre.mk>

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

.include <bsd.port.post.mk>
