[MacPorts] #11294: Add cscope to editors/vim

MacPorts noreply at macports.org
Thu Mar 24 08:50:07 PDT 2016


#11294: Add cscope to editors/vim
--------------------------+--------------------------------
  Reporter:  chris@…      |      Owner:  macports-tickets@…
      Type:  enhancement  |     Status:  closed
  Priority:  Low          |  Milestone:
 Component:  ports        |    Version:  1.3.2
Resolution:  fixed        |   Keywords:
      Port:  vim          |
--------------------------+--------------------------------
Changes (by ryandesign@…):

 * keywords:  cscope =>


Old description:

> Vim can drive a cscope database, allowing you to jump around as if you
> had a tags file, and also allowing you to do searches without ever
> leaving vim.  It is really quite wonderful, and this simple patch to the
> Portfile will accomplish it:
>
> --- Portfile.orig       2007-01-25 17:45:22.000000000 -0500
> +++ Portfile    2007-01-25 17:47:11.000000000 -0500
> @@ -112,6 +112,11 @@
>         configure.args-append   --enable-gui=gtk2 --with-x --disable-
> darwin
>         depends_lib-append              lib:libgtk.2:gtk2
>  }
> +
> +variant cscope {
> +    configure.args-append   --enable-cscope
> +}
> +
>  #variant gnome {
>  #      configure.args-delete   --enable-gui=no --without-x
>  #      configure.args-append   --enable-gui=gnome --with-x --disable-
> darwin

New description:

 Vim can drive a cscope database, allowing you to jump around as if you had
 a tags file, and also allowing you to do searches without ever leaving
 vim.  It is really quite wonderful, and this simple patch to the Portfile
 will accomplish it:

 {{{
 --- Portfile.orig       2007-01-25 17:45:22.000000000 -0500
 +++ Portfile    2007-01-25 17:47:11.000000000 -0500
 @@ -112,6 +112,11 @@
         configure.args-append   --enable-gui=gtk2 --with-x --disable-
 darwin
         depends_lib-append              lib:libgtk.2:gtk2
  }
 +
 +variant cscope {
 +    configure.args-append   --enable-cscope
 +}
 +
  #variant gnome {
  #      configure.args-delete   --enable-gui=no --without-x
  #      configure.args-append   --enable-gui=gnome --with-x --disable-
 darwin
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/11294#comment:5>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list