blob: 35b4a96f56a7453b8c673de542e2ce8506cc13bd (
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
|
# $NetBSD: Makefile,v 1.7 2008/06/12 02:14:19 joerg Exp $
PDO_DRIVER= # empty
PDO_VERSION= 1.0.2
PHP_VERSIONS_ACCEPTED= 5
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../databases/php-pdo/module.mk"
COMMENT= PHP extension for PHP Data Objects (base)
CONFIGURE_ARGS+= --with-${PKGMODNAME}
PLIST_SRC+= ${.CURDIR}/../../databases/php-pdo/PLIST.pdo
PDO_INCLUDES= php_pdo_driver.h php_pdo.h
INSTALLATION_DIRS+= include/php/ext/pdo
post-install:
.for inc in ${PDO_INCLUDES}
${INSTALL_DATA} ${WRKSRC}/${inc} ${DESTDIR}${PREFIX}/include/php/ext/pdo/${inc}
.endfor
.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"
|