summaryrefslogtreecommitdiff
path: root/graphics/gimp/options.mk
blob: 4e1b4916e0a5d6410fd56fd84ce894a5c08e9999 (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
25
26
27
28
29
30
31
32
33
34
35
# $NetBSD: options.mk,v 1.2 2007/10/28 16:43:00 dogcow Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.gimp
PKG_SUPPORTED_OPTIONS=	aalib gnome mng svg
PKG_SUGGESTED_OPTIONS=	aalib gnome mng svg

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

.if !empty(PKG_OPTIONS:Maalib)
.include "../../graphics/aalib/buildlink3.mk"
PLIST_SUBST+=	AALIB=
.else
PLIST_SUBST+=	AALIB="@comment "
.endif

.if !empty(PKG_OPTIONS:Mgnome)
.include "../../www/libgtkhtml/buildlink3.mk"
PLIST_SUBST+=	GNOME=
.else
PLIST_SUBST+=	GNOME="@comment "
.endif

.if !empty(PKG_OPTIONS:Mmng)
.include "../../graphics/mng/buildlink3.mk"
PLIST_SUBST+=	MNG=
.else
PLIST_SUBST+=	MNG="@comment "
.endif

.if !empty(PKG_OPTIONS:Msvg)
.include "../../graphics/librsvg/buildlink3.mk"
PLIST_SUBST+=	SVG=
.else
PLIST_SUBST+=	SVG="@comment "
.endif