[120493] trunk/dports/_resources/port1.0/group/wxWidgets-1.0.tcl

mojca at macports.org mojca at macports.org
Fri May 30 05:20:27 PDT 2014


Revision: 120493
          https://trac.macports.org/changeset/120493
Author:   mojca at macports.org
Date:     2014-05-30 05:20:27 -0700 (Fri, 30 May 2014)
Log Message:
-----------
wxWidgets portgroup: add preliminary support for the future wxWidgets 3.1/3.2

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/wxWidgets-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/wxWidgets-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/wxWidgets-1.0.tcl	2014-05-30 12:09:10 UTC (rev 120492)
+++ trunk/dports/_resources/port1.0/group/wxWidgets-1.0.tcl	2014-05-30 12:20:27 UTC (rev 120493)
@@ -114,6 +114,17 @@
         # throw an error
         ui_error "You shouldn't be using 'wxWidgets.use wxPerl-3.0' any longer. Switch to wxWidgets-3.0."
         return -code error "invalid parameter for wxWidgets.use"
+    # preliminary support for wxWidgets 3.1/3.2
+    } elseif {${args} eq "wxWidgets-3.2"} {
+        wxWidgets.name      "wxWidgets"
+        wxWidgets.version   "3.1"
+        wxWidgets.port      "wxWidgets-3.2-devel"
+        if {${os.major} < 9} {
+            pre-fetch {
+                ui_error "${wxWidgets.port} requires Mac OS X 10.5 or later."
+                return -code error "incompatible Mac OS X version"
+            }
+        }
     } else {
         # throw an error
         ui_error "invalid parameter for wxWidgets.use; use one of: wxWidgets-2.8/wxGTK-2.8/wxWidgets-3.0/wxGTK-3.0/wxPython-3.0"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140530/ac6cfcee/attachment.html>


More information about the macports-changes mailing list