Revision
148347
Author
devans@macports.org
Date
2016-05-04 18:37:18 -0700 (Wed, 04 May 2016)

Log Message

inkscape-devel: update spell checking dependencies, require enchant +aspell -applespell, require gnome-themes-standard for both gtk2 and gtk3 builds, update to bzr 14870 (#51287).

Modified Paths

Diff

Modified: trunk/dports/graphics/inkscape-devel/Portfile (148346 => 148347)


--- trunk/dports/graphics/inkscape-devel/Portfile	2016-05-05 00:37:04 UTC (rev 148346)
+++ trunk/dports/graphics/inkscape-devel/Portfile	2016-05-05 01:37:18 UTC (rev 148347)
@@ -2,10 +2,11 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           active_variants 1.1
 
 name                inkscape-devel
 conflicts           inkscape
-set bzr_rev         14865
+set bzr_rev         14870
 version             0.91.99.${bzr_rev}
 epoch               1
 license             GPL-2 LGPL-2.1
@@ -46,11 +47,24 @@
                     port:libexif \
                     port:libvisio-0.1 \
                     port:libwpg-0.3 \
-                    port:gtkspell2 \
                     port:potrace \
                     port:py27-lxml \
                     port:py27-numpy
 
+# spell checking dependencies
+# require enchant +aspell -applespell
+# this breaks inkscape default build because
+# enchant +aspell is not the default
+# https://trac.macports.org/ticket/51287
+
+depends_lib-append  port:aspell \
+                    port:enchant \
+                    port:gtkspell2
+
+require_active_variants enchant aspell applespell
+
+depends_run         port:gnome-themes-standard
+
 pre-fetch {
     ui_msg "--->  Fetching source from bzr repository: this may take a while"
 }
@@ -72,7 +86,6 @@
                     port:gtkmm
 
     depends_lib-append \
-                    port:gnome-themes-standard \
                     port:gtkspell3 \
                     port:gtk3 \
                     port:gtkmm3 \