[98966] trunk/dports/graphics/inkscape-textext/Portfile

macsforever2000 at macports.org macsforever2000 at macports.org
Mon Oct 22 11:56:20 PDT 2012


Revision: 98966
          http://trac.macports.org//changeset/98966
Author:   macsforever2000 at macports.org
Date:     2012-10-22 11:56:19 -0700 (Mon, 22 Oct 2012)
Log Message:
-----------
inkscape-textext: Fix dependencies. (#35791)

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

Modified: trunk/dports/graphics/inkscape-textext/Portfile
===================================================================
--- trunk/dports/graphics/inkscape-textext/Portfile	2012-10-22 17:44:48 UTC (rev 98965)
+++ trunk/dports/graphics/inkscape-textext/Portfile	2012-10-22 18:56:19 UTC (rev 98966)
@@ -5,6 +5,7 @@
 
 name                    inkscape-textext
 version                 0.4.4
+revision                1
 categories              graphics tex
 maintainers             gmail.com:jjstickel
 license                 BSD
@@ -29,6 +30,27 @@
                         port:pdf2svg \
                         bin:pdflatex:texlive-latex
 
+variant python26 conflicts python27 description {Configure to use Python version 2.6} {}
+variant python27 conflicts python26 description {Configure to use Python version 2.7} {}
+
+if { ![variant_isset python26] } {
+	default_variants      +python27
+}
+if {[variant_isset python26]} {
+    set python.version 26
+} elseif {[variant_isset python27]} {
+    set python.version 27
+}
+
+variant tkinter description {use py-tkinter backend} {
+    depends_run-append  port:py${python.version}-tkinter
+}
+variant pygtk description {use py-gtk backend} {
+    depends_run-append  port:py${python.version}-gtk
+}
+
+default_variants-append    +pygtk
+
 build {}
 
 destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121022/57acd573/attachment-0001.html>


More information about the macports-changes mailing list