![]() ![]() | ![]() |
File: [cvs.NetBSD.org] / pkgsrc / textproc / php-wddx / Makefile (download)
Revision 1.10, Fri Jun 2 18:27:58 2006 UTC (17 years, 6 months ago) by joerg
Rename all PHP 4 packages to php4-*, all PHP 5 packages to php5-*, all PEAR packages to php?-pear-* and all Apache packages to ap13-* or ap2-* respectively. Add new variables to simplify the Makefile handling. Add CONFLICTS on the old names. Reset revisions of bumped packages. ap-php will now depend on the default Apache and PHP version. All programs using it have an implicit option of the Apache version as well. OK from jlam@ and adrianp@. |
# $NetBSD: Makefile,v 1.10 2006/06/02 18:27:58 joerg Exp $ MODNAME= wddx CATEGORIES+= textproc COMMENT= PHP extension for WDDX support CONFLICTS= php-wddx-[0-9] CONFIGURE_ARGS+= --enable-${MODNAME}=shared,${BUILDLINK_DIR} USE_PHP_EXT_PATCHES= # defined # appease some PHP build assumpsions CFLAGS+= -I${BUILDLINK_DIR}/include/libxml2 \ -I${BUILDLINK_DIR}/include/php/ext/date/lib .include "../../lang/php/phpversion.mk" # link against libxml2 on PHP5 (the code is using expat compat # build wrapper) .if ${PKG_PHP_VERSION} == 5 .include "../../textproc/libxml2/buildlink3.mk" .else .include "../../textproc/expat/buildlink3.mk" .endif .include "../../lang/php/ext.mk" .include "../../mk/bsd.pkg.mk"