# New ports collection makefile for:	p5-Module-Pluggable
# Date created:		2004-07-26
# Whom:			Lars Thegler <lth@FreeBSD.org>
#
# $FreeBSD: ports/devel/p5-Module-Pluggable/Makefile,v 1.17 2006/08/07 09:24:13 lth Exp $
#

PORTNAME=	Module-Pluggable
PORTVERSION=	3.1
PORTREVISION=	2
CATEGORIES=	devel perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	lth@FreeBSD.org
COMMENT=	Automatically give your module the ability to have plugins

RUN_DEPENDS=	p5-Class-Inspector>0:${PORTSDIR}/devel/p5-Class-Inspector \
		p5-PathTools>=3.0:${PORTSDIR}/devel/p5-PathTools
BUILD_DEPENDS=	${RUN_DEPENDS}

PERL_MODBUILD=	yes

MAN3=		Devel::InnerPackage.3 \
		Module::Pluggable.3 \
		Module::Pluggable::Object.3

.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE=		requires Perl 5.6 or later. Please install lang/perl5 or lang/perl5.8, and try again
.endif
.include <bsd.port.post.mk>
