blob: e0ddf2889265f6b4b2afc38e9a65dc82a5dc892b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $NetBSD: options.mk,v 1.1 2008/07/22 21:41:56 rhaen Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.p5-HTML-Mason
PKG_SUPPORTED_OPTIONS= cache fcgi modperl
PKG_SUGGESTED_OPTIONS= cache
.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:Mfcgi)
DEPENDS+= p5-FCGI-[0-9]*:../../www/p5-FCGI
.endif
###
### The Perl module Cache-Cache for optional caching
###
.if !empty(PKG_OPTIONS:Mcache)
DEPENDS+= p5-Cache-Cache>=1.0:../../devel/p5-Cache-Cache
.endif
|