aboutsummaryrefslogtreecommitdiff
path: root/devel/cs
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1997-05-23 07:58:58 +0000
committerThomas Gellekum <tg@FreeBSD.org>1997-05-23 07:58:58 +0000
commitfb64040ac294c825c6a979b67a81d99f155b7f42 (patch)
tree10c3da8d266d991ccaa7119d0f5145daf99d093e /devel/cs
parent0eefe8db8468d650b77fb5e5f982f7b5febbe388 (diff)
downloadports-fb64040ac294c825c6a979b67a81d99f155b7f42.tar.gz
ports-fb64040ac294c825c6a979b67a81d99f155b7f42.zip
Notes
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 000000000000..f2c9cb175fa2
--- /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 000000000000..3923fe94eb07
--- /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 000000000000..c33936902957
--- /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 000000000000..7a56b0f7fd0d
--- /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 000000000000..e8603c677367
--- /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 000000000000..227d1990df15
--- /dev/null
+++ b/devel/cs/pkg-plist
@@ -0,0 +1,2 @@
+bin/cs
+man/man1/cs.1.gz