# Ports collection makefile for:	p5-Catalyst-Runtime
# Date created:			Jul 8, 2006
# Whom:				lbr
#
# $FreeBSD: ports/www/p5-Catalyst-Runtime/Makefile,v 1.15 2009/03/28 18:20:56 lbr Exp $
#

PORTNAME=	Catalyst-Runtime
PORTVERSION=	5.71001
CATEGORIES=	www perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	lbr@FreeBSD.org
COMMENT=	The Elegant MVC Web Application Framework (Runtime)

RUN_DEPENDS=	p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor \
		p5-Class-Data-Inheritable>=0:${PORTSDIR}/devel/p5-Class-Data-Inheritable \
		p5-Class-Inspector>=1.06:${PORTSDIR}/devel/p5-Class-Inspector \
		p5-CGI-Simple>=0:${PORTSDIR}/www/p5-CGI-Simple \
		p5-Data-Dump>=0:${PORTSDIR}/devel/p5-Data-Dump \
		p5-File-Modified>=0:${PORTSDIR}/devel/p5-File-Modified \
		p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser \
		p5-HTTP-Body>=1.04:${PORTSDIR}/www/p5-HTTP-Body \
		p5-libwww>=5.805:${PORTSDIR}/www/p5-libwww \
		p5-HTTP-Request-AsCGI>=0.5:${PORTSDIR}/www/p5-HTTP-Request-AsCGI \
		p5-Module-Pluggable>=3.01:${PORTSDIR}/devel/p5-Module-Pluggable \
		p5-NEXT>=0:${PORTSDIR}/devel/p5-NEXT \
		p5-Path-Class>=0.09:${PORTSDIR}/devel/p5-Path-Class \
		p5-Scalar-List-Utils>=0:${PORTSDIR}/lang/p5-Scalar-List-Utils \
		p5-Text-SimpleTable>=0.03:${PORTSDIR}/textproc/p5-Text-SimpleTable \
		p5-Time-HiRes>=0:${PORTSDIR}/devel/p5-Time-HiRes \
		p5-Tree-Simple>=1.15:${PORTSDIR}/devel/p5-Tree-Simple \
		p5-Tree-Simple-VisitorFactory>=0:${PORTSDIR}/devel/p5-Tree-Simple-VisitorFactory \
		p5-URI>=1.35:${PORTSDIR}/net/p5-URI \
		p5-Module-Install>=0.63:${PORTSDIR}/devel/p5-Module-Install
BUILD_DEPENDS=	${RUN_DEPENDS}

PERL_CONFIGURE=	5.8.1+

MAN1=	catalyst.pl.1
MAN3=	Catalyst.3 \
	Catalyst::Action.3 \
	Catalyst::ActionChain.3 \
	Catalyst::ActionContainer.3 \
	Catalyst::AttrContainer.3 \
	Catalyst::Base.3 \
	Catalyst::Component.3 \
	Catalyst::Controller.3 \
	Catalyst::DispatchType.3 \
	Catalyst::DispatchType::Chained.3 \
	Catalyst::DispatchType::Default.3 \
	Catalyst::DispatchType::Index.3 \
	Catalyst::DispatchType::Path.3 \
	Catalyst::DispatchType::Regex.3 \
	Catalyst::Dispatcher.3 \
	Catalyst::Engine.3 \
	Catalyst::Engine::CGI.3 \
	Catalyst::Engine::FastCGI.3 \
	Catalyst::Engine::HTTP.3 \
	Catalyst::Engine::HTTP::Restarter.3 \
	Catalyst::Engine::HTTP::Restarter::Watcher.3 \
	Catalyst::Exception.3 \
	Catalyst::Log.3 \
	Catalyst::Manual.3 \
	Catalyst::Manual::Installation.3 \
	Catalyst::Manual::Installation::CentOS4.3 \
	Catalyst::Model.3 \
	Catalyst::Request.3 \
	Catalyst::Request::Upload.3 \
	Catalyst::Response.3 \
	Catalyst::Runtime.3 \
	Catalyst::Stats.3 \
	Catalyst::Test.3 \
	Catalyst::Utils.3 \
	Catalyst::View.3

post-install:
	@${CAT} ${PKGDIR}/pkg-message

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

.include <bsd.port.mk>
