pkgsrc/net/smokeping/options.mk
2007-11-22 22:56:01 +00:00

31 lines
716 B
Makefile

# $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