Py25-mecab version 0.96 - How to Download and Install on Mac OS X
Sunday the 21st of March, 2010

    py25-mecab  most recent diff


    version 0.96

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


      The py25-mecab Portfile 50984 2009-05-14 21:08:43Z and.damore macports.org $

      PortSystem 1.0
      PortGroup python25 1.0
      Name: py25-mecab
      Version: 0.96

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

      Homepage: http://mecab.sourceforge.net/
      Master Sites: sourceforge:mecab
      distname mecab-python-${version}
      Checksums: md5 5faa154aa8a95145d6a58befa42e6c40 sha1 53089465107a3b45b0b31a8bd69f654ea561a200 rmd160 1f62a74d1673867a611de0ce9181ef011df67e46

      Patch Files: patch-test.py
      patch.pre_args -p0

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

      post-patch {
      reinplace s|%PREFIX%/bin/python|${python.bin}|g ${worksrcpath}/test.py
      }

      post-destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples
      xinstall -m 644 ${worksrcpath}/test.py ${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/py25-mecab
      % sudo port install py25-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 py25-mecab
      ---> Verifying checksum for py25-mecab
      ---> Extracting py25-mecab
      ---> Configuring py25-mecab
      ---> Building py25-mecab with target all
      ---> Staging py25-mecab into destroot
      ---> Installing py25-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 py25-mecab with these commands:
      %  man py25-mecab
      % apropos py25-mecab
      % which py25-mecab
      % locate py25-mecab

     Where to find more information:

    Darwin Ports



    Lightbox this page.