pkgsrc/comms/asterisk/options.mk
riz 28723e33e3 Update asterisk to version 1.2.1. Many, many bugfixes, and some
new features, including support for DUNDi.  (http://www.dundi.com/ for
more information)

The initial framework and porting of this package upgrade was done by
Martin J. Laubach, with lots of feature/PLIST fixes by me.  DragonFly
support added by Joerg Sonnenberger.
2006-01-13 20:32:38 +00:00

22 lines
570 B
Makefile

# $NetBSD: options.mk,v 1.2 2006/01/13 20:32:38 riz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.asterisk
PKG_SUPPORTED_OPTIONS= zaptel gtk
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mzaptel)
# zaptel only supported under NetBSD at the moment
. include "../../comms/zaptel-netbsd/buildlink3.mk"
PLIST_SUBST+= ZAPTEL=
.else
MAKE_FLAGS+= WITHOUT_ZAPTEL=1
PLIST_SUBST+= ZAPTEL="@comment "
.endif
.if !empty(PKG_OPTIONS:Mgtk)
. include "../../x11/gtk/buildlink3.mk"
MAKE_FLAGS+= ASTERISK_USE_GTK=1
PLIST_SUBST+= GTK=
.else
PLIST_SUBST+= GTK="@comment "
.endif