a22a5d38f0
Drupal is a free web Content Management System (CMS) that allows an individual or a community of users to easily publish, manage and organize a wide variety of content on a website. Drupal is ready to go from the moment you download it. It even has an easy-to-use web installer! The built-in functionality, combined with dozens of freely available add-on modules, will enable features such as: Content Management Systems, Blogs, Collaborative authoring environments, Forums, Peer-to-peer networking, Newsletters, Podcasting, Picture galleries, File uploads/downloads and much more.
48 lines
1.2 KiB
Makefile
48 lines
1.2 KiB
Makefile
# $NetBSD: options.mk,v 1.1 2017/11/04 14:30:39 wen Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.drupal
|
|
|
|
PKG_OPTIONS_REQUIRED_GROUPS= db
|
|
PKG_OPTIONS_GROUP.db= mysql pgsql sqlite
|
|
|
|
PKG_SUPPORTED_OPTIONS= apache unicode
|
|
PKG_SUGGESTED_OPTIONS= mysql apache
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
###
|
|
### Use PostgreSQL for storing Drupal data
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mpgsql)
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-pdo_pgsql>=5.2.7:../../databases/php-pdo_pgsql
|
|
.elif !empty(PKG_OPTIONS:Mmysql)
|
|
###
|
|
### Use MySQL for storing Drupal data
|
|
###
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-pdo_mysql>=5.2.7:../../databases/php-pdo_mysql
|
|
.elif !empty(PKG_OPTIONS:Msqlite)
|
|
###
|
|
### Use SQLite for storing Drupal data
|
|
###
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-pdo_sqlite>=5.2.7:../../databases/php-pdo_sqlite
|
|
.endif
|
|
|
|
###
|
|
### Support for unicode
|
|
###
|
|
.if !empty(PKG_OPTIONS:Municode)
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=5.2.7:../../converters/php-mbstring
|
|
.endif
|
|
|
|
###
|
|
### Drupal can run on a number of web servers, we support apache by default
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mapache)
|
|
DEPENDS+= ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}>=5.2.7:../../www/ap-php
|
|
. include "../../mk/apache.mk"
|
|
WWW_USER?= ${APACHE_USER}
|
|
WWW_GROUP?= ${APACHE_GROUP}
|
|
.else
|
|
WWW_USER?= ${ROOT_USER}
|
|
WWW_GROUP?= ${ROOT_GROUP}
|
|
.endif
|