Download and Install rb-aspectr on Mac OS X
Thursday the 28th of August, 2008

    rb-aspectr  most recent diff


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



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

      ruby.setup aspectr 0.3.5 basic_install.rb {README aspects examples} sourceforge
      revision 1
      Maintainers: nomaintainer
      Description: Simple aspect-oriented programming in Ruby
      Long Description: Aspect-oriented programming concepts to Ruby. Essentially it allows you to wrap code around existing methods in your classes. This can be a good thing (and even affect how you design your code) since it separates different concerns into different parts of the code. It is somewhat similar to Aspect
      Category:-append devel
      distname ${ruby.module}-[strsed ${version} {g/[.]/-/}]
      checksums md5 c640a1a82802ddb107c3ee1245a22705
      Platform: darwin

      post-patch {
      reinplace "s|installdir = \"|&${ruby.version}|" ${worksrcpath}/install.rb
      }


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

     Where to find more information:

    Darwin Ports



    image test