summaryrefslogtreecommitdiffstats
path: root/databases/p5-Class-DBI-Lite/Makefile
blob: c7cc6cc0d53a4cbd1e9d896127562c55178ecbf0 (plain)
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
46
47
48
49
# New ports collection makefile for:	Class-DBI-Lite
# Date created:				16th March, 2010
# Whom:					Wen Heping <wen@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	Class-DBI-Lite
PORTVERSION=	1.032
CATEGORIES=	databases perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Lightweight ORM for Perl

LICENSE=	ART10 GPLv1
LICENSE_COMB=	dual

BUILD_DEPENDS=	p5-Cache-Memcached>=1.27:${PORTSDIR}/databases/p5-Cache-Memcached \
		p5-DBI>=0:${PORTSDIR}/databases/p5-DBI \
		p5-Ima-DBI-Contextual>=1.004:${PORTSDIR}/databases/p5-Ima-DBI-Contextual \
		p5-SQL-Abstract>=0:${PORTSDIR}/databases/p5-SQL-Abstract \
		p5-SQL-Abstract-Limit>=0:${PORTSDIR}/databases/p5-SQL-Abstract-Limit
RUN_DEPENDS:=	${BUILD_DEPENDS}

TEST_DEPENDS=	p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite \
		p5-Test-Memory-Cycle>=0:${PORTSDIR}/devel/p5-Test-Memory-Cycle

PERL_CONFIGURE=	yes

MAN3=		Class::DBI::Lite.3 \
		Class::DBI::Lite::CacheManager.3 \
		Class::DBI::Lite::CacheManager::InMemory.3 \
		Class::DBI::Lite::CacheManager::Memcached.3 \
		Class::DBI::Lite::ColumnInfo.3 \
		Class::DBI::Lite::Fixture.3 \
		Class::DBI::Lite::Iterator.3 \
		Class::DBI::Lite::Pager.3 \
		Class::DBI::Lite::TableInfo.3 \
		Class::DBI::Lite::Tutorial.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501001
TEST_DEPENDS+=	p5-Test-Simple>=0.77:${PORTSDIR}/devel/p5-Test-Simple
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud