blob: e235c47289b3357288fe5833d993115feb1bdca0 (
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
|
# $NetBSD: options.mk,v 1.4 2006/06/11 16:55:35 drochner Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.dia
#PKG_SUPPORTED_OPTIONS= gnome cairo
PKG_SUPPORTED_OPTIONS= gnome
PKG_SUGGESTED_OPTIONS= gnome
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mgnome)
USE_DIRS+= gnome2-1.5
CONFIGURE_ARGS+= --enable-gnome
. include "../../devel/libgnome/buildlink3.mk"
. include "../../devel/libgnomeui/buildlink3.mk"
PLIST_SUBST+= GNOME_OPTION=
PLIST_SUBST+= DIA_HELPDIR=share/gnome/help/dia
.else
CONFIGURE_ARGS+= --disable-gnome
PLIST_SUBST+= GNOME_OPTION='@comment '
PLIST_SUBST+= DIA_HELPDIR=share/dia/help
.endif
# Disabled, freedesktop is down.
.if !empty(PKG_OPTIONS:Mcairo)
CONFIGURE_ARGS+= --with-cairo
. include "../../graphics/cairo/buildlink3.mk"
PLIST_SUBST+= CAIRO_OPTION=
.else
CONFIGURE_ARGS+= --without-cairo
PLIST_SUBST+= CAIRO_OPTION='@comment '
.endif
|