2009-12-09 11:22:04 +01:00
|
|
|
# $NetBSD: options.mk,v 1.8 2009/12/09 10:22:04 drochner Exp $
|
2004-11-17 22:42:11 +01:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.dia
|
2009-12-09 11:22:04 +01:00
|
|
|
PKG_SUPPORTED_OPTIONS= gnome cairo
|
|
|
|
PKG_SUGGESTED_OPTIONS= gnome cairo
|
2004-11-17 22:42:11 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST_VARS+= cairo gnome
|
|
|
|
|
2004-11-17 22:42:11 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Mgnome)
|
|
|
|
CONFIGURE_ARGS+= --enable-gnome
|
|
|
|
. include "../../devel/libgnome/buildlink3.mk"
|
|
|
|
. include "../../devel/libgnomeui/buildlink3.mk"
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST.gnome= yes
|
2006-06-11 18:55:35 +02:00
|
|
|
PLIST_SUBST+= DIA_HELPDIR=share/gnome/help/dia
|
2004-11-17 22:42:11 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-gnome
|
2006-06-11 18:55:35 +02:00
|
|
|
PLIST_SUBST+= DIA_HELPDIR=share/dia/help
|
2004-11-17 22:42:11 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mcairo)
|
|
|
|
CONFIGURE_ARGS+= --with-cairo
|
|
|
|
. include "../../graphics/cairo/buildlink3.mk"
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST.cairo= yes
|
2004-11-17 22:42:11 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-cairo
|
|
|
|
.endif
|