4a318bb5a2
The Meeting Room Booking System (MRBS) is a PHP-based application for booking meeting rooms, or other resources.
21 lines
543 B
Makefile
21 lines
543 B
Makefile
# $NetBSD: options.mk,v 1.1 2015/01/31 12:23:14 bouyer Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.php-mrbs
|
|
|
|
PKG_OPTIONS_REQUIRED_GROUPS= db
|
|
PKG_OPTIONS_GROUP.db= mysql pgsql
|
|
|
|
PKG_SUGGESTED_OPTIONS= mysql
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
###
|
|
### Use mysql, or pgsql backend
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mmysql)
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=5.2.0:../../databases/php-mysql
|
|
.elif !empty(PKG_OPTIONS:Mpgsql)
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=5.2.0:../../databases/php-pgsql
|
|
.else
|
|
PKG_FAIL_REASON+= ${PKGNAME} needs either mysql or pgsql
|
|
.endif
|