[148331] trunk/dports/graphics/inkscape/Portfile

devans at macports.org devans at macports.org
Wed May 4 10:01:15 PDT 2016


Revision: 148331
          https://trac.macports.org/changeset/148331
Author:   devans at macports.org
Date:     2016-05-04 10:01:15 -0700 (Wed, 04 May 2016)
Log Message:
-----------
inkscape: update spell checking dependencies, require enchant +aspell -applespell, require gnome-themes-standard for both gtk2 and gtk3 builds, increment revision (#51287).

Modified Paths:
--------------
    trunk/dports/graphics/inkscape/Portfile

Modified: trunk/dports/graphics/inkscape/Portfile
===================================================================
--- 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 \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160504/9af21b0b/attachment.html>


More information about the macports-changes mailing list