Download and Install readline version ${milestone}.${patchlevel} on Mac OS X
Wednesday the 27th of August, 2008

    readline  most recent diff


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



      # $Id: Portfile 36863 2008-05-17 00:37:21Z nox macports.org $

      PortSystem 1.0

      Name: readline
      set milestone 5.2
      set patchlevel 012
      Version: ${milestone}.${patchlevel}
      revision 1
      distname ${name}-${milestone}
      Category: devel
      Platform: darwin freebsd
      Maintainers: nomaintainer
      Description: Library that provides command line editing

      Long Description: The GNU Readline library provides a set of functions for use by applications that allow users to edit command lines as they are typed in. Both Emacs and vi editing modes are available. The Readline library includes additional functions to maintain a list of previously-entered command lines, to recall and perhaps reedit those lines, and perform csh-like history expansion on previous commands.

      Homepage: http://cnswww.cns.cwru.edu/~chet/readline/rltop.html
      master_sites gnu ftp://ftp.cwru.edu/pub/bash/

      patch_sites gnu:${name}/${distname}-patches/

      set i 1
      set patchname ${name}[join [split $milestone .] ""]
      regexp {0*([1-9]+)} $patchlevel _ lastpatch

      while {$i <= $lastpatch} {
      patchfiles-append ${patchname}-[format "%03d" $i]
      incr i
      }

      checksums readline52-001 md5 9d4d41622aa9b230c57f68548ce87d8f sha1 8de77c2de3926893cbf2688912768bed48a2456b rmd160 0cedb82ccc4709e6b39e6cb95143131259b0e7c5 readline52-002 md5 f03e512d14206e37f7d6a748b56b9476 sha1 db5baf0129357ba9397dfcd24e9f6db0abdcbc7a rmd160 c9bbff4b1ba2ff77e5a43ad98a94f4753e5f0aa3 readline52-003 md5 252b42d8750f1a94b6bdf086612dceb2 sha1 7a879ce1ccb10ad65c34d3eeced9f4b79ac68434 rmd160 4007b1dcd19d204f6ce75fe5a60a5c780f221a12 readline52-004 md5 a32333c2e603a3ed250514e91050e552 sha1 00f91e9784e2c74415bccff8cad4604424c4d470 rmd160 7c8ef28a2d4fb6054aa84e0abfbdff0d446c0c90 readline52-005 md5 8106796c09b789523a3a78ab69c04b6d sha1 ba68f91097cbf8ccb162340c92131922458faefc rmd160 9a588f4ad425cff31ba78cef7083c53e8b3b8693 readline52-006 md5 512188e2bf0837f7eca19dbf71f182ae sha1 0c55402c4fbc8d932dd90cad42925182d02ecc26 rmd160 56649a55aeac4141992143fe2d11363ef6f45ee2 readline52-007 md5 ac17aca62eb6fb398c9f2fe9de540aff sha1 30dba802dc07e6f2e75cb300e920affa6863933d rmd160 31eaeca99f33b04816eb103c66915518da4b240a readline52-008 md5 2484c392db021905f112cf97a94dfd4c sha1 977b232766bc061a58b058b2b9076146d583649a rmd160 f95d1b3707ed4698d75ae64e3e1952bc4e91b3aa readline52-009 md5 fc6eb35d07914fae5c57d49c12483ff7 sha1 91f6718be7488c7e0917fdb45c1bda170969fc8e rmd160 fa94d1a7f2143a3689362add4fecbb6a7acaa60d readline52-010 md5 7a2bf3dc7ac7680b1461a5701100e91b sha1 98e6455c36f43c67be9529612c8e4550a8273c8b rmd160 545ad0c5c5d87bfd5971a4d12b47bd75ad2f195f readline52-011 md5 ef6cef6822663470f6ac8c517c5a7ec6 sha1 d2d4cbaf85c7db1708a810fbb368e000ad81c18d rmd160 96f9ae01b83cbca082956b0c7f88679483f32728 readline52-012 md5 e3e9f441c8111589855bc363e5640f6c sha1 3322f98db5845f40ae8e16ca1eb7e0e230bc5b8e rmd160 cf6ca8ced10d2e1a6cddefeb7871820f01c1f552 readline-5.2.tar.gz md5 e39331f32ad14009b9ff49cc10c5e751 sha1 18f3412c73068509d5f491b7b4535aeaf9522834 rmd160 983cbb25192e0a376b80cb2428fe8ee254a041c7

      configure.args --mandir=${prefix}/share/man --infodir=${prefix}/share/info --with-curses

      use_parallel_build yes

      depends_lib port:ncurses

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

      set docdir ${prefix}/share/doc/${name}-${version}
      xinstall -d ${destroot}${docdir}/html
      xinstall -m 0644 -W ${worksrcpath} CHANGELOG CHANGES COPYING NEWS README ${destroot}${docdir}
      eval xinstall -m 0644 [glob ${worksrcpath}/doc/*.html] ${destroot}${docdir}/html
      }

      platform darwin {
      post-destroot {
      foreach f {history readline} {
      foreach v {0 1} {
      ln -sf lib${f}.${milestone}.dylib ${destroot}${prefix}/lib/lib${f}.5.${v}.dylib
      }
      }
      }
      }

      livecheck.check regex
      livecheck.url http://ftp.gnu.org/pub/gnu/${name}/?C=M&O=D
      livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
      livecheck.version ${milestone}

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

     Where to find more information:

    Darwin Ports



    image test