summaryrefslogtreecommitdiffstats
path: root/databases/p5-Class-DBI-Sweet/Makefile
blob: 89f9a996bd7e3597b0475086a5aeec63713832ce (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
# New ports collection makefile for:	Class-DBI-Sweet
# Date created:		6 Jul 2005
# Whom:			Lars Balker Rasmussen <lbr@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=	Class-DBI-Sweet
PORTVERSION=	0.08
PORTREVISION=	3
CATEGORIES=	databases perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Class
PKGNAMEPREFIX=	p5-

MAINTAINER=	lbr@FreeBSD.org
COMMENT=	Extra sweet features for Class::DBI

RUN_DEPENDS=	p5-Class-DBI>=3.0.12:${PORTSDIR}/databases/p5-Class-DBI \
		${SITE_PERL}/Data/Page.pm:${PORTSDIR}/databases/p5-Data-Page \
		${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
		${SITE_PERL}/SQL/Abstract.pm:${PORTSDIR}/databases/p5-SQL-Abstract
BUILD_DEPENDS=	${RUN_DEPENDS}

PERL_MODBUILD=	yes

MAN3=		Class::DBI::Sweet.3 Class::DBI::Sweet::Topping.3

post-extract:
	@${PERL} -i.bak -ne 'print unless m,DBD::SQLite,' ${WRKSRC}/Build.PL

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500801
IGNORE=	requires at least Perl 5.8.1. Install lang/perl5.8, and try again
.endif

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