summaryrefslogtreecommitdiff
path: root/net/smokeping/options.mk
blob: a18ce1e8b821109632999ce54fe6647edc71e236 (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
# $NetBSD: options.mk,v 1.2 2007/11/22 22:56:01 adrianp Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.smokeping

PKG_SUPPORTED_OPTIONS=	smokeping-speedycgi 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