# Ports collection makefile for:	p5-Catalyst-Plugin-Session
# Date created:				Nov 16, 2005
# Whom:					Lars Balker Rasmussen <lbr@FreeBSD.org>
#
# $FreeBSD: ports/www/p5-Catalyst-Plugin-Session/Makefile,v 1.21 2007/10/12 09:18:32 lbr Exp $
#

PORTNAME=	Catalyst-Plugin-Session
PORTVERSION=	0.19
CATEGORIES=	www perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	lbr@FreeBSD.org
COMMENT=	Generic Catalyst Session plugin

RUN_DEPENDS=	p5-Catalyst-Runtime>=5.7010:${PORTSDIR}/www/p5-Catalyst-Runtime \
		p5-Object-Signature>=0:${PORTSDIR}/devel/p5-Object-Signature \
		p5-Tie-RefHash>=1.34:${PORTSDIR}/devel/p5-Tie-RefHash
BUILD_DEPENDS=	${RUN_DEPENDS}

PERL_CONFIGURE=	5.8.1+

MAN3=	Catalyst::Plugin::Session.3 \
	Catalyst::Plugin::Session::State.3 \
	Catalyst::Plugin::Session::Store.3 \
	Catalyst::Plugin::Session::Store::Dummy.3 \
	Catalyst::Plugin::Session::Test::Store.3 \
	Catalyst::Plugin::Session::Tutorial.3

post-extract:
	@${PERL} -i.bak -ne 'print unless /^my/ .. /^}/ or m,Test::,' ${WRKSRC}/Makefile.PL

.include <bsd.port.mk>
