summaryrefslogtreecommitdiffstats
path: root/devel/cs
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1997-05-23 07:58:58 +0000
committertg <tg@FreeBSD.org>1997-05-23 07:58:58 +0000
commit5159671bb3e18fb4c3d6108eae8ed9fb42a7284f (patch)
tree8493776097d59b6b5fe9e14f35266847295fa773 /devel/cs
parent6a27fd7e64be0901edd8f510b303371c0f8c136a (diff)
downloadFreeBSD-ports-5159671bb3e18fb4c3d6108eae8ed9fb42a7284f.zip
FreeBSD-ports-5159671bb3e18fb4c3d6108eae8ed9fb42a7284f.tar.gz
Import cs port. cs is a small utility with some of the cscope functionality.
Diffstat (limited to 'devel/cs')
-rw-r--r--devel/cs/Makefile23
-rw-r--r--devel/cs/distinfo1
-rw-r--r--devel/cs/files/patch-aa28
-rw-r--r--devel/cs/pkg-comment1
-rw-r--r--devel/cs/pkg-descr19
-rw-r--r--devel/cs/pkg-plist2
6 files changed, 74 insertions, 0 deletions
diff --git a/devel/cs/Makefile b/devel/cs/Makefile
new file mode 100644
index 0000000..f2c9cb1
--- /dev/null
+++ b/devel/cs/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: cs
+# Version required: 0.3
+# Date created: 22 May 1997
+# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
+#
+# $Id$
+#
+
+DISTNAME= cs-0.3
+CATEGORIES= devel
+MASTER_SITES= ftp://cantor.informatik.rwth-aachen.de/pub/unix/
+
+MAINTAINER= ports@FreeBSD.ORG
+
+NO_CDROM= this port requires a written license
+ALL_TARGET= cs
+MAN1= cs.1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/cs ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/cs.1 ${PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/devel/cs/distinfo b/devel/cs/distinfo
new file mode 100644
index 0000000..3923fe9
--- /dev/null
+++ b/devel/cs/distinfo
@@ -0,0 +1 @@
+MD5 (cs-0.3.tar.gz) = 414fc15906fcc25a794762a1dec92d63
diff --git a/devel/cs/files/patch-aa b/devel/cs/files/patch-aa
new file mode 100644
index 0000000..c339369
--- /dev/null
+++ b/devel/cs/files/patch-aa
@@ -0,0 +1,28 @@
+--- Makefile.orig Wed May 7 09:32:24 1997
++++ Makefile Thu May 22 19:18:35 1997
+@@ -2,7 +2,7 @@
+ DB= BINARY_DB
+
+ #{{{script}}}#{{{ Linux, moria machines
+-CFLAGS= -p -g -pipe -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -pedantic -fno-common
++#CFLAGS= -p -g -pipe -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -pedantic -fno-common
+ CPPFLAGS= -D$(DB)
+ LDFLAGS= -p -g
+ LIBS= -lcurses
+@@ -32,11 +32,11 @@
+ #}}}
+ #{{{ FreeBSD, gcc, ncurses
+ #CC= gcc
+-#CFLAGS= -pipe -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -pedantic -fno-common $(CPPFLAGS)
+-#CPPFLAGS= -I.curses.h -DNO_POSIX_SOURCE -D$(DB)
+-#LIBS= -lncurses -lmytinfo
+-#LDFLAGS=
+-#MAKEDEPEND= gcc -MM
++CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -pedantic -fno-common $(CPPFLAGS)
++CPPFLAGS= -I.curses.h -DNO_POSIX_SOURCE -D$(DB)
++LIBS= -lncurses -lmytinfo
++LDFLAGS= -s
++MAKEDEPEND= gcc -MM
+ #}}}
+ #{{{ SunOS 4, gcc
+ #CC= gcc
diff --git a/devel/cs/pkg-comment b/devel/cs/pkg-comment
new file mode 100644
index 0000000..7a56b0f
--- /dev/null
+++ b/devel/cs/pkg-comment
@@ -0,0 +1 @@
+A tool to find your way in C sources.
diff --git a/devel/cs/pkg-descr b/devel/cs/pkg-descr
new file mode 100644
index 0000000..e8603c6
--- /dev/null
+++ b/devel/cs/pkg-descr
@@ -0,0 +1,19 @@
+ A tool to find your way in C sources
+
+ cs offers the following functions:
+ * find C symbol
+ * find functions called from a certain function
+ * find functions calling a certain function
+ * find string literals
+ * find files #including a certain header file
+ * find file
+ * find POSIX naming violations
+ * execute shell command
+
+ The found lines will be displayed. Besides browsing through them, cs
+ allows to edit them using your favourite editor. If you frequently
+ grep for identifiers and edit the found files, then cs is for you. cs
+ should work on any system which supports the following:
+ * POSIX
+ * ANSI C
+ * SYSV curses library
diff --git a/devel/cs/pkg-plist b/devel/cs/pkg-plist
new file mode 100644
index 0000000..227d199
--- /dev/null
+++ b/devel/cs/pkg-plist
@@ -0,0 +1,2 @@
+bin/cs
+man/man1/cs.1.gz
OpenPOWER on IntegriCloud