Eblook version ${ver_main}-media-${ver_media} - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    version ${ver_main}-media-${ver_media}

      View the most recent changes for the eblook port at: eblook.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for eblook.
      The raw portfile for eblook ${ver_main}-media-${ver_media} is located here:
      http://eblook.darwinports.com/dports/textproc/eblook/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/eblook


      The eblook Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: eblook
      set ver_main 1.6.1
      set ver_media 20080116
      Version: ${ver_main}-media-${ver_media}
      Category: textproc japanese
      Maintainers: nomaintainer
      Description: Interactive EB interface command for seraching words in CD-ROM books.
      Long Description: Eblook supports to access CD-ROM books of EB, EBG, EBXA and EPWING formats which are popular in Japan. Including the media patch.
      Platform: darwin
      Homepage: http://green.ribbon.to/~ikazuhiro/lookup/lookup.html#EBLOOK
      distfiles ${name}-${ver_main}${extract.suffix}:main ${name}-${ver_main}+media-${ver_media}.patch.gz:media
      Master Sites: http://openlab.jp/edict/eblook/dist/:main http://green.ribbon.to/~ikazuhiro/lookup/files/:media
      Patch Files: patch-configure.diff
      Checksums: ${name}-${ver_main}${extract.suffix} rmd160 32c37963d2627642a5799dd2a4222c511143b8d6 ${name}-${ver_main}+media-${ver_media}.patch.gz rmd160 bd4d0c42b2a62bd10dd34c03ee4a5be892b691d2

      depends_lib port:eb port:gettext port:libiconv port:ncurses port:readline port:zlib

      extract.only ${name}-${ver_main}${extract.suffix}
      worksrcdir ${name}-${ver_main}
      post-extract {
      system "cd ${worksrcpath} && gzip -dc ${distpath}/${name}-${ver_main}+media-${ver_media}.patch.gz | patch -p0"
      }

      configure.args --infodir=${prefix}/share/info --with-readline --with-pager

      #use_parallel_build yes

      #test.run yes
      #test.target check

      post-destroot {
      xinstall -d -m 755 ${destroot}/${prefix}/share/doc/${name}
      set docs {AUTHORS COPYING ChangeLog INSTALL NEWS README VERSION}
      foreach f ${docs} {
      xinstall -m 644 ${worksrcpath}/${f} ${destroot}/${prefix}/share/doc/${name}
      }

      delete ${destroot}${prefix}/share/info/dir
      }

      universal_variant no

      livecheck.type regex
      livecheck.version ${ver_main}+media-${ver_media}
      livecheck.regex "${name}-(\[0-9.a-z\+\-\]+).patch.gz"

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.