[69228] trunk/dports/aqua/qtiplot/Portfile

michaelld at macports.org michaelld at macports.org
Mon Jun 28 22:31:26 PDT 2010


Revision: 69228
          http://trac.macports.org/changeset/69228
Author:   michaelld at macports.org
Date:     2010-06-28 22:31:26 -0700 (Mon, 28 Jun 2010)
Log Message:
-----------
Corrected depends for qt4-mac; added variant for python26.

Modified Paths:
--------------
    trunk/dports/aqua/qtiplot/Portfile

Modified: trunk/dports/aqua/qtiplot/Portfile
===================================================================
--- trunk/dports/aqua/qtiplot/Portfile	2010-06-29 05:30:02 UTC (rev 69227)
+++ trunk/dports/aqua/qtiplot/Portfile	2010-06-29 05:31:26 UTC (rev 69228)
@@ -5,7 +5,7 @@
 
 name                qtiplot
 version             0.9.7.9
-revision            1
+revision            2
 categories          aqua science
 maintainers         jonas openmaintainer
 
@@ -22,7 +22,7 @@
 master_sites        http://download.berlios.de/qtiplot/
 use_bzip2           yes
 
-depends_lib         path:bin/qmake-mac:qt4-mac \
+depends_lib         port:qt4-mac \
                     port:muparser \
                     port:boost \
                     port:gsl \
@@ -57,7 +57,7 @@
     # target specific configuration
     puts $confFD "contains( TARGET, qtiplot ) \{"
     puts $confFD "SCRIPTING_LANGS += muParser"; # currently you can't build without
-    if {[variant_isset python25]} {
+    if {[variant_isset python25] || [variant_isset python26]} {
         puts $confFD "SCRIPTING_LANGS += Python"
     }
     puts $confFD "DEFINES += SCRIPTING_CONSOLE"
@@ -103,9 +103,14 @@
         ${plugin_dir}
 }
 
-variant python25 description "add support for python scripting" {
+variant python25 conflicts python26 description "add support for python26 scripting" {
     depends_lib-append port:python25 \
                        port:py25-sip \
                        port:py25-pyqt4
 }
 
+variant python26 conflicts python25 description "add support for python26 scripting" {
+    depends_lib-append port:python26 \
+                       port:py26-sip \
+                       port:py26-pyqt4
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100628/f08cca20/attachment-0001.html>


More information about the macports-changes mailing list