# New ports collection makefile for:	devel/p5-MooseX-Async
# Date created:				27 Jul 2008
# Whom:					Lars Balker Rasmussen <lbr@FreeBSD.org>
#
# $FreeBSD: ports/devel/p5-MooseX-Async/Makefile,v 1.1 2008/07/27 20:35:42 lbr Exp $
#

PORTNAME=	MooseX-Async
PORTVERSION=	0.06
CATEGORIES=	devel perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	lbr@FreeBSD.org
COMMENT=	The Orphanange of Asynchronous Love Children

RUN_DEPENDS=	p5-Moose>=0.26:${PORTSDIR}/devel/p5-Moose \
		p5-MooseX-AttributeHelpers>=0.09:${PORTSDIR}/devel/p5-MooseX-AttributeHelpers
BUILD_DEPENDS=	${RUN_DEPENDS}

PERL_CONFIGURE=	5.8.0+

MAN3=	MooseX::Async.3 \
	MooseX::Async::Meta::Class.3 \
	MooseX::Async::Meta::Method::State.3

post-extract:
	@${PERL} -i -ne 'print unless m,build_requires, or m,^feature, .. m,;,' ${WRKSRC}/Makefile.PL

.include <bsd.port.mk>
