# New ports collection makefile for:	DBD::FrontBase
# Date created:		19 Jul 2007
# Whom:			Mitchell Smith <mjs@bur.st>
#
# $FreeBSD: ports/databases/p5-DBD-FrontBase/Makefile,v 1.2 2008/06/18 11:21:50 edwin Exp $
#

PORTNAME=	DBD-FrontBase
PORTVERSION=	1.39
CATEGORIES=	databases perl5
MASTER_SITES+=	http://www.frontbase.com/download/perl/
PKGNAMEPREFIX=	p5-
DISTNAME=	DBD-FB-${PORTVERSION}
EXTRACT_SUFX=	.tar

MAINTAINER=	mjs@bur.st
COMMENT=	DBI driver for FrontBase RDBMS server

BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
		${LOCALBASE}/lib/libFBCAccess.a:${PORTSDIR}/databases/frontbase
RUN_DEPENDS=	${BUILD_DEPENDS}

PERL_CONFIGURE=	yes
CFLAGS+=	-I${LOCALBASE}/include

MAN3=		DBD::FB.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
IGNORE=	perl 5.6 or newer required, Install lang/perl5.8 or lang/perl5 and try again
.endif

.include <bsd.port.post.mk>
