Rb-hyperestraier version 1.4.10 - How to Download and Install on Mac OS X
Monday the 23rd of November, 2009

    rb-hyperestraier  most recent diff


    version 1.4.10

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


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

      PortSystem 1.0
      PortGroup ruby 1.0
      Name: rb-hyperestraier
      Version: 1.4.10
      Maintainers: gmail.com:rsky0711
      Platform: darwin
      Description: Ruby binding of Hyper Estraier
      Long Description: ${description}

      Homepage: http://hyperestraier.sourceforge.net/
      Master Sites: http://hyperestraier.sourceforge.net/
      dist_subdir hyperestraier
      distname hyperestraier-${version}
      worksrcdir hyperestraier-${version}/rubynative
      Checksums: md5 cf4ca3dea77d161517388050654b52a6 sha1 d9e200cf237e46315df5a729bc00920e0debfc0d rmd160 56022db14947c00e5f8c01834173ae3bc5daeab8

      Category: ruby textproc
      depends_lib port:ruby port:hyperestraier

      post-extract {
      # configure
      reinplace "s|\$HOME|${prefix}|g" ${worksrcpath}/configure
      reinplace "s|\"sitelibdir\"|\"sitearchdir\"|g" ${worksrcpath}/configure
      # Makefile.in
      reinplace "s|\$(HOME)|${prefix}|g" ${worksrcpath}/Makefile.in
      reinplace "s|MYRBLIBS = estraier\.so|MYRBLIBS = estraier.bundle|g" ${worksrcpath}/Makefile.in
      # estcmd.rb
      reinplace "s|/usr/bin/ruby|${ruby.bin}|g" ${worksrcpath}/estcmd.rb

      if { [variant_isset p2p] } {
      # configure
      reinplace "s|\$HOME|${prefix}|g" ${workpath}/${distname}/rubypure/configure
      # Makefile.in
      reinplace "s| RUBY |${ruby.bin}|g" ${workpath}/${distname}/rubypure/Makefile.in
      # estcall.rb
      reinplace "s|/usr/bin/ruby|${ruby.bin}|g" ${workpath}/${distname}/rubypure/estcall.rb
      }
      }

      post-destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples
      xinstall -m 644 ${worksrcpath}/overview ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 -W ${worksrcpath}/example example001.rb example002.rb ${destroot}${prefix}/share/doc/${name}/examples

      if { [variant_isset p2p] } {
      system "cd ${workpath}/${distname}/rubypure; ./configure --prefix=${prefix} && ${build.cmd} && ${destroot.cmd} install ${destroot.destdir}"

      xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/p2p/examples
      xinstall -m 644 ${workpath}/${distname}/rubypure/overview ${destroot}${prefix}/share/doc/${name}/p2p
      xinstall -m 644 -W ${workpath}/${distname}/rubypure/example example001.rb example002.rb ${destroot}${prefix}/share/doc/${name}/p2p/examples
      }
      }

      Variant: p2p {
      categories-append net
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.