19 lines
562 B
Makefile
19 lines
562 B
Makefile
# $NetBSD: options.mk,v 1.2 2015/01/25 20:05:54 thomasklausner Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.sync-server-dependencies
|
|
PKG_SUPPORTED_OPTIONS= apache nginx
|
|
PKG_SUGGESTED_OPTIONS= nginx
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mapache)
|
|
DEPENDS+= ${PYPKGPREFIX}-${APACHE_PKG_PREFIX}-mod_wsgi-[0-9]*:../../www/py-mod_wsgi
|
|
.include "../../mk/apache.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mnginx)
|
|
DEPENDS+= nginx-[0-9]*:../../www/nginx
|
|
# not available for python 2.x in pkgsrc
|
|
#DEPENDS+= ${PYPKGPREFIX}-gunicorn-[0-9]*:../../www/py-gunicorn
|
|
.endif
|