summaryrefslogtreecommitdiff
path: root/www/drupal/options.mk
diff options
context:
space:
mode:
authoradrianp <adrianp>2006-05-28 14:46:47 +0000
committeradrianp <adrianp>2006-05-28 14:46:47 +0000
commit4626f02044b8d8484ee017dbe154793ca67297bf (patch)
tree979542517eb0e6546f90cb47715a5bf42f059aae /www/drupal/options.mk
parent92f20de6872699007c5a8634d8ba4f140a356d18 (diff)
downloadpkgsrc-4626f02044b8d8484ee017dbe154793ca67297bf.tar.gz
Update to the 4.7.x branch of drupal
For a full list of changes see: http://drupal.org/drupal-4.7.0 In short: - Updated Documentation for All Modules - Auto-complete Fields(AJAX) - Added Mass Comment Operations - Easier to Make Menu Items - RSS Feed Settings - Better Search Index - New Forms API
Diffstat (limited to 'www/drupal/options.mk')
-rw-r--r--www/drupal/options.mk17
1 files changed, 15 insertions, 2 deletions
diff --git a/www/drupal/options.mk b/www/drupal/options.mk
index e1f68d31aa3..c057fdea091 100644
--- a/www/drupal/options.mk
+++ b/www/drupal/options.mk
@@ -1,11 +1,12 @@
-# $NetBSD: options.mk,v 1.1.1.1 2006/01/05 00:02:43 adrianp Exp $
+# $NetBSD: options.mk,v 1.2 2006/05/28 14:46:47 adrianp Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.drupal
PKG_OPTIONS_REQUIRED_GROUPS= db
PKG_OPTIONS_GROUP.db= mysql pgsql
-PKG_SUGGESTED_OPTIONS= mysql
+PKG_SUPPORTED_OPTIONS= drupal-xmlservices
+PKG_SUGGESTED_OPTIONS= mysql drupal-xmlservices
.include "../../mk/bsd.options.mk"
@@ -22,3 +23,15 @@ DEPENDS+= php-pgsql-[0-9]*:../../databases/php-pgsql
. include "../../mk/mysql.buildlink3.mk"
DEPENDS+= php-mysql>=4.3.3:../../databases/php-mysql
.endif
+
+###
+### Enable XML-based services such as the Blogger API, Jabber and RSS
+### syndication.
+###
+.if !empty(PKG_OPTIONS:Mdrupal-xmlservices)
+. if ${PKG_PHP_VERSION} == "4"
+DEPENDS+= php-domxml>=4.3.3:../../textproc/php4-domxml
+. elif ${PKG_PHP_VERSION} == "5"
+DEPENDS+= php-dom-[0-9]*:../../textproc/php5-dom
+. endif
+.endif