Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2000 21:28:59 -0700 (PDT)
From:      Arun Sharma <adsharma@sharmas.dhs.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/18105: New port: cscope
Message-ID:  <200004200428.VAA15196@sharmas.dhs.org>

next in thread | raw e-mail | index | archive | help

>Number:         18105
>Category:       ports
>Synopsis:       New port: cscope
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 19 21:30:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Arun Sharma
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
>Environment:

	

>Description:

	New port: cscope
	http://cscope.sourceforge.net/

>How-To-Repeat:

	

>Fix:

	

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	cscope
#	cscope/Makefile
#	cscope/patches
#	cscope/patches/patch-aa
#	cscope/files
#	cscope/files/md5
#	cscope/pkg
#	cscope/pkg/COMMENT
#	cscope/pkg/DESCR
#	cscope/pkg/PLIST
#
echo c - cscope
mkdir -p cscope > /dev/null 2>&1
echo x - cscope/Makefile
sed 's/^X//' >cscope/Makefile << 'END-of-cscope/Makefile'
X# New ports collection makefile for:	cscope
X# Version required:	13.0-2
X# Date created:		Wed Apr 19 21:16:43 PDT 2000
X# Whom:			adsharma@sharmas.dhs.org
X#
X# $FreeBSD$
X#
X
XDISTNAME=	cscope-13.0
XCATEGORIES=	devel
XMASTER_SITES=	http://download.sourceforge.net/cscope/
XDISTFILES=	cscope-13.0-2.tar.gz
X
XMAINTAINER=	adsharma@sharmas.dhs.org
XMAN1=		cscope.1
X
X.include <bsd.port.mk>
END-of-cscope/Makefile
echo c - cscope/patches
mkdir -p cscope/patches > /dev/null 2>&1
echo x - cscope/patches/patch-aa
sed 's/^X//' >cscope/patches/patch-aa << 'END-of-cscope/patches/patch-aa'
X--- common/exec.c	Mon Apr 17 18:39:45 2000
X+++ common/exec.c	Wed Apr 19 21:10:43 2000
X@@ -37,7 +37,7 @@
X 
X #include "global.h"
X #include <stdarg.h>
X-#include <wait.h>
X+#include <sys/wait.h>
X #include <curses.h>
X 
X static char const rcsid[] = "$Id$";
Xdiff -dur cscope-13.0/common/library.h cscope-13.0.new/common/library.h
X--- common/library.h	Mon Apr 17 18:41:11 2000
X+++ common/library.h	Wed Apr 19 21:10:14 2000
X@@ -49,12 +49,14 @@
X FILE	*mypopen(), *vpfopen();
X void	egrepcaseless();
X 
X+#ifndef __FreeBSD__
X /* standard C library */
X char	*ctime(), *getcwd(), *getenv(), *mktemp();
X char	*strcat(), *strcpy(), *strncpy(), *strpbrk(), *strchr(), *strrchr();
X char	*strtok();
X long	lseek(), time();
X unsigned sleep();
X+#endif
X void	exit(), free(), qsort();
X #if BSD
X FILE	*popen();	/* not in stdio.h */
Xdiff -dur cscope-13.0/common/vpaccess.c cscope-13.0.new/common/vpaccess.c
X--- common/vpaccess.c	Mon Apr 17 18:42:45 2000
X+++ common/vpaccess.c	Wed Apr 19 21:11:22 2000
X@@ -37,11 +37,7 @@
X #include <stdio.h>
X #include <unistd.h>
X #include "vp.h"
X-#ifdef CCS
X #include <sys/types.h>
X-#else
X-typedef int mode_t;
X-#endif
X  
X int vpaccess(path, amode)
X char	*path;
END-of-cscope/patches/patch-aa
echo c - cscope/files
mkdir -p cscope/files > /dev/null 2>&1
echo x - cscope/files/md5
sed 's/^X//' >cscope/files/md5 << 'END-of-cscope/files/md5'
XMD5 (cscope-13.0-2.tar.gz) = c727eff70fddfee73754537b6be39597
END-of-cscope/files/md5
echo c - cscope/pkg
mkdir -p cscope/pkg > /dev/null 2>&1
echo x - cscope/pkg/COMMENT
sed 's/^X//' >cscope/pkg/COMMENT << 'END-of-cscope/pkg/COMMENT'
XA developer's tool for browsing C code. 
END-of-cscope/pkg/COMMENT
echo x - cscope/pkg/DESCR
sed 's/^X//' >cscope/pkg/DESCR << 'END-of-cscope/pkg/DESCR'
XCscope is a developer's tool for browsing program code. The cscope
Xcode has been released as Open Source by Santa Cruz Operation, Inc.
X(SCO) under the BSD license
END-of-cscope/pkg/DESCR
echo x - cscope/pkg/PLIST
sed 's/^X//' >cscope/pkg/PLIST << 'END-of-cscope/pkg/PLIST'
Xbin/cscope
END-of-cscope/pkg/PLIST
exit


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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004200428.VAA15196>