~cypheon/pkgsrc-wip

pkgsrc-wip/gtkhash/options.mk -rw-r--r-- 1.3 KiB
5f1bf4f5 — Johann Rudloff Subst PLIST paths for platform specific files for other architectures 6 months ago
                                                                                
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# $NetBSD$

PKG_OPTIONS_VAR=		PKG_OPTIONS.gtkhash
PKG_OPTIONS_REQUIRED_GROUPS=	gtk
PKG_OPTIONS_GROUP.gtk=		gtk2 gtk3
PKG_SUPPORTED_OPTIONS=		caja nautilus thunar
PKG_SUGGESTED_OPTIONS=		gtk3

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

PLIST_VARS+=	caja
PLIST_VARS+=	nautilus
PLIST_VARS+=	thunar

#
# Use GTK+ version 2
#
.if !empty(PKG_OPTIONS:Mgtk2)
CONFIGURE_ARGS+=	--with-gtk=2.0
.include "../../x11/gtk2/buildlink3.mk"
.endif

#
# Use GTK+ version 3 (upstream default)
#
.if !empty(PKG_OPTIONS:Mgtk3)
CONFIGURE_ARGS+=	--with-gtk=3.0
.include "../../x11/gtk3/buildlink3.mk"
.endif

#
# Build the optional Caja extension
#
.if !empty(PKG_OPTIONS:Mcaja)
PLIST.caja=		yes
CONFIGURE_ARGS+=	--enable-caja
.include "../../sysutils/caja/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--disable-caja
.endif

#
# Build the optional Nautilus extension
#
.if !empty(PKG_OPTIONS:Mnautilus)
PLIST.nautilus=		yes
CONFIGURE_ARGS+=	--enable-nautilus
.include "../../sysutils/nautilus/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--disable-nautilus
.endif

#
# Build the optional Thunar extension
#
.if !empty(PKG_OPTIONS:Mthunar)
PLIST.thunar=		yes
CONFIGURE_ARGS+=	--enable-thunar
.include "../../sysutils/xfce4-thunar/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--disable-thunar
.endif