summaryrefslogtreecommitdiff
path: root/graphics/inkscape
diff options
context:
space:
mode:
authordrochner <drochner>2009-11-15 15:40:01 +0000
committerdrochner <drochner>2009-11-15 15:40:01 +0000
commit3be623fabfbfd772696a9fcd91ab82186afc4537 (patch)
tree8bfab105b3fc4dccc36523e734434128c0e1b15d /graphics/inkscape
parentb1a5f920cbd30e18b4a9c60faa8ba6517dd710fd (diff)
downloadpkgsrc-3be623fabfbfd772696a9fcd91ab82186afc4537.tar.gz
make gnome-vfs support optional, suggested by David Demelier
per PR pkg/41997
Diffstat (limited to 'graphics/inkscape')
-rw-r--r--graphics/inkscape/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/graphics/inkscape/Makefile b/graphics/inkscape/Makefile
index 1dc0747018e..ab31cb55c57 100644
--- a/graphics/inkscape/Makefile
+++ b/graphics/inkscape/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2009/08/26 19:57:44 sno Exp $
+# $NetBSD: Makefile,v 1.44 2009/11/15 15:40:01 drochner Exp $
DISTNAME= inkscape-0.46
PKGREVISION= 5
@@ -33,6 +33,18 @@ BUILDLINK_API_DEPENDS.poppler+= poppler>=0.5.9
UNLIMIT_RESOURCES= datasize
+PKG_OPTIONS_VAR= PKG_OPTIONS.inkscape
+PKG_SUPPORTED_OPTIONS= gnome
+PKG_SUGGESTED_OPTIONS= gnome
+
+.include "../../mk/bsd.options.mk"
+
+# gnome-vfs support for the inkscape file open window.
+.if !empty(PKG_OPTIONS:Mgnome)
+CONFIGURE_ARGS+= --with-gnome-vfs
+.include "../../sysutils/gnome-vfs/buildlink3.mk"
+.endif
+
.include "../../devel/boehm-gc/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
@@ -43,7 +55,6 @@ UNLIMIT_RESOURCES= datasize
.include "../../print/poppler-glib/buildlink3.mk"
.include "../../print/poppler-includes/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
-.include "../../sysutils/gnome-vfs/buildlink3.mk"
.include "../../textproc/gtkspell/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"