# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD: head/databases/p5-DBD-InterBase/Makefile 468288 2018-04-25 18:40:14Z acm $

PORTNAME=	DBD-InterBase
PORTVERSION=	0.48
PORTREVISION=	3
CATEGORIES=	databases perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	yuri@rivera.ru
COMMENT=	DBI driver for InterBase/Firebird/Yaffil RDBMS server

BUILD_DEPENDS=	p5-DBI>=0:databases/p5-DBI
RUN_DEPENDS:=	${BUILD_DEPENDS}

USES=		perl5 firebird
USE_PERL5=	patch configure

post-patch:
		@${PERL} -pi -e 's,%%IB_BASE%%,${LOCALBASE},g' \
			${WRKSRC}/Makefile.PL

.include <bsd.port.mk>
