Revision
110304
Author
michaelld@macports.org
Date
2013-08-29 13:07:20 -0700 (Thu, 29 Aug 2013)

Log Message

wxWidgets-3.0: create and keep ${prefix}/share/bakefile/presets for select; rev-bump to get changes in place.

Modified Paths

Diff

Modified: trunk/dports/graphics/wxWidgets-3.0/Portfile (110303 => 110304)


--- trunk/dports/graphics/wxWidgets-3.0/Portfile	2013-08-29 19:48:58 UTC (rev 110303)
+++ trunk/dports/graphics/wxWidgets-3.0/Portfile	2013-08-29 20:07:20 UTC (rev 110304)
@@ -10,6 +10,7 @@
 subport             wxPython-3.0 {}
 subport             wxgtk-3.0 {}
 version             2.9.5
+revision            1
 
 set installname     wxWidgets
 set wxtype          osx_cocoa
@@ -19,6 +20,7 @@
 } elseif {$subport == "wxPython-3.0"} {
     wxWidgets.use   wxPython-3.0
     version         2.9.4
+    revision            1
     set wxpythonsubset wxPython-2.9.4.0-MacPorts-subset
 } elseif {$subport == "wxgtk-3.0"} {
     # with satisfactory Cocoa support there is no real need for GTK-based wxWidgets any more
@@ -182,8 +184,11 @@
 post-destroot {
     set confscript ${wxWidgets.prefix}/lib/wx/config/${wxtype}-unicode-${branch}
     ln -sf ${confscript} ${destroot}${wxWidgets.prefix}/bin/wx-config
+    xinstall -m 755 -d ${destroot}${prefix}/share/bakefile/presets
 }
 
+destroot.keepdirs ${destroot}${prefix}/share/bakefile/presets
+
 variant universal {
     set archs [join ${configure.universal_archs} ,]
     # --disable-precomp-headers is automatically selected with cocoa, but not with gtk