Modified: trunk/dports/graphics/inkscape/Portfile (148330 => 148331)
--- trunk/dports/graphics/inkscape/Portfile 2016-05-04 14:17:32 UTC (rev 148330)
+++ trunk/dports/graphics/inkscape/Portfile 2016-05-04 17:01:15 UTC (rev 148331)
@@ -2,11 +2,12 @@
# $Id$
PortSystem 1.0
+PortGroup active_variants 1.1
name inkscape
conflicts inkscape-devel
version 0.91
-revision 14
+revision 15
license GPL-2 LGPL-2.1
maintainers devans
categories graphics gnome
@@ -46,10 +47,23 @@
port:libexif \
port:libvisio-0.1 \
port:libwpg-0.3 \
- port:gtkspell2 \
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
+
post-patch {
xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
reinplace "s|\"python-interpreter\", \"python\"|\"python-interpreter\", \"python2.7\"|g" ${worksrcpath}/src/extension/implementation/script.cpp
@@ -68,7 +82,6 @@
port:gtkmm
depends_lib-append \
- port:gnome-themes-standard \
port:gtkspell3 \
port:gtk3 \
port:gtkmm3 \