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

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

MAINTAINER= ports@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=       php:ext pkgconfig tar:tgz
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>