2009-11-09 00:12:34 +01:00
|
|
|
# $NetBSD: options.mk,v 1.2 2009/11/08 23:12:34 pettai Exp $
|
2009-01-06 22:36:14 +01:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.wordpress-mu
|
2009-11-09 00:12:34 +01:00
|
|
|
|
2009-01-06 22:36:14 +01:00
|
|
|
PKG_OPTIONS_REQUIRED_GROUPS= wordpress-mu
|
|
|
|
PKG_OPTIONS_GROUP.wordpress-mu= php-cgi ap-php
|
|
|
|
|
2009-11-09 00:12:34 +01:00
|
|
|
PKG_SUGGESTED_OPTIONS= ap-php
|
|
|
|
|
2009-01-06 22:36:14 +01:00
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mphp-cgi)
|
|
|
|
. include "../../lang/php/phpversion.mk"
|
|
|
|
. if ${PKG_PHP_VERSION} == "4"
|
|
|
|
DEPENDS+= php>=4.4.7:../../www/php4
|
|
|
|
. endif
|
|
|
|
. if ${PKG_PHP_VERSION} == "5"
|
|
|
|
DEPENDS+= php>=5.2.4:../../lang/php5
|
|
|
|
. endif
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Map-php)
|
|
|
|
. include "../../mk/apachever.mk"
|
|
|
|
. include "../../lang/php/phpversion.mk"
|
|
|
|
DEPENDS+= ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}>=4.3.0:../../www/ap-php
|
|
|
|
.endif
|