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

mojca at macports.org mojca at macports.org
Wed Jan 15 12:32:07 PST 2014


Revision: 115974
          https://trac.macports.org/changeset/115974
Author:   mojca at macports.org
Date:     2014-01-15 12:32:07 -0800 (Wed, 15 Jan 2014)
Log Message:
-----------
wxWidgets portgroup: add (temporary) support for wxPerl; to be removed

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-01-15 20:24:20 UTC (rev 115973)
+++ trunk/dports/_resources/port1.0/group/wxWidgets-1.0.tcl	2014-01-15 20:32:07 UTC (rev 115974)
@@ -109,6 +109,17 @@
                 return -code error "incompatible Mac OS X version"
             }
         }
+    # support for wxPerl is just temporary until the upstream adapts wxPerl to be compatible with wxWidgets 3.0
+    } elseif {${args} eq "wxPerl-3.0"} {
+        wxWidgets.name      "wxPerl"
+        wxWidgets.version   "2.9"
+        wxWidgets.port      "wxPerl-3.0"
+        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/20140115/f65ff2eb/attachment.html>


More information about the macports-changes mailing list