summaryrefslogtreecommitdiff
path: root/devel/p5-ResourcePool/Makefile
blob: d800875982f147889dde87911df2a7ce372190fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# ex:ts=8
# Ports collection makefile for:	p5-ResourcePool
# Date created:			Aug 9, 2002
# Whom:	      			ijliao
#
# $FreeBSD$
#

PORTNAME=	ResourcePool
PORTVERSION=	1.0103
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@FreeBSD.org
COMMENT=	A generic way to use connection caching for any kind of resources

PERL_CONFIGURE=	YES

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.pre.mk>

.if ${PERL_LEVEL} < 500800
BUILD_DEPENDS+=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
RUN_DEPENDS+=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
.endif

.include <bsd.port.post.mk>