diff options
-rw-r--r-- | devel/cs/Makefile | 23 | ||||
-rw-r--r-- | devel/cs/distinfo | 1 | ||||
-rw-r--r-- | devel/cs/files/patch-aa | 28 | ||||
-rw-r--r-- | devel/cs/pkg-comment | 1 | ||||
-rw-r--r-- | devel/cs/pkg-descr | 19 | ||||
-rw-r--r-- | devel/cs/pkg-plist | 2 |
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 |