2014-08-11 13:27:10 +02:00

29 lines
767 B
Makefile

# $NetBSD: options.mk,v 1.3 2014/02/23 09:47:53 wen Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.p5-HTML-Mason
PKG_SUPPORTED_OPTIONS= fastcgi modperl
PKG_SUGGESTED_OPTIONS= # empty
.include "../../mk/bsd.options.mk"
###
### mod_perl usage for Apache webservers
###
.if !empty(PKG_OPTIONS:Mmodperl)
. include "../../mk/apache.mk"
. if ${PKG_APACHE} == "apache13"
DEPENDS+= p5-libapreq>=0.32:../../www/p5-libapreq
. include "../../www/ap-perl/buildlink3.mk"
. elif ${PKG_APACHE} == "apache2" || ${PKG_APACHE} == "apache22"
DEPENDS+= p5-libapreq2-[0-9]*:../../www/p5-libapreq2
. include "../../www/ap2-perl/buildlink3.mk"
. endif
.endif
###
### FastCGI Support e.g. for lighttpd
###
.if !empty(PKG_OPTIONS:Mfastcgi)
DEPENDS+= p5-FCGI-[0-9]*:../../www/p5-FCGI
.endif