chmsee version 1.0.0 for Mac OS X 10.5 Leopard
Monday the 12th of May, 2008

    chmsee  most recent diff


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



      # $Id: Portfile 34007 2008-02-10 12:37:16Z gui_dos macports.org $

      PortSystem 1.0

      Name: chmsee
      Version: 1.0.0
      revision 1
      Description: Viewer for CHM files.
      Long Description: ChmSee is an HTML Help viewer for Unix/Linux. It is based on CHMLIB and use Gtk2+ as frontend toolkit. Because of using gecko as HTML rendering engine, ChmSee can support rich features of modern HTML page, such as CSS and JavaScript.
      Maintainers: nomaintainer
      Category: x11
      Platform: darwin
      Homepage: http://chmsee.gro.clinux.org/
      master_sites http://gro.clinux.org/frs/download.php/2040/
      checksums md5 65fddfe20f4a1537e539998201a0ccfd
      depends_build port:intltool
      depends_lib port:gtk2 port:libglade2 port:chmlib port:openssl port:firefox-x11
      configure.args --with-openssl=${prefix}
      configure.cflags-append -I${prefix}/include/openssl
      configure.ldflags-append -lssl -lcrypto

      post-extract {
      reinplace "s|defined(__linux__)|defined(__APPLE__)|" ${worksrcpath}/src/chmfile.c

      #Changing fixed fonts doesn't work, therefore always use the original fonts
      reinplace "s|use_document_fonts\", 0|use_document_fonts\", 1|" ${worksrcpath}/src/default-prefs-common.js
      }

      post-destroot {
      # In order to call gecko, chmsee must be installed in the same directory as FireFox.
      # Move it and put a symlink in the bin directory
      if { [catch {set ff [registry_active "firefox-x11"]} result]} {
      ui_err "FireFox is not active: $result"
      } else {
      set ffver [lindex $ff 0 1]
      xinstall -d ${destroot}${prefix}/lib/firefox-${ffver}
      move ${destroot}${prefix}/bin/chmsee ${destroot}${prefix}/lib/firefox-${ffver}
      ln -s ${prefix}/lib/firefox-${ffver}/chmsee ${destroot}${prefix}/bin
      }
      }

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

     Where to find more information:

    Darwin Ports



    image test