Download and Install gwhich version 2.16 on Mac OS X
Thursday the 7th of August, 2008

    gwhich  most recent diff


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



      # $Id: Portfile 32783 2008-01-13 11:24:37Z ryandesign macports.org $

      PortSystem 1.0
      Name: gwhich
      Version: 2.16
      revision 2
      Category: sysutils
      Maintainers: nomaintainer
      Description: GNU Which - Everything you never wanted in a which
      Long Description: Which is a utility that prints out the full path of the executables that bash would execute when the passed program names would have been entered on the shell prompt. It does this by using the exact same algorithm as bash. Tildes and a dot in the PATH are now expanded to the full path by default. Options allow to rather print '~/*' or './*' and/or to print all executables that match any directory in PATH.

      Homepage: http://www.xs4all.nl/~carlo17/which/
      Platform: darwin
      master_sites gnu:which
      distname which-${version}
      checksums md5 830b83af48347a9a3520f561e47cbc9b

      configure.args --infodir=${prefix}/share/info --mandir=${prefix}/share/man --program-prefix=g

      post-destroot {
      file rename ${destroot}${prefix}/share/info/which.info ${destroot}${prefix}/share/info/gwhich.info
      if {[variant_isset with_default_names]} {
      foreach d {bin share/info share/man/man1} {
      foreach a [glob -directory ${destroot}${prefix}/$d g*] {
      regexp /g(.+)\$ $a dummy b
      file link -hard ${destroot}${prefix}/$d/$b $a
      }
      }
      }
      }

      test.run yes
      test.target check

      Variant: with_default_names {}

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

     Where to find more information:

    Darwin Ports



    image test