Cscope version 15.7a - How to Download and Install on Mac OS X
Monday the 23rd of November, 2009

    version 15.7a

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


      The cscope Portfile 51017 2009-05-15 14:34:52Z mww macports.org $

      PortSystem 1.0

      Name: cscope
      Version: 15.7a
      Category: devel
      Platform: darwin freebsd
      Maintainers: mww
      Description: development tool for browsing source code
      Long Description: Cscope is a developer's tool for browsing source code. It has an impeccable Unix pedigree, having been originally developed at Bell Labs back in the days of the PDP-11. Cscope was part of the official AT&T Unix distribution for many years, and has been used to manage projects involving 20 million lines of code.

      Homepage: http://cscope.sourceforge.net/
      Master Sites: sourceforge
      Checksums: md5 da43987622ace8c36bbf14c15a350ec1 sha1 f6348694e5443769add851f97fd39365e93dc474 rmd160 8bc904f636e8e6ea4542738095183475911858f9

      use_bzip2 yes

      Patch Files: patch-constants.h

      depends_lib port:ncurses

      configure.args --mandir=${prefix}/share/man --with-flex --with-ncurses=${prefix}

      post-destroot {
      system "strip ${destroot}${prefix}/bin/cscope"
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.