summaryrefslogtreecommitdiff
path: root/databases/php-pdo/Makefile
blob: 928324331f4ddbe3de3173fb006a0818c6b11a63 (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
# $NetBSD: Makefile,v 1.5 2006/05/03 06:37:36 wiz Exp $

PDO_DRIVER=		# empty
PDO_VERSION=		1.0.2

.include "../../databases/php-pdo/module.mk"

COMMENT=		PHP extension for PHP Data Objects (base)
PKGREVISION=		1

CONFIGURE_ARGS+=	--with-${PKGMODNAME}

PHP_VERSION_REQD=	5

PLIST_SRC+=		${.CURDIR}/../../databases/php-pdo/PLIST.pdo

PDO_INCLUDES=		php_pdo_driver.h php_pdo.h

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/include/php/ext/pdo
.for inc in ${PDO_INCLUDES}
	${INSTALL_DATA} ${WRKSRC}/${inc:Q} ${PREFIX}/include/php/ext/pdo/${inc:Q}
.endfor

.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"