diff options
author | garbled <garbled@pkgsrc.org> | 1998-12-01 23:27:36 +0000 |
---|---|---|
committer | garbled <garbled@pkgsrc.org> | 1998-12-01 23:27:36 +0000 |
commit | 461e0155724ce58529fadc08ca928489328f79f0 (patch) | |
tree | 5e307229ff355fd86eb14060d984270c7a4ca8ec /devel | |
parent | 1c151468caac0728a710d94af6d6d30725e90b62 (diff) | |
download | pkgsrc-461e0155724ce58529fadc08ca928489328f79f0.tar.gz |
Initial import of cdk-4.9.6
the Curses Development Kit
Diffstat (limited to 'devel')
-rw-r--r-- | devel/cdk/Makefile | 24 | ||||
-rw-r--r-- | devel/cdk/files/md5 | 3 | ||||
-rw-r--r-- | devel/cdk/patches/patch-aa | 82 | ||||
-rw-r--r-- | devel/cdk/patches/patch-ab | 26 | ||||
-rw-r--r-- | devel/cdk/patches/patch-ac | 24 | ||||
-rw-r--r-- | devel/cdk/patches/patch-ad | 12 | ||||
-rw-r--r-- | devel/cdk/patches/patch-ae | 12 | ||||
-rw-r--r-- | devel/cdk/patches/patch-af | 11 | ||||
-rw-r--r-- | devel/cdk/patches/patch-ag | 12 | ||||
-rw-r--r-- | devel/cdk/patches/patch-ah | 26 | ||||
-rw-r--r-- | devel/cdk/pkg/COMMENT | 1 | ||||
-rw-r--r-- | devel/cdk/pkg/DESCR | 6 | ||||
-rw-r--r-- | devel/cdk/pkg/PLIST | 103 |
13 files changed, 342 insertions, 0 deletions
diff --git a/devel/cdk/Makefile b/devel/cdk/Makefile new file mode 100644 index 00000000000..dd8da4c8857 --- /dev/null +++ b/devel/cdk/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 1998/12/01 23:27:36 garbled Exp $ + +DISTNAME= cdk4x9x6 +PKGNAME= cdk-4.9.6 +CATEGORIES= devel +MASTER_SITES= http://www.datasoft.on.ca/~cdk/ +EXTRACT_SUFX= .tgz + +MAINTAINER= root@garbled.net +HOMEPAGE= http://www.datasoft.on.ca/~cdk + +DEPENDS+= ncurses-1.9.9g:../../devel/ncurses + +WRKSRC= ${WRKDIR}/${PKGNAME} + +MAKE_ENV+= WRKSRC=${WRKSRC} + +.include "../../mk/bsd.prefs.mk" + +.ifdef MANZ +MANCOMPRESSED= yes +.endif + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/cdk/files/md5 b/devel/cdk/files/md5 new file mode 100644 index 00000000000..36b452d1c5c --- /dev/null +++ b/devel/cdk/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1998/12/01 23:27:36 garbled Exp $ + +MD5 (cdk4x9x6.tgz) = 7b331f963d2aab634149c8d1610ff2d7 diff --git a/devel/cdk/patches/patch-aa b/devel/cdk/patches/patch-aa new file mode 100644 index 00000000000..aec57d3d270 --- /dev/null +++ b/devel/cdk/patches/patch-aa @@ -0,0 +1,82 @@ +$NetBSD: patch-aa,v 1.1.1.1 1998/12/01 23:27:36 garbled Exp $ +--- Makefile.orig Wed Jul 15 13:27:08 1998 ++++ Makefile Tue Dec 1 14:39:56 1998 +@@ -9,14 +9,14 @@ + # AIX, Alpha, FreeBSD, HPUX, Linux, Linux-xcurses, + # Solaris, Sun, and Irix (SGI) + # +-OS = Solaris ++OS = NetBSD + + # + # These reflect where CDK will be installed from and to + # on your system. + # +-SRCDIR = $(HOME)/cdk-$(VERSION) +-INST_ROOTDIR = $(HOME)/local ++SRCDIR = $(WRKSRC) ++INST_ROOTDIR = $(PREFIX) + + # + # Set some informational variables. +@@ -51,7 +51,7 @@ + INST_LIBDIR = ${INST_ROOTDIR}/lib + INST_INCDIR = ${INST_ROOTDIR}/include + INST_MANDIR = ${INST_ROOTDIR}/man/man3 +-INST_SRCDIR = ${INST_ROOTDIR}/src/cdk ++INST_SRCDIR = ${INST_ROOTDIR}/share/examples/cdk + + # + # Add what ever flags you need for the CFLAGS. The following lists all of +@@ -80,7 +80,7 @@ + # NOSTRERR Your library does not have Sun + # the library function strerr. + # +-EXTRA_CFLAGS = -g -Wall ++EXTRA_CFLAGS = -Wall -I. + + ############################################################### + # Do Not Change Anything Below This Line +@@ -143,9 +143,9 @@ + # + # Standard library directive. + # +-cdklib $(CDKLIB): $(CDKOBJS) +- @ar r $(CDKLIB) $(CDKOBJS) +- @$(RANLIB) ++#cdklib $(CDKLIB): $(CDKOBJS) ++# @ar r $(CDKLIB) $(CDKOBJS) ++# @$(RANLIB) + + # + # Shared library directive. +@@ -214,7 +214,7 @@ + mkdir -p $(INST_SRCDIR); \ + fi; + @echo "Installing source example files..."; +- @$(RM) $(INST_SRCDIR)/Makefile; ++ @-$(RM) $(INST_SRCDIR)/Makefile; + @cp $(EXAMDIR)/examples.make $(INST_SRCDIR)/Makefile; + @(cd $(EXAMDIR); for i in $(EXAMSRC); do \ + echo " $(INST_SRCDIR)/$$i" ; \ +@@ -364,13 +364,13 @@ + # + # Clean up after ourselves... + # +-clean:: +- @echo "Cleaning files up..." +- $(RM) *.o $(CDKLIB) $(CDKSLIB) inst/*.o +- $(RM) core tst inst/vinstall inst/*.list +- (cd $(EXAMDIR); make clean) +- (cd $(CLIDIR); make clean) +- (cd $(DEMODIR); make clean) ++#clean:: ++# @echo "Cleaning files up..." ++# $(RM) *.o $(CDKLIB) $(CDKSLIB) inst/*.o ++# $(RM) core tst inst/vinstall inst/*.list ++# (cd $(EXAMDIR); make clean) ++# (cd $(CLIDIR); make clean) ++# (cd $(DEMODIR); make clean) + + # + # This makes the test program. diff --git a/devel/cdk/patches/patch-ab b/devel/cdk/patches/patch-ab new file mode 100644 index 00000000000..fc3f28020eb --- /dev/null +++ b/devel/cdk/patches/patch-ab @@ -0,0 +1,26 @@ +$NetBSD: patch-ab,v 1.1.1.1 1998/12/01 23:27:36 garbled Exp $ +--- /dev/null Tue Dec 1 15:41:34 1998 ++++ makefiles/Makefile.NetBSD Tue Dec 1 16:06:16 1998 +@@ -0,0 +1,22 @@ ++# ++# BSD style makefile for Cdk. ++# ++ ++# ++# Define all needed variables. ++# ++COMPILE_OS = "NetBSD" ++LIB = cdk ++SHLIB_MAJOR = 4 ++SHLIB_MINOR = 8 ++SRCS = $(CDKSRC) ++MAN3 = $(CDKSRC:%=man/%) ++ ++# ++# Include the global FreeBSD makefile def's ++# ++NOLINT = 1 ++MANZ = 0 ++LIBDIR = ${PREFIX}/lib ++.include <bsd.lib.mk> ++CFLAGS += -I. -DNCURSES -I${PREFIX}/include diff --git a/devel/cdk/patches/patch-ac b/devel/cdk/patches/patch-ac new file mode 100644 index 00000000000..21c1d5225f1 --- /dev/null +++ b/devel/cdk/patches/patch-ac @@ -0,0 +1,24 @@ +--- cdk.h.orig Tue Apr 7 09:24:54 1998 ++++ cdk.h Tue Dec 1 16:08:34 1998 +@@ -34,11 +34,20 @@ + * SUCH DAMAGE. + */ + ++/*#ifdef __NetBSD__ ++#define _maxx maxx ++#define _maxy maxy ++#define _begx begx ++#define _begy begy ++#define _curx curx ++#define _cury cury ++#endif*/ ++ + #ifdef CDK_PERL_EXT + #undef instr + #endif + +-#include <curses.h> ++#include <ncurses.h> + + #include <stdlib.h> + #include <string.h> diff --git a/devel/cdk/patches/patch-ad b/devel/cdk/patches/patch-ad new file mode 100644 index 00000000000..87e617b50e8 --- /dev/null +++ b/devel/cdk/patches/patch-ad @@ -0,0 +1,12 @@ +$NetBSD: patch-ad,v 1.1.1.1 1998/12/01 23:27:36 garbled Exp $ +--- entry.c.orig Tue Dec 1 14:09:46 1998 ++++ entry.c Tue Dec 1 14:10:02 1998 +@@ -371,7 +371,7 @@ + } + break; + +- case DELETE : case '' : case KEY_BACKSPACE : case KEY_DC : ++ case DELETE : case '' : case KEY_BACKSPACE : /* case KEY_DC : */ + if (entry->dispType == vVIEWONLY) + { + Beep(); diff --git a/devel/cdk/patches/patch-ae b/devel/cdk/patches/patch-ae new file mode 100644 index 00000000000..e58137a1bf4 --- /dev/null +++ b/devel/cdk/patches/patch-ae @@ -0,0 +1,12 @@ +$NetBSD: patch-ae,v 1.1.1.1 1998/12/01 23:27:36 garbled Exp $ +--- matrix.c.orig Tue Dec 1 14:10:31 1998 ++++ matrix.c Tue Dec 1 14:10:45 1998 +@@ -469,7 +470,7 @@ + case CDK_ENDOFLINE : + break; + +- case KEY_BACKSPACE : case DELETE : case '' : case KEY_DC : ++ case KEY_BACKSPACE : case DELETE : case '' : /*case KEY_DC : */ + if (matrix->colvalues[matrix->col] == vVIEWONLY) + { + Beep(); diff --git a/devel/cdk/patches/patch-af b/devel/cdk/patches/patch-af new file mode 100644 index 00000000000..7c198e73396 --- /dev/null +++ b/devel/cdk/patches/patch-af @@ -0,0 +1,11 @@ +$NetBSD: patch-af,v 1.1.1.1 1998/12/01 23:27:36 garbled Exp $ +--- cdk/curdefs.h.orig Tue Dec 1 14:11:18 1998 ++++ cdk/curdefs.h Tue Dec 1 14:11:41 1998 +@@ -518,4 +518,7 @@ + #ifndef ACS_S2 + #define ACS_S2 '2' + #endif ++#ifndef ACS_S9 ++#define ACS_S9 '9' ++#endif + #endif /* CURDEF_H */ diff --git a/devel/cdk/patches/patch-ag b/devel/cdk/patches/patch-ag new file mode 100644 index 00000000000..891e2544d08 --- /dev/null +++ b/devel/cdk/patches/patch-ag @@ -0,0 +1,12 @@ +$NetBSD: patch-ag,v 1.1.1.1 1998/12/01 23:27:36 garbled Exp $ +--- mentry.c.orig Tue Dec 1 14:12:57 1998 ++++ mentry.c Tue Dec 1 14:13:09 1998 +@@ -442,7 +442,7 @@ + } + break; + +- case DELETE : case KEY_BACKSPACE : case '' : case KEY_DC : ++ case DELETE : case KEY_BACKSPACE : case '' : /*case KEY_DC :*/ + if (mentry->dispType == vVIEWONLY) + { + Beep(); diff --git a/devel/cdk/patches/patch-ah b/devel/cdk/patches/patch-ah new file mode 100644 index 00000000000..a5dcea4b5bb --- /dev/null +++ b/devel/cdk/patches/patch-ah @@ -0,0 +1,26 @@ +$NetBSD: patch-ah,v 1.1.1.1 1998/12/01 23:27:36 garbled Exp $ +--- exam/Makefile.orig Tue Apr 7 09:25:04 1998 ++++ exam/Makefile Tue Dec 1 16:12:44 1998 +@@ -5,17 +5,17 @@ + # + # Change these as needed. + # +-ROOTDIR = /export/local +-INCDIR = -I/usr/include/ncurses -I$(ROOTDIR)/include +-LIBDIR = -L$(ROOTDIR)/lib +-LIBS = -lcdk -lcurses -lm ++ROOTDIR = /usr/pkg ++INCDIR = -I$(ROOTDIR)/include ++LIBDIR = -Wl,-R$(ROOTDIR)/lib -L$(ROOTDIR)/lib ++LIBS = -lcdk -lncurses -lm + BINS = alphalist_ex bind_ex calendar_ex cdkscreen_ex dialog_ex\ + entry_ex fselect_ex graph_ex hello_ex histogram_ex\ + itemlist_ex label_ex marquee_ex matrix_ex mentry_ex\ + menu_ex position_ex preprocess_ex radio_ex scale_ex\ + scroll_ex selection_ex slider_ex subwindow_ex\ + swindow_ex template_ex viewer_ex vinstall +-CFLAGS = -g -Wall ++CFLAGS = -O -DNCURSES + CC = gcc + default: all + all: $(BINS) diff --git a/devel/cdk/pkg/COMMENT b/devel/cdk/pkg/COMMENT new file mode 100644 index 00000000000..6120b3eb30e --- /dev/null +++ b/devel/cdk/pkg/COMMENT @@ -0,0 +1 @@ +the Curses Development Kit diff --git a/devel/cdk/pkg/DESCR b/devel/cdk/pkg/DESCR new file mode 100644 index 00000000000..a5b1472ade2 --- /dev/null +++ b/devel/cdk/pkg/DESCR @@ -0,0 +1,6 @@ +Cdk stands for 'Curses Development Kit' and it currently contains 21 ready +to use widgets which facilitate the speedy development of full screen +curses programs. This little project of mine started as a test to see how +compatible my Linux machine was to other UNIX breeds. While doing this I +discovered Ncurses, and played with it. These widgets are the result of +over a years worth of playing. The current complement of widgets are: diff --git a/devel/cdk/pkg/PLIST b/devel/cdk/pkg/PLIST new file mode 100644 index 00000000000..ce8a49277b3 --- /dev/null +++ b/devel/cdk/pkg/PLIST @@ -0,0 +1,103 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1998/12/01 23:27:36 garbled Exp $ +include/cdk/alphalist.h +include/cdk/binding.h +include/cdk/buttonbox.h +include/cdk/calendar.h +include/cdk/cdk_util.h +include/cdk/cdkscreen.h +include/cdk/curdefs.h +include/cdk/dialog.h +include/cdk/draw.h +include/cdk/entry.h +include/cdk/fselect.h +include/cdk/graph.h +include/cdk/histogram.h +include/cdk/itemlist.h +include/cdk/label.h +include/cdk/marquee.h +include/cdk/matrix.h +include/cdk/mentry.h +include/cdk/menu.h +include/cdk/printWidget.h +include/cdk/radio.h +include/cdk/scale.h +include/cdk/scroll.h +include/cdk/selection.h +include/cdk/slider.h +include/cdk/swindow.h +include/cdk/template.h +include/cdk/tab.h +include/cdk/viewer.h +include/cdk.h +lib/libcdk.a +lib/libcdk_p.a +lib/libcdk_pic.a +lib/libcdk.so.4.8 +man/man3/cdk.3 +man/man3/cdk_alphalist.3 +man/man3/cdk_buttonbox.3 +man/man3/cdk_calendar.3 +man/man3/cdk_dialog.3 +man/man3/cdk_entry.3 +man/man3/cdk_graph.3 +man/man3/cdk_fselect.3 +man/man3/cdk_histogram.3 +man/man3/cdk_itemlist.3 +man/man3/cdk_label.3 +man/man3/cdk_marquee.3 +man/man3/cdk_matrix.3 +man/man3/cdk_mentry.3 +man/man3/cdk_menu.3 +man/man3/cdk_printWidget.3 +man/man3/cdk_radio.3 +man/man3/cdk_scale.3 +man/man3/cdk_scroll.3 +man/man3/cdk_selection.3 +man/man3/cdk_slider.3 +man/man3/cdk_swindow.3 +man/man3/cdk_template.3 +man/man3/cdk_viewer.3 +man/man3/cdk_screen.3 +man/man3/cdk_binding.3 +man/man3/cdk_display.3 +man/man3/cdk_misc.3 +share/examples/cdk/Makefile +share/examples/cdk/alphalist_ex.c +share/examples/cdk/buttonbox_ex.c +share/examples/cdk/calendar_ex.c +share/examples/cdk/dialog_ex.c +share/examples/cdk/entry_ex.c +share/examples/cdk/graph_ex.c +share/examples/cdk/fselect_ex.c +share/examples/cdk/histogram_ex.c +share/examples/cdk/itemlist_ex.c +share/examples/cdk/label_ex.c +share/examples/cdk/marquee_ex.c +share/examples/cdk/matrix_ex.c +share/examples/cdk/mentry_ex.c +share/examples/cdk/menu_ex.c +share/examples/cdk/printWidget_ex.c +share/examples/cdk/radio_ex.c +share/examples/cdk/scale_ex.c +share/examples/cdk/scroll_ex.c +share/examples/cdk/selection_ex.c +share/examples/cdk/slider_ex.c +share/examples/cdk/swindow_ex.c +share/examples/cdk/template_ex.c +share/examples/cdk/viewer_ex.c +share/examples/cdk/subwindow_ex.c +share/examples/cdk/bind_ex.c +share/examples/cdk/hello_ex.c +share/examples/cdk/position_ex.c +share/examples/cdk/cdkscreen_ex.c +share/examples/cdk/preprocess_ex.c +share/examples/cdk/BUGS +share/examples/cdk/EXPANDING +share/examples/cdk/INSTALL +share/examples/cdk/NOTES +share/examples/cdk/README +share/examples/cdk/TODO +share/examples/cdk/VERSION +share/examples/cdk/COPYING +@dirrm include/cdk +@dirrm share/examples/cdk |