summaryrefslogtreecommitdiff
path: root/net/gtk-gnutella/options.mk
blob: ed49b2a09ff15365814fe4e4d5d3d8f307ee222d (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
# $NetBSD: options.mk,v 1.3 2008/08/20 10:03:32 adam Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.gtk-gnutella
PKG_SUPPORTED_OPTIONS=		# empty
PKG_OPTIONS_OPTIONAL_GROUPS=	gui
PKG_OPTIONS_GROUP.gui=		gtk1 gtk2 headless
PKG_SUGGESTED_OPTIONS=		gtk2

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

.if !empty(PKG_OPTIONS:Mgtk1)
CONFIGURE_ARGS+=	--gtk1
.  include "../../x11/gtk/buildlink3.mk"
.endif

.if !empty(PKG_OPTIONS:Mgtk2)
CONFIGURE_ARGS+=	--gtk2
.  include "../../x11/gtk2/buildlink3.mk"
.endif

.if !empty(PKG_OPTIONS:Mheadless)
CONFIGURE_ARGS+=	--topless
.  include "../../devel/glib2/buildlink3.mk"
.endif