summaryrefslogtreecommitdiffstats
path: root/databases/pecl-mdbtools/Makefile
blob: ce8131172d82a124d57344ac507fc28e04377475 (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
# Created by: Ditesh Shashikant Gathani <ditesh@gathani.org>
# $FreeBSD$

PORTNAME=	mdbtools
PORTVERSION=	1.0.0
PORTREVISION=	1
CATEGORIES=	databases pear
MASTER_SITES=	http://pecl.php.net/get/
PKGNAMEPREFIX=	pecl-
DIST_SUBDIR=	PECL

MAINTAINER=	miwi@FreeBSD.org
COMMENT=	PECL extension for the mdbtools library

LICENSE=	LGPL21

BUILD_DEPENDS=	${LOCALBASE}/lib/libmdb.a:databases/mdbtools
RUN_DEPENDS=	${LOCALBASE}/lib/libmdb.a:databases/mdbtools

USES=		pkgconfig tar:tgz
USE_PHP=	yes
USE_PHPEXT=	yes
USE_PHP_BUILD=	yes
IGNORE_WITH_PHP= 56 70

CONFIGURE_ARGS=	--with-mdbtools=${LOCALBASE}

post-extract:
	@${REINPLACE_CMD} -e 's|MDB_SDATETIME|MDB_DATETIME|g' \
		${WRKSRC}/mdbtools.c

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