ports/159192: Install cscope-indexer

Momchil Ivanov momchil at xaxo.eu
Mon Jul 25 19:40:14 UTC 2011


>Number:         159192
>Category:       ports
>Synopsis:       Install cscope-indexer
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 25 19:40:13 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Momchil Ivanov
>Release:        
>Organization:
>Environment:
>Description:
cscope-indexer is useful combined with the emacs mode. Is there any reason for not installing it? If not here is a patch.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ur cscope/Makefile /usr/ports/devel/cscope/Makefile
--- cscope/Makefile	2009-05-28 17:41:34.000000000 +0200
+++ /usr/ports/devel/cscope/Makefile	2011-07-25 21:20:49.000000000 +0200
@@ -8,6 +8,7 @@
 
 PORTNAME=	cscope
 PORTVERSION=	15.7a
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	SF
 
@@ -34,6 +35,7 @@
 
 .if defined(WITH_XCSCOPE)
 post-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/contrib/xcscope/cscope-indexer ${PREFIX}/bin
 	${MKDIR} ${EMACSLISPDIR}
 	${INSTALL_DATA} ${WRKSRC}/contrib/xcscope/xcscope.el ${EMACSLISPDIR}/
 	${MKDIR} ${XEMACSLISPDIR}
diff -ur cscope/pkg-plist /usr/ports/devel/cscope/pkg-plist
--- cscope/pkg-plist	2009-05-28 17:41:34.000000000 +0200
+++ /usr/ports/devel/cscope/pkg-plist	2011-07-25 21:20:49.000000000 +0200
@@ -1,5 +1,6 @@
 bin/cscope
 bin/ocs
+%%XCSCOPE%%bin/cscope-indexer
 %%XCSCOPE%%share/emacs/site-lisp/xcscope.el
 %%XCSCOPE%%lib/xemacs/site-lisp/xcscope.el
 %%XCSCOPE%%@dirrmtry lib/xemacs/site-lisp


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list