Bash-completion version 20060301 - How to Download and Install on Mac OS X
Friday the 3rd of July, 2009

    bash-completion  most recent diff


    version 20060301

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


      The bash-completion Portfile 41114 2008-10-23 22:04:47Z raimue macports.org $

      PortSystem 1.0

      Name: bash-completion
      Version: 20060301
      Revision: 1
      Category: sysutils
      Platform: darwin
      Maintainers: raimue
      Description: Programmable bash{2,3} completions.
      Long Description: Programmable completion library for bash

      Homepage: http://www.caliban.org/bash/index.shtml
      Master Sites: http://www.caliban.org/files/bash/
      Checksums: md5 ed95a89f57357a42b8e4eb95487bf9d0 sha1 19521f0fde4d9d06401ccd26ed4ec33d7d3aa23d

      use_bzip2 yes

      use_configure no
      build {}

      worksrcdir [strsed $name "s/-/_/"]

      post-patch {
      reinplace "s:/etc/bash_completion:${prefix}/etc/bash_completion:g" ${worksrcpath}/bash_completion
      }

      destroot {
      xinstall -d ${destroot}${prefix}/etc/bash_completion.d
      xinstall -m 755 ${worksrcpath}/bash_completion ${destroot}${prefix}/etc/
      xinstall -m 644 ${filespath}/port.cmd ${destroot}${prefix}/etc/bash_completion.d/port
      }
      destroot.keepdirs ${destroot}${prefix}/etc/

      post-install {
      ui_msg "To use bash_completion, add the following lines at the end of your .bash_profile:"
      ui_msg ""
      ui_msg " if \[ -f ${prefix}/etc/bash_completion ]; then"
      ui_msg " . ${prefix}/etc/bash_completion"
      ui_msg " fi"
      ui_msg ""
      }

      livecheck.check regex
      livecheck.url ${master_sites}
      livecheck.regex ${name}-(\[0-9\]+)${extract.suffix}

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.