pkgsrc-wip/wordpress-mu/options.mk
Daniel Horecki d8fbdf8288 Import wordpress-mu-2.6.5 as wip/wordpress-mu.
WordPress is a state-of-the-art publishing platform with a focus on
aesthetics, web standards, and usability. WordPress is both free and
priceless at the same time.

Wordpress MU is Multi User version of Wordpress.
2009-01-06 21:36:14 +00:00

23 lines
666 B
Makefile

# $NetBSD: options.mk,v 1.1.1.1 2009/01/06 21:36:14 shindenmorr Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.wordpress-mu
PKG_OPTIONS_REQUIRED_GROUPS= wordpress-mu
PKG_OPTIONS_GROUP.wordpress-mu= php-cgi ap-php
.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