freebsd-ports/databases/pecl-mdbtools/Makefile
Martin Wilke db53585487 - Take Maintainership
Approved by:	mat (mentor)
2015-11-26 14:39:58 +00:00

32 lines
732 B
Makefile

# 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:${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>