Download and Install rb-mecab on Mac OS X
Thursday the 24th of July, 2008

    rb-mecab  most recent diff


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



      # $Id: Portfile 26098 2007-06-12 12:42:51Z takanori macports.org $

      PortSystem 1.0
      PortGroup ruby 1.0

      ruby.setup MeCab 0.96 extconf.rb {}

      Platform: darwin
      Maintainers: rsky0711 gmail.com
      Description: a Ruby module for MeCab
      Long Description: ${description}

      Homepage: http://mecab.sourceforge.net/
      master_sites sourceforge:mecab
      distname mecab-ruby-${version}
      checksums md5 400479138d0cc1a7a4bf2af3e1bf581a sha1 2831121ed5121802c3bc0cbeedee7a04563e3bfd rmd160 bb0063b20162c0a6d02b529f9e451d8fe0e7b518

      Category:-append textproc japanese
      depends_lib-append port:mecab

      post-extract {
      reinplace s|\#!/usr/bin/ruby|\#!${ruby.bin}|g ${worksrcpath}/test.rb
      }

      post-destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples
      xinstall -m 644 ${worksrcpath}/test.rb ${destroot}${prefix}/share/doc/${name}/examples
      }

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

     Where to find more information:

    Darwin Ports



    image test