blob: 253e9f8699b19bf9726d5b181320d24f2804e80f (
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
|
# $NetBSD: Makefile,v 1.1.1.1 2005/10/09 13:11:18 jdolecek Exp $
MODNAME= PDO
PKGMODNAME= pdo
PKGNAME= php-${PKGMODNAME}-${PHP_BASE_VERS}.${PECL_VERSION}
PKGREVISION= # empty
PECL_VERSION= 1.0RC1
CATEGORIES+= databases
MAINTAINER= tech-pkg@NetBSD.org
COMMENT= PHP extension for PHP Data Objects (base)
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}; do \
${INSTALL_DATA} ${WRKSRC}/$$inc ${PREFIX}/include/php/ext/pdo/$$inc;\
done
.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"
|