Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / net / smokeping / options.mk
blob3b6589487626d59a4703ccd4ec9c449d84c26e91
1 # $NetBSD: options.mk,v 1.2 2007/11/22 22:56:01 adrianp Exp $
3 PKG_OPTIONS_VAR= PKG_OPTIONS.smokeping
5 PKG_SUPPORTED_OPTIONS= smokeping-speedycgi inet6
6 PKG_SUGGESTED_OPTIONS= inet6
8 ###
9 ### Just here to ease migration to the options framework
10 ###
11 .if defined(USE_SPEEDY) && ${USE_SPEEDY} == "YES"
12 PKG_SUGGESTED_OPTIONS+= smokeping-speedycgi
13 .endif
15 .include "../../mk/bsd.options.mk"
17 ###
18 ### Use SpeedyCGI to get the smokeping WWW interface running a lot faster
19 ###
20 .if !empty(PKG_OPTIONS:Msmokeping-speedycgi)
21 DEPENDS+= SpeedyCGI-[0-9]*:../../www/SpeedyCGI
22 INTERP= lib/perl5/vendor_perl/bin/speedy
23 .else
24 INTERP= bin/perl
25 .endif
27 ###
28 ### ipv6 support
29 ###
30 .if !empty(PKG_OPTIONS:Minet6)
31 DEPENDS+= p5-Socket6-[0-9]*:../../net/p5-Socket6
32 .endif