Rb-rjab-connection - How to Download and Install on Mac OS X
Wednesday the 17th of March, 2010

    rb-rjab-connection  most recent diff


    version

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


      The rb-rjab-connection Portfile 50984 2009-05-14 21:08:43Z and.damore macports.org $
      PortSystem 1.0
      PortGroup ruby 1.0

      ruby.setup rjab-connection 0.1.1 basic_install.rb {README} sourceforge:rjab
      Revision: 3
      Maintainers: comcast.net:jdputsch
      Description: Library allowing Ruby apps to talk to a Jabber IM system.
      Long Description: rjab-connection is a pure ruby port of D.J. Adams' Net::Jabber::Connection perl module using REXML as the stream parser. This release supports Zero-k, Digest, and Plaintext authentication, so it is safe to use across untrusted networks. The API is very low-level, but easy enough to understand. Account creation is not supported _yet_.
      Checksums: md5 8a13d7fa0fb12c06d6b6bf13e718a220
      Platform: darwin

      worksrcdir ${ruby.module}

      depends_lib-append port:rb-rexml

      Patch Files: patch-conn_connection.rb patch-node.rb patch-ns.rb patch-rjab_connection.rb patch-xmllistener.rb patch-test-tc_Connection.rb patch-test-tc_Node.rb patch-test-tc_all.rb

      test.run yes
      test.dir ${worksrcpath}/tests
      test.cmd ${ruby.bin} -I../lib tc_all.rb
      test.target

      post-destroot { system "rm -rf ${destroot}${ruby.lib}/rjab/rexml" }


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

     Where to find more information:

    Darwin Ports



    Lightbox this page.