Download and Install rb-dbd-pg version 0.0.23 on Mac OS X
Thursday the 3rd of July, 2008

    rb-dbd-pg  most recent diff


      View the most recent changes for the rb-dbd-pg port at: rb-dbd-pg.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for rb-dbd-pg.
      The raw portfile for rb-dbd-pg 0.0.23 is located here:
      http://rb-dbd-pg.darwinports.com/dports/ruby/rb-dbd-pg/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-dbd-pg
      Google
      Web Darwinports.com



      # $Id: Portfile 28620 2007-09-05 09:07:23Z ryandesign macports.org $
      PortSystem 1.0
      #PortGroup ruby 1.0

      Name: rb-dbd-pg
      Version: 0.0.23
      #ruby.setup {dbd-pg ruby-dbi-all} 0.0.23 setup.rb # {README doc/DBD_SPEC doc/html/DBD_SPEC.html} # rubyforge:557:ruby-dbi
      revision 2
      Maintainers: nomaintainer
      Description: Ruby DBI driver for PostgreSQL. OBSOLETE: please use dbd_pg variant of rb-dbi
      Long Description: ${description}
      Category:-append databases
      checksums md5 7a713494d84bd4f5b877496970bcf13c
      Platform: darwin

      #worksrcdir ${ruby.filename}

      #depends_lib-append port:rb-dbi # port:rb-postgres

      #configure.args-append --with=dbd_pg
      use_configure no

      fetch {}
      checksum {}
      extract {}
      build {}
      destroot {}
      install {
      catch "exec port echo installed" output
      set rb_dbi_index [lsearch ${output} rb-dbi]
      set rb_dbi_version_compound [expr ${rb_dbi_index} + 1]
      set is_installed [lsearch $output ${name}]
      ui_msg "######################################################################"
      ui_msg "# The ${name} port has been made obsolete by the dbd_pg variant of \n# the rb-dbi port. This revision of ${name} will uninstall any current \n# installation of ${name} and advise you of what you need to do to replace \n# its functionality."
      ui_msg "######################################################################"
      if {${is_installed} >= 0} {
      ui_msg "# As you currently have ${name} installed, MacPorts will now uninstall it."
      system "port uninstall ${name}"
      ui_msg "${name} is now uninstalled."
      ui_msg "######################################################################"
      }
      if {${rb_dbi_index} >= 0} {
      if {[string match *+dbd_pg* [lindex $output $rb_dbi_version_compound]]} {
      ui_msg "# As rb-dbi is already installed with the dbd_pg variant, \n# you do not need to do anything else."
      ui_msg "######################################################################"
      } else {
      ui_msg "# You will now need to manually uninstall rb-dbi and reinstall it \n# with the +dbd_pg variant added."
      ui_msg "######################################################################"
      }
      } else {
      ui_msg "# You will now need to manually install rb-dbi with the dbd_pg \n# variant added."
      ui_msg "######################################################################"
      }
      }
      activate {}

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

     Where to find more information:

    Darwin Ports



    image test