b12904483c
pkglint -Wall -F --only aligned --only indent -r Manually excluded phraseanet since pkglint got the indentation wrong.
20 lines
509 B
Makefile
20 lines
509 B
Makefile
# $NetBSD: options.mk,v 1.4 2019/11/04 22:10:12 rillig Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.php-tt-rss
|
|
|
|
PKG_OPTIONS_REQUIRED_GROUPS= db
|
|
PKG_OPTIONS_GROUP.db= mysql pgsql
|
|
|
|
PKG_SUGGESTED_OPTIONS= pgsql
|
|
|
|
.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
|
|
PHP_VERSIONS_ACCEPTED= 56
|
|
.elif !empty(PKG_OPTIONS:Mpgsql)
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=5.2.0:../../databases/php-pgsql
|
|
.endif
|