W3m version 0.5.2 - How to Download and Install on Mac OS X
Friday the 3rd of September, 2010

    version 0.5.2

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


      # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
      The w3m Portfile 45517 2009-01-17 00:59:36Z devans macports.org $

      PortSystem 1.0

      Name: w3m
      Version: 0.5.2
      Revision: 1
      Category: www
      Maintainers: nomaintainer
      Description: pager/text based browser
      Long Description: w3m is a pager/text-based WWW browser. It is a similar application to Lynx, but it has several features Lynx doesn't have, like tables, frames and inline image rendering. Its 8-bit support is second to none.

      Platform: darwin
      Homepage: http://w3m.sourceforge.net/
      Master Sites: sourceforge
      Checksums: md5 ba06992d3207666ed1bf2dcf7c72bf58
      depends_lib port:boehmgc port:zlib port:openssl port:ncurses port:gettext port:libiconv

      Patch Files: gc_init.patch

      configure.args --with-gc=${prefix} --with-ssl=${prefix} --enable-keymap=w3m --with-termlib=ncurses --with-libiconv-prefix=${prefix} --with-libintl-prefix=${prefix} --disable-image --mandir=${prefix}/share/man

      post-destroot {
      xinstall -m 755 -d ${destroot}${prefix}/etc/w3m
      xinstall -m 644 -W ${filespath} mailcap-dist ${destroot}${prefix}/etc/w3m
      }

      post-activate {
      if {![file exists ${prefix}/etc/w3m/mailcap]} {
      copy ${prefix}/etc/w3m/mailcap-dist ${prefix}/etc/w3m/mailcap
      } else {
      ui_msg "Be sure to add the contents of ${prefix}/etc/w3m/mailcap-dist"
      ui_msg "to ${prefix}/etc/w3m/mailcap if not already present, for full"
      ui_msg "functionality"
      }
      }

      Variant: inline_image_gtk2 description {View inline images with GTK2} {
      configure.args-delete --disable-image
      configure.args-append --enable-image=gtk2
      depends_lib-append port:gtk2
      }

      Variant: inline_image_imlib2 description {View inline images with imlib2} {
      configure.args-delete --disable-image
      configure.args-append --enable-image=imlib2
      depends_lib-append port:imlib2
      }

      livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"

    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/w3m
      % sudo port install w3m
      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 w3m
      ---> Verifying checksum for w3m
      ---> Extracting w3m
      ---> Configuring w3m
      ---> Building w3m with target all
      ---> Staging w3m into destroot
      ---> Installing w3m
    - 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 w3m with these commands:
      %  man w3m
      % apropos w3m
      % which w3m
      % locate w3m

     Where to find more information:

    Darwin Ports



    Lightbox this page.