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

devans at macports.org devans at macports.org
Thu Jun 6 20:43:07 PDT 2013


Revision: 106744
          https://trac.macports.org/changeset/106744
Author:   devans at macports.org
Date:     2013-06-06 20:43:07 -0700 (Thu, 06 Jun 2013)
Log Message:
-----------
inkscape: add +x11 +quartz variants, builds universal.

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

Modified: trunk/dports/graphics/inkscape/Portfile
===================================================================
--- trunk/dports/graphics/inkscape/Portfile	2013-06-07 03:24:55 UTC (rev 106743)
+++ trunk/dports/graphics/inkscape/Portfile	2013-06-07 03:43:07 UTC (rev 106744)
@@ -1,12 +1,12 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem 1.0
+PortSystem      1.0
 
 name            inkscape
 conflicts       inkscape-devel
 version         0.48.4
-revision        9
+revision        10
 license         GPL-2 LGPL-2.1
 maintainers     devans
 categories      graphics gnome
@@ -24,6 +24,7 @@
                 grouping, and more.
 
 use_bzip2       yes
+
 master_sites    sourceforge:project/inkscape/inkscape/${version}
 
 checksums       rmd160  b089ced7694a9803fac8588d93e7e6239c71d3e8 \
@@ -45,14 +46,6 @@
                 port:libwpg \
                 port:gtkspell2
 
-#
-# external dependencies for included Python extensions
-#
-
-# libwpg libwpd are not universal
-
-universal_variant no
-
 variant python26 conflicts python27 description {Configure to use Python version 2.6} {
     depends_lib-append \
         port:py26-lxml \
@@ -104,6 +97,19 @@
     default_variants +python27
 }
 
+#
+# the following dummy variants are used
+# to identify this port's binary dependencies
+# based on the variant of gtkmm used for the build
+#
+
+variant x11 conflicts quartz {}
+variant quartz conflicts x11 {}
+
+if {![variant_isset quartz]} {
+    default_variants +x11
+}
+
 post-activate {
         system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130606/b27345a5/attachment.html>


More information about the macports-changes mailing list