pkgsrc/graphics/dia/options.mk
drochner 03f47e76fe update to 0.97
changes:
-High quality cross-platform print and pdf output by use of cairo
-Rotated text, but only with the new "Standard - Ouline" object
-Object properties dialog finally does handle multiple objects
-Improved text edit mode for consistent handling of the Delete key
-A new integrated user interface mode with diagrams in tabs
-Almost 200 bugs and feature requests resolved

pkgsrc note: the printing problem mentioned in TODO is resolved
 (some outdated nonsense in options.mk disabled use of "cairo")
2009-12-09 10:22:04 +00:00

28 lines
720 B
Makefile

# $NetBSD: options.mk,v 1.8 2009/12/09 10:22:04 drochner Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.dia
PKG_SUPPORTED_OPTIONS= gnome cairo
PKG_SUGGESTED_OPTIONS= gnome cairo
.include "../../mk/bsd.options.mk"
PLIST_VARS+= cairo gnome
.if !empty(PKG_OPTIONS:Mgnome)
CONFIGURE_ARGS+= --enable-gnome
. include "../../devel/libgnome/buildlink3.mk"
. include "../../devel/libgnomeui/buildlink3.mk"
PLIST.gnome= yes
PLIST_SUBST+= DIA_HELPDIR=share/gnome/help/dia
.else
CONFIGURE_ARGS+= --disable-gnome
PLIST_SUBST+= DIA_HELPDIR=share/dia/help
.endif
.if !empty(PKG_OPTIONS:Mcairo)
CONFIGURE_ARGS+= --with-cairo
. include "../../graphics/cairo/buildlink3.mk"
PLIST.cairo= yes
.else
CONFIGURE_ARGS+= --without-cairo
.endif