# ex:ts=8
# Ports collection makefile for:	p5-ResourcePool
# Date created:			Aug 9, 2002
# Whom:	      			ijliao
#
# $FreeBSD: ports/devel/p5-ResourcePool/Makefile,v 1.6 2003/03/01 06:58:23 leeym Exp $
#

PORTNAME=	ResourcePool
PORTVERSION=	1.0100
CATEGORIES=	devel perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN} \
		http://www.fatalmind.com/projects/ResourcePool/
MASTER_SITE_SUBDIR=	../by-authors/id/M/MW/MWS
PKGNAMEPREFIX=	p5-

MAINTAINER=	erwin@lansing.dk
COMMENT=	A generic way to use connection caching for any kind of resources

BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
RUN_DEPENDS=	${BUILD_DEPENDS}

PERL_CONFIGURE=	YES

MANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3=	ResourcePool.3 \
	ResourcePool::BigPicture.3 \
	ResourcePool::Command.3 \
	ResourcePool::Command::Exception.3 \
	ResourcePool::Command::Execute.3 \
	ResourcePool::Command::NoFailoverException.3 \
	ResourcePool::ExtensionGuide.3 \
	ResourcePool::Factory.3 \
	ResourcePool::LoadBalancer.3 \
	ResourcePool::Resource.3 \
	ResourcePool::Singleton.3 \
	ResourcePool::UML.3

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

.include <bsd.port.mk>
