summaryrefslogtreecommitdiff
path: root/net/smokeping/options.mk
blob: 0abc1984afd0d50276a7b742aa4105cccda34042 (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
# $NetBSD: options.mk,v 1.3 2012/06/12 15:46:01 wiz Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.smokeping

PKG_SUPPORTED_OPTIONS=	smokeping-speedycgi inet6
PKG_SUGGESTED_OPTIONS=	inet6

###
### Just here to ease migration to the options framework
###
.if defined(USE_SPEEDY) && ${USE_SPEEDY} == "YES"
PKG_SUGGESTED_OPTIONS+=	smokeping-speedycgi
.endif

.include "../../mk/bsd.options.mk"

###
### Use SpeedyCGI to get the smokeping WWW interface running a lot faster
###
.if !empty(PKG_OPTIONS:Msmokeping-speedycgi)
DEPENDS+=	SpeedyCGI-[0-9]*:../../www/SpeedyCGI
INTERP=		lib/perl5/vendor_perl/bin/speedy
.else
INTERP=		bin/perl
.endif

###
### ipv6 support
###
.if !empty(PKG_OPTIONS:Minet6)
DEPENDS+=	p5-Socket6-[0-9]*:../../net/p5-Socket6
.endif