summaryrefslogtreecommitdiff
path: root/www/drupal/options.mk
diff options
context:
space:
mode:
authoradrianp <adrianp>2006-01-05 00:02:43 +0000
committeradrianp <adrianp>2006-01-05 00:02:43 +0000
commit144e3b22cbff0d62b6fab65afd03a905ad38c6aa (patch)
tree88eaa90c6b9de6ef90fe20eaa854f4f7acedcc53 /www/drupal/options.mk
parent010ba1d3ef51552dc5a01f655a3a22f22962d67c (diff)
downloadpkgsrc-144e3b22cbff0d62b6fab65afd03a905ad38c6aa.tar.gz
Initial import of Drupal v4.6.5.
Drupal is software that allows an individual or a community of users to easily publish, manage and organize a great variety of content on a website. Tens of thousands of people and organizations have used Drupal to set up scores of different kinds of web sites, including * community web portals and discussion sites * corporate web sites/intranet portals * personal web sites * aficionado sites * e-commerce applications * resource directories Drupal includes features to enable: * content management systems * blogs * collaborative authoring environments * forums * newsletters * picture galleries * file uploads and download
Diffstat (limited to 'www/drupal/options.mk')
-rw-r--r--www/drupal/options.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/www/drupal/options.mk b/www/drupal/options.mk
new file mode 100644
index 00000000000..e1f68d31aa3
--- /dev/null
+++ b/www/drupal/options.mk
@@ -0,0 +1,24 @@
+# $NetBSD: options.mk,v 1.1.1.1 2006/01/05 00:02:43 adrianp Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.drupal
+
+PKG_OPTIONS_REQUIRED_GROUPS= db
+PKG_OPTIONS_GROUP.db= mysql pgsql
+
+PKG_SUGGESTED_OPTIONS= mysql
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Use PostgreSQL for storing Drupal data
+###
+.if !empty(PKG_OPTIONS:Mpgsql)
+. include "../../mk/pgsql.buildlink3.mk"
+DEPENDS+= php-pgsql-[0-9]*:../../databases/php-pgsql
+.elif !empty(PKG_OPTIONS:Mmysql)
+###
+### Use MySQL for storing Drupal data
+###
+. include "../../mk/mysql.buildlink3.mk"
+DEPENDS+= php-mysql>=4.3.3:../../databases/php-mysql
+.endif