diff options
Diffstat (limited to 'databases/php-pdo/Makefile')
-rw-r--r-- | databases/php-pdo/Makefile | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/databases/php-pdo/Makefile b/databases/php-pdo/Makefile index 35b4a96f56a..fccf88285b6 100644 --- a/databases/php-pdo/Makefile +++ b/databases/php-pdo/Makefile @@ -1,28 +1,30 @@ -# $NetBSD: Makefile,v 1.7 2008/06/12 02:14:19 joerg Exp $ +# $NetBSD: Makefile,v 1.8 2009/03/13 10:57:20 sborrill Exp $ -PDO_DRIVER= # empty -PDO_VERSION= 1.0.2 +MODNAME= pdo +CATEGORIES+= databases +COMMENT= PHP extension for PHP Data Objects (base) PHP_VERSIONS_ACCEPTED= 5 PKG_DESTDIR_SUPPORT= user-destdir +USE_PHP_EXT_PATCHES= yes -.include "../../databases/php-pdo/module.mk" +.include "../../mk/bsd.prefs.mk" -COMMENT= PHP extension for PHP Data Objects (base) +.include "../../lang/php/ext.mk" +# Remove the following line when PHP >= 5.2.10 is released +.include "../../databases/php-pdo/module.mk" -CONFIGURE_ARGS+= --with-${PKGMODNAME} +CONFIGURE_ARGS+= --with-${MODNAME} -PLIST_SRC+= ${.CURDIR}/../../databases/php-pdo/PLIST.pdo +INSTALLATION_DIRS+= include/php/ext/pdo PDO_INCLUDES= php_pdo_driver.h php_pdo.h - -INSTALLATION_DIRS+= include/php/ext/pdo +PLIST_SRC+= ${.CURDIR}/../../databases/php-pdo/PLIST.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" |