# New ports collection makefile for:	p5-WWW-Mechanize-Plugin-phpBB
# Date created:				04 Jun 2006
# Whom:					Aaron Dalton <aaron@FreeBSD.org>
#
# $FreeBSD: ports/www/p5-WWW-Mechanize-Plugin-phpBB/Makefile,v 1.1 2006/06/05 05:32:16 aaron Exp $
#

PORTNAME=	WWW-Mechanize-Plugin-phpBB
PORTVERSION=	0.01
CATEGORIES=	www perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	WWW
PKGNAMEPREFIX=	p5-

MAINTAINER=	aaron@FreeBSD.org
COMMENT=	Screen scraper for phpBB installations

BUILD_DEPENDS=	${SITE_PERL}/WWW/Mechanize/Pluggable.pm:${PORTSDIR}/www/p5-WWW-Mechanize-Pluggable \
		${SITE_PERL}/HTML/TreeBuilder.pm:${PORTSDIR}/www/p5-HTML-Tree \
		${SITE_PERL}/Log/Log4perl.pm:${PORTSDIR}/devel/p5-Log-Log4perl \
		${SITE_PERL}/Class/Accessor.pm:${PORTSDIR}/devel/p5-Class-Accessor
RUN_DEPENDS=	${BUILD_DEPENDS}

MAN3=	WWW::Mechanize::Plugin::phpBB.3

PERL_CONFIGURE=	yes

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600 # inherited from p5-WWW-Mechanize-Pluggable
IGNORE=	requires at least Perl 5.6.  Please install lang/perl5.8 and try again
.endif

.include <bsd.port.post.mk>
