pkgsrc/net/vino/options.mk

26 lines
612 B
Makefile

# $NetBSD: options.mk,v 1.4 2010/07/08 18:37:03 drochner Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.vino
PKG_SUPPORTED_OPTIONS+= avahi inet6 telepathy
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mavahi)
CONFIGURE_ARGS+= --enable-avahi
.include "../../net/avahi/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-avahi
.endif
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif
.if !empty(PKG_OPTIONS:Mtelepathy)
CONFIGURE_ARGS+= --enable-telepathy
.include "../../chat/telepathy-glib/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-telepathy
.endif