blob: 0290269f12ed85c380cfda86009995d5aa0b48e7 (
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
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= ports@FreeBSD.org
COMMENT= PECL extension for the mdbtools library
LICENSE= LGPL21
BUILD_DEPENDS= ${LOCALBASE}/lib/libmdb.a:${PORTSDIR}/databases/mdbtools
RUN_DEPENDS= ${LOCALBASE}/lib/libmdb.a:${PORTSDIR}/databases/mdbtools
USES= pkgconfig tar:tgz
USE_PHP= yes
USE_PHPEXT= yes
USE_PHP_BUILD= yes
IGNORE_WITH_PHP=5 56
CONFIGURE_ARGS= --with-mdbtools=${LOCALBASE}
post-extract:
@${REINPLACE_CMD} -e 's|MDB_SDATETIME|MDB_DATETIME|g' \
${WRKSRC}/mdbtools.c
.include <bsd.port.mk>
|