2010-09-30 10:02:56 +02:00
|
|
|
# $NetBSD: options.mk,v 1.6 2010/09/30 08:02:56 obache Exp $
|
2006-01-05 01:02:43 +01:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.drupal
|
|
|
|
|
|
|
|
PKG_OPTIONS_REQUIRED_GROUPS= db
|
|
|
|
PKG_OPTIONS_GROUP.db= mysql pgsql
|
|
|
|
|
2006-05-28 16:46:47 +02:00
|
|
|
PKG_SUPPORTED_OPTIONS= drupal-xmlservices
|
|
|
|
PKG_SUGGESTED_OPTIONS= mysql drupal-xmlservices
|
2006-01-05 01:02:43 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
###
|
|
|
|
### Use PostgreSQL for storing Drupal data
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mpgsql)
|
2006-06-02 20:27:54 +02:00
|
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-pgsql-[0-9]*:../../databases/php-pgsql
|
2006-01-05 01:02:43 +01:00
|
|
|
.elif !empty(PKG_OPTIONS:Mmysql)
|
|
|
|
###
|
|
|
|
### Use MySQL for storing Drupal data
|
|
|
|
###
|
2006-06-02 20:27:54 +02:00
|
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=4.3.3:../../databases/php-mysql
|
2006-01-05 01:02:43 +01:00
|
|
|
.endif
|
2006-05-28 16:46:47 +02:00
|
|
|
|
|
|
|
###
|
|
|
|
### Enable XML-based services such as the Blogger API, Jabber and RSS
|
|
|
|
### syndication.
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mdrupal-xmlservices)
|
2010-03-16 17:02:20 +01:00
|
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-dom-[0-9]*:../../textproc/php-dom
|
2006-05-28 16:46:47 +02:00
|
|
|
.endif
|