Download and Install wxmsw version 2.8.4 on Mac OS X
Saturday the 22nd of November, 2008

    version 2.8.4

      View the most recent changes for the wxmsw port at: wxmsw.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for wxmsw.
      The raw portfile for wxmsw 2.8.4 is located here:
      http://wxmsw.darwinports.com/dports/cross/wxmsw/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/wxmsw
      Google
      Web Darwinports.com



      # $Id: Portfile 32256 2007-12-23 09:18:47Z ryandesign macports.org $

      PortSystem 1.0
      Name: wxmsw
      Version: 2.8.4
      Category: cross
      Maintainers: nomaintainer
      Description: The wxWidgets GUI toolkit with Win32 bindings
      Long Description: A C++ package for platform independent software development

      Homepage: http://wxwidgets.org/
      Platform: darwin
      master_sites sourceforge:wxwindows
      distname wxMSW-${version}
      checksums md5 72a614037769a7d8ad7c5eb9ed9d887c
      use_zip yes

      # Parameters for this port.
      set crossgcc-target i386-mingw32

      depends_lib port:i386-mingw32-gcc port:i386-mingw32-w32api port:dos2unix

      configure.ldflags "-L${prefix}/${crossgcc-target}/lib"
      configure.cppflags "-I${prefix}/${crossgcc-target}/include"
      configure.args --host=i386-mingw32 --target=mingw32 --bindir=${prefix}/${crossgcc-target}/bin --libdir=${prefix}/${crossgcc-target}/lib --includedir=${prefix}/${crossgcc-target}/include --with-msw --with-libpng --with-libjpeg --with-libtiff --with-zlib

      post-extract {
      system "dos2unix ${worksrcpath}/configure"
      system "chmod +x ${worksrcpath}/configure"
      system "dos2unix ${worksrcpath}/config.sub"
      system "dos2unix ${worksrcpath}/config.guess"
      system "dos2unix ${worksrcpath}/src/expat/configure"
      system "chmod +x ${worksrcpath}/src/expat/configure"
      system "dos2unix ${worksrcpath}/src/expat/expat_config.h.in"
      system "dos2unix ${worksrcpath}/src/expat/conftools/config.sub"
      system "dos2unix ${worksrcpath}/src/expat/conftools/config.guess"
      }

      post-destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
      eval xinstall -m 644 [glob ${worksrcpath}/*.txt] ${destroot}${prefix}/share/doc/${name}
      }

      Variant: opengl {
      configure.args-append --with-opengl
      }

      post-destroot {
      system "dos2unix ${destroot}${prefix}/${crossgcc-target}/lib/wx/config/*"
      system "chmod +x ${destroot}${prefix}/${crossgcc-target}/lib/wx/config/*"

      xinstall -m 755 -d ${destroot}${prefix}/bin
      file rename ${destroot}${prefix}/${crossgcc-target}/bin/wx-config ${destroot}${prefix}/bin/wx-config
      }


    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/wxmsw
      % sudo port install wxmsw
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching wxmsw
      ---> Verifying checksum for wxmsw
      ---> Extracting wxmsw
      ---> Configuring wxmsw
      ---> Building wxmsw with target all
      ---> Staging wxmsw into destroot
      ---> Installing wxmsw
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using wxmsw with these commands:
      %  man wxmsw
      % apropos wxmsw
      % which wxmsw
      % locate wxmsw

     Where to find more information:

    Darwin Ports



    Lightbox this page.