summaryrefslogtreecommitdiff
path: root/databases/p5-Jifty-DBI/Makefile
blob: 76416ba402c710ddcce5f68f26caad5ab0e30d28 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# New ports collection makefile for:	databases/p5-Jifty-DBI
# Date created:				27 Dec 2005
# Whom:					Anton Berezin <tobez@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	Jifty-DBI
PORTVERSION=	0.21
CATEGORIES=	databases perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Jifty
PKGNAMEPREFIX=	p5-

MAINTAINER=	tobez@FreeBSD.org
COMMENT=	Jifty::DBI - An object-relational persistence framework

BUILD_DEPENDS=	\
		p5-DBI>0:${PORTSDIR}/databases/p5-DBI \
		p5-Exporter-Lite>0:${PORTSDIR}/devel/p5-Exporter-Lite \
		p5-UNIVERSAL-require>0:${PORTSDIR}/devel/p5-UNIVERSAL-require \
		p5-Lingua-EN-Inflect>0:${PORTSDIR}/textproc/p5-Lingua-EN-Inflect \
		p5-Class-ReturnValue>=0.40:${PORTSDIR}/devel/p5-Class-ReturnValue \
		p5-Class-Data-Inheritable>0:${PORTSDIR}/devel/p5-Class-Data-Inheritable \
		p5-Class-Accessor>0:${PORTSDIR}/devel/p5-Class-Accessor \
		p5-Clone>0:${PORTSDIR}/devel/p5-Clone \
		p5-Cache-Simple-TimedExpiry>=0.21:${PORTSDIR}/devel/p5-Cache-Simple-TimedExpiry \
		p5-Data-Page>0:${PORTSDIR}/databases/p5-Data-Page \
		p5-DateTime>0:${PORTSDIR}/devel/p5-DateTime \
		p5-DateTime-Format-ISO8601>0:${PORTSDIR}/devel/p5-DateTime-Format-ISO8601 \
		p5-DateTime-Format-Strptime>0:${PORTSDIR}/devel/p5-DateTime-Format-Strptime \
		p5-DBIx-DBSchema>=0.28:${PORTSDIR}/databases/p5-DBIx-DBSchema \
		p5-Test-Simple>=0.52:${PORTSDIR}/devel/p5-Test-Simple \
		p5-DBD-SQLite>0:${PORTSDIR}/databases/p5-DBD-SQLite \
		p5-Cache-Memcached>0:${PORTSDIR}/databases/p5-Cache-Memcached
RUN_DEPENDS=	${BUILD_DEPENDS}

PERL_CONFIGURE=	yes

MAN3=	Jifty::DBI.3 \
	Jifty::DBI::Collection.3 \
	Jifty::DBI::Collection::Union.3 \
	Jifty::DBI::Collection::Unique.3 \
	Jifty::DBI::Column.3 \
	Jifty::DBI::Filter::Date.3 \
	Jifty::DBI::Filter::DateTime.3 \
	Jifty::DBI::Filter::Storable.3 \
	Jifty::DBI::Filter::base64.3 \
	Jifty::DBI::Filter::utf8.3 \
	Jifty::DBI::Handle.3 \
	Jifty::DBI::Handle::Informix.3 \
	Jifty::DBI::Handle::ODBC.3 \
	Jifty::DBI::Handle::Oracle.3 \
	Jifty::DBI::Handle::Pg.3 \
	Jifty::DBI::Handle::SQLite.3 \
	Jifty::DBI::Handle::Sybase.3 \
	Jifty::DBI::Handle::mysql.3 \
	Jifty::DBI::Handle::mysqlPP.3 \
	Jifty::DBI::HasFilters.3 \
	Jifty::DBI::Record.3 \
	Jifty::DBI::Record::Cachable.3 \
	Jifty::DBI::Record::Memcached.3 \
	Jifty::DBI::Schema.3 \
	Jifty::DBI::SchemaGenerator.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500803
IGNORE=		requires perl 5.8.3 or later. Install lang/perl5.8 and try again
.endif

.if ${PERL_LEVEL} < 500807
BUILD_DEPENDS+=	p5-Encode>=2.10:${PORTSDIR}/converters/p5-Encode
RUN_DEPENDS+=	p5-Encode>=2.10:${PORTSDIR}/converters/p5-Encode
.endif

.include <bsd.port.post.mk>