[Lunar-commits] <moonbase> dia: install doc option

Christian Krause wookietreiber at lunar-linux.org
Tue Sep 13 09:44:38 CEST 2011


commit 8a66199c3a8e9388a41e41ae6ae479b4ab5627b2
Author: Christian Krause <wookietreiber at lunar-linux.org>
Date:   Tue Sep 13 09:44:38 2011 +0200

    dia: install doc option
---
 x11-apps/dia/BUILD     |    4 ++++
 x11-apps/dia/CONFIGURE |    1 +
 x11-apps/dia/DEPENDS   |    2 +-
 3 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/x11-apps/dia/BUILD b/x11-apps/dia/BUILD
index ba76502..7ede690 100644
--- a/x11-apps/dia/BUILD
+++ b/x11-apps/dia/BUILD
@@ -2,6 +2,10 @@
 
   export LIBART_CONFIG=/usr/bin/libart2-config &&
 
+  if [ "`get_module_config DOCS`" = "n" ] ; then
+    sedit "s?SUBDIRS = lib objects plug-ins shapes app bindings samples po sheets data doc tests installer?SUBDIRS = lib objects plug-ins shapes app bindings samples po sheets data tests installer?g" Makefile.in
+  fi  &&
+
   OPTS+=" --with-python --enable-debug=no --disable-db2html" &&
 
   if in_depends $MODULE swig; then
diff --git a/x11-apps/dia/CONFIGURE b/x11-apps/dia/CONFIGURE
new file mode 100644
index 0000000..c25ba74
--- /dev/null
+++ b/x11-apps/dia/CONFIGURE
@@ -0,0 +1 @@
+mquery DOCS "Install docs?" n
diff --git a/x11-apps/dia/DEPENDS b/x11-apps/dia/DEPENDS
index a5d2ae2..7f5aa66 100644
--- a/x11-apps/dia/DEPENDS
+++ b/x11-apps/dia/DEPENDS
@@ -4,6 +4,6 @@ depends gtk+-2
 depends libart_lgpl
 depends pygtk
 
-optional_depends "libgnomeui" "--enable-gnome" ""                "for GNOME support"
+optional_depends "libgnomeui" "--enable-gnome" "--disable-gnome" "for GNOME support"
 optional_depends "swig"       "--with-swig"    "--without-swig"  "for swig binding support"
 optional_depends "cairo"      "--with-cairo"   "--without-cairo" "for vector graphics support"


More information about the Lunar-commits mailing list