summaryrefslogtreecommitdiff
path: root/www/drupal6
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2009-02-16 21:02:26 +0000
committeradrianp <adrianp@pkgsrc.org>2009-02-16 21:02:26 +0000
commita7408414c13777818853721c1693ab78b9160134 (patch)
tree3413859b83e43e598ce56e3f1d12dd18f41a2442 /www/drupal6
parentfa27df019aa6cfa8f081040450b196777245c001 (diff)
downloadpkgsrc-a7408414c13777818853721c1693ab78b9160134.tar.gz
Add in optional support for Unicode - no change from the defaults
Diffstat (limited to 'www/drupal6')
-rw-r--r--www/drupal6/options.mk11
1 files changed, 9 insertions, 2 deletions
diff --git a/www/drupal6/options.mk b/www/drupal6/options.mk
index 35ab1c4f6bf..4338d1743a5 100644
--- a/www/drupal6/options.mk
+++ b/www/drupal6/options.mk
@@ -1,11 +1,11 @@
-# $NetBSD: options.mk,v 1.2 2008/10/24 18:52:31 adrianp Exp $
+# $NetBSD: options.mk,v 1.3 2009/02/16 21:02:26 adrianp Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.drupal
PKG_OPTIONS_REQUIRED_GROUPS= db
PKG_OPTIONS_GROUP.db= mysql pgsql
-PKG_SUPPORTED_OPTIONS= drupal-xmlservices apache
+PKG_SUPPORTED_OPTIONS= drupal-xmlservices apache unicode
PKG_SUGGESTED_OPTIONS= mysql drupal-xmlservices apache
.include "../../mk/bsd.options.mk"
@@ -37,6 +37,13 @@ DEPENDS+= ${PHP_PKG_PREFIX}-dom-[0-9]*:../../textproc/php5-dom
.endif
###
+### Support for unicode
+###
+.if !empty(PKG_OPTIONS:Municode)
+DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=4.3.3:../../misc/php-mbstring
+.endif
+
+###
### Drupal can run on a number of web servers, we support apache by default
###
.if !empty(PKG_OPTIONS:Mapache)