[109581] users/mojca/wxports/_resources/port1.0/group/wxwidgets-1.0.tcl

mojca at macports.org mojca at macports.org
Sat Aug 17 14:09:37 PDT 2013


Revision: 109581
          https://trac.macports.org/changeset/109581
Author:   mojca at macports.org
Date:     2013-08-17 14:09:36 -0700 (Sat, 17 Aug 2013)
Log Message:
-----------
mojca/wxwidgets: wxWidgets.trueversion -> (just) version

Modified Paths:
--------------
    users/mojca/wxports/_resources/port1.0/group/wxwidgets-1.0.tcl

Modified: users/mojca/wxports/_resources/port1.0/group/wxwidgets-1.0.tcl
===================================================================
--- users/mojca/wxports/_resources/port1.0/group/wxwidgets-1.0.tcl	2013-08-17 20:56:06 UTC (rev 109580)
+++ users/mojca/wxports/_resources/port1.0/group/wxwidgets-1.0.tcl	2013-08-17 21:09:36 UTC (rev 109581)
@@ -3,7 +3,7 @@
 
 options     wxWidgets.name
 options     wxWidgets.port
-options     wxWidgets.trueversion
+options     wxWidgets.version
 options     wxWidgets.prefix
 
 options     wxWidgets.wxdir
@@ -16,7 +16,7 @@
 # set to empty
 wxWidgets.name
 wxWidgets.port
-wxWidgets.trueversion
+wxWidgets.version
 wxWidgets.prefix
 wxWidgets.wxdir
 wxWidgets.wxconfig
@@ -52,20 +52,20 @@
 # parameters: "wxWidgets-2.8" "wxGTK-2.8" "wxWidgets-3.0" "wxPython-3.0"
 proc wxWidgets._set {option action args} {
     global prefix frameworks_dir os.major
-    global wxWidgets.name wxWidgets.trueversion wxWidgets.prefix wxWidgets.wxdir
+    global wxWidgets.name wxWidgets.version wxWidgets.prefix wxWidgets.wxdir
     if {"set" != ${action}} {
         return
     }
 
     if {${args} == "wxWidgets-2.8"} {
-        wxWidgets.name          "wxWidgets"
-        wxWidgets.trueversion   "2.8"
-        wxWidgets.port          "wxWidgets-2.8"
+        wxWidgets.name      "wxWidgets"
+        wxWidgets.version   "2.8"
+        wxWidgets.port      "wxWidgets-2.8"
 
         # wxWidgets is not universal and is 32-bit only
-        universal_variant       no
-        supported_archs         i386 ppc
-        compiler.blacklist      clang
+        universal_variant   no
+        supported_archs     i386 ppc
+        compiler.blacklist  clang
 
         pre-fetch {
             # 10.8 (or later) -or- 10.7 with Xcode 4.4 (or later)
@@ -86,13 +86,13 @@
             }
         }
     } elseif {${args} == "wxGTK-2.8"} {
-        wxWidgets.name          "wxGTK"
-        wxWidgets.trueversion   "2.8"
-        wxWidgets.port          "wxgtk-2.8"
+        wxWidgets.name      "wxGTK"
+        wxWidgets.version   "2.8"
+        wxWidgets.port      "wxgtk-2.8"
     } elseif {${args} == "wxWidgets-3.0"} {
-        wxWidgets.name          "wxWidgets"
-        wxWidgets.trueversion   "2.9"
-        wxWidgets.port          "wxWidgets-3.0"
+        wxWidgets.name      "wxWidgets"
+        wxWidgets.version   "2.9"
+        wxWidgets.port      "wxWidgets-3.0"
         if {${os.major} < 9} {
             pre-fetch {
                 ui_error "${wxWidgets.port} requires Mac OS X 10.5 or later."
@@ -100,9 +100,9 @@
             }
         }
     } elseif {${args} == "wxPython-3.0"} {
-        wxWidgets.name          "wxPython"
-        wxWidgets.trueversion   "2.9"
-        wxWidgets.port          "wxPython-3.0"
+        wxWidgets.name      "wxPython"
+        wxWidgets.version   "2.9"
+        wxWidgets.port      "wxPython-3.0"
         if {${os.major} < 9} {
             pre-fetch {
                 ui_error "${wxWidgets.port} requires Mac OS X 10.5 or later."
@@ -114,7 +114,7 @@
         ui_error "invalid parameter for wxWidgets.use; use one of: wxWidgets-2.8/wxGTK-2.8/wxWidgets-3.0/wxPython-3.0"
         return -code return "invalid parameter for wxWidgets.use"
     }
-    wxWidgets.prefix    ${frameworks_dir}/wxWidgets.framework/Versions/${wxWidgets.name}/${wxWidgets.trueversion}
+    wxWidgets.prefix    ${frameworks_dir}/wxWidgets.framework/Versions/${wxWidgets.name}/${wxWidgets.version}
 
     wxWidgets.wxdir     ${wxWidgets.prefix}/bin
     wxWidgets.wxconfig  ${wxWidgets.wxdir}/wx-config
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130817/a2edf745/attachment-0001.html>


More information about the macports-changes mailing list