aboutsummaryrefslogtreecommitdiff
path: root/devel/cdk
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-05-09 17:38:40 +0000
committerSteve Price <steve@FreeBSD.org>1999-05-09 17:38:40 +0000
commitceaf62c65f72fe07180b80728ccba827fb792232 (patch)
tree9e055f90588a297f26664b29437074d3d45c1705 /devel/cdk
parentf4e2020f6a5a2200956a704176d362db56ef6293 (diff)
downloadports-ceaf62c65f72fe07180b80728ccba827fb792232.tar.gz
ports-ceaf62c65f72fe07180b80728ccba827fb792232.zip
Initial import of cdk version 4.9.1.
Curses Development Kit for speedy development of full screen programs. PR: 11534 Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
Notes
Notes: svn path=/head/; revision=18690
Diffstat (limited to 'devel/cdk')
-rw-r--r--devel/cdk/Makefile56
-rw-r--r--devel/cdk/distinfo1
-rw-r--r--devel/cdk/files/patch-aa60
-rw-r--r--devel/cdk/files/patch-ab11
-rw-r--r--devel/cdk/pkg-comment1
-rw-r--r--devel/cdk/pkg-descr7
-rw-r--r--devel/cdk/pkg-plist120
7 files changed, 256 insertions, 0 deletions
diff --git a/devel/cdk/Makefile b/devel/cdk/Makefile
new file mode 100644
index 000000000000..cc0f70c07f19
--- /dev/null
+++ b/devel/cdk/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: cdk
+# Version required: 4.9.1
+# Date created: 6 May 1999
+# Whom: Andrey Zakhvatov
+#
+# $Id$
+#
+
+DISTNAME= cdk-4.9.1
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= libs/ui
+
+MAINTAINER= andy@icc.surw.chel.su
+
+ALL_TARGET= SRCDIR=${WRKSRC} libcdk.so.1
+
+MAN3= alphalist.3 binding.3 buttonbox.3 calendar.3 cdk.3 dialog.3 \
+ display.3 entry.3 fselect.3 graph.3 histogram.3 itemlist.3 label.3 \
+ marquee.3 matrix.3 mentry.3 menu.3 misc.3 radio.3 scale.3 screen.3 \
+ scroll.3 selection.3 slider.3 swindow.3 template.3 viewer.3
+
+do-install:
+ @ ${INSTALL_DATA} ${WRKSRC}/libcdk.so.1 ${PREFIX}/lib
+ @ ${LN} -fs ${PREFIX}/lib/libcdk.so.1 ${PREFIX}/lib/libcdk.so
+ @ ${INSTALL_DATA} ${WRKSRC}/cdk.h ${PREFIX}/include
+ @ ${MKDIR} ${PREFIX}/include/cdk
+ @ ${INSTALL_DATA} ${WRKSRC}/cdk/* ${PREFIX}/include/cdk
+.for file in ${MAN3}
+ @ ${INSTALL_MAN} ${WRKSRC}/man/${file} ${PREFIX}/man/man3
+.endfor
+ @ ${MKDIR} ${PREFIX}/share/examples/cdk
+ @ ${INSTALL_DATA} ${WRKSRC}/exam/*.c ${PREFIX}/share/examples/cdk
+ @ ${INSTALL_DATA} ${WRKSRC}/exam/examples.make ${PREFIX}/share/examples/cdk/Makefile
+ @ ${MKDIR} ${PREFIX}/share/examples/cdk/demo
+ @ ${INSTALL_DATA} ${WRKSRC}/demo/rolodex.h ${PREFIX}/share/examples/cdk/demo
+ @ ${INSTALL_DATA} ${WRKSRC}/demo/*.c ${PREFIX}/share/examples/cdk/demo
+ @ ${INSTALL_DATA} ${WRKSRC}/demo/demos.make ${PREFIX}/share/examples/cdk/demo/Makefile
+ @ ${MKDIR} ${PREFIX}/share/examples/cdk/cli
+ @ ${INSTALL_DATA} ${WRKSRC}/cli/*.c ${PREFIX}/share/examples/cdk/cli
+ @ ${INSTALL_DATA} ${WRKSRC}/cli/cli.make ${PREFIX}/share/examples/cdk/cli/Makefile
+ @ ${MKDIR} ${PREFIX}/share/examples/cdk/cli/samples
+ @ ${INSTALL_DATA} ${WRKSRC}/cli/samples/* ${PREFIX}/share/examples/cdk/cli/samples
+ @ ${MKDIR} ${PREFIX}/share/examples/cdk/cli/utils
+ @ ${INSTALL_DATA} ${WRKSRC}/cli/utils/* ${PREFIX}/share/examples/cdk/cli/utils
+ @ ${LDCONFIG} -m ${PREFIX}/lib
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @ ${MKDIR} ${PREFIX}/share/doc/cdk
+.for file in BUGS COPYING EXPANDING NOTES README TODO
+ @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/cdk
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/cdk/distinfo b/devel/cdk/distinfo
new file mode 100644
index 000000000000..da6550bdf03e
--- /dev/null
+++ b/devel/cdk/distinfo
@@ -0,0 +1 @@
+MD5 (cdk-4.9.1.tar.gz) = dfacdacc2834154659ddedbe66502bb2
diff --git a/devel/cdk/files/patch-aa b/devel/cdk/files/patch-aa
new file mode 100644
index 000000000000..37c58409509e
--- /dev/null
+++ b/devel/cdk/files/patch-aa
@@ -0,0 +1,60 @@
+--- Makefile Fri May 23 19:44:35 1997
++++ /home/andy/tmp/wrk/Makefile Wed May 5 18:17:13 1999
+@@ -9,14 +9,14 @@
+ # AIX, Alpha, FreeBSD, HPUX, Linux, Linux-xcurses,
+ # Solaris, Sun, and Irix (SGI)
+ #
+-OS = Dev
++OS = FreeBSD
+
+ #
+ # These reflect where CDK will be installed from and to
+ # on your system.
+ #
+-SRCDIR = /home/glovem/cdk-$(VERSION)
+-INST_ROOTDIR = /export/local
++SRCDIR = $(WRKSRC)
++INST_ROOTDIR = $(PREFIX)
+
+ #
+ # Set some informational variables.
+@@ -80,7 +80,7 @@
+ # NOSTRERR Your library does not have Sun
+ # the library function strerr.
+ #
+-EXTRA_CFLAGS = -g -Wall
++CFLAGS+= -I${SRCDIR} -DCOLOR -DNCURSES
+
+ ###############################################################
+ # Do Not Change Anything Below This Line
+@@ -135,7 +135,7 @@
+ include $(MAKEDIR)/Makefile.$(OS)
+
+ #CC = purify cc
+-CC = gcc
++CC = cc
+
+ #
+ # Standard library directive.
+@@ -148,8 +148,9 @@
+ # Shared library directive.
+ #
+ cdkslib $(CDKSLIB):
+- $(CC) $(CFLAGS) $(SFLAGS) -c $(CDKSRC) $(LIBPATH) $(LINKLIB)
+- $(CC) $(SLINK) -o $(CDKSLIB).0 $(CDKOBJS) $(LIBPATH) $(LINKLIB)
++# $(CC) $(CFLAGS) $(SFLAGS) -c $(CDKSRC) $(LIBPATH) $(LINKLIB)
++# $(CC) $(SLINK) -o $(CDKSLIB).0 $(CDKOBJS) $(LIBPATH) $(LINKLIB)
++
+
+ #
+ # This builds the examples in the examples directory.
+@@ -377,4 +378,8 @@
+
+ ############################################################
+ .c.o:
+- $(CC) $(CFLAGS) -c $<
++ $(CC) $(CFLAGS) -fPIC -c $<
++
++libcdk.so.1: $(CDKOBJS)
++ $(CC) $(CFLAGS) -shared -Wl,-soname,libcdk.so.1 -o libcdk.so.1 $(CDKOBJS)
++
diff --git a/devel/cdk/files/patch-ab b/devel/cdk/files/patch-ab
new file mode 100644
index 000000000000..c03cd7a578e1
--- /dev/null
+++ b/devel/cdk/files/patch-ab
@@ -0,0 +1,11 @@
+--- cdk.h Fri May 23 19:44:28 1997
++++ /home/andy/tmp/wrk/cdk.h Wed May 5 18:22:39 1999
+@@ -34,7 +34,7 @@
+ * SUCH DAMAGE.
+ */
+
+-#include <curses.h>
++#include <ncurses.h>
+
+ #include <stdlib.h>
+ #include <string.h>
diff --git a/devel/cdk/pkg-comment b/devel/cdk/pkg-comment
new file mode 100644
index 000000000000..e8b0ccf649cf
--- /dev/null
+++ b/devel/cdk/pkg-comment
@@ -0,0 +1 @@
+Curses Development Kit for speedy development of full screen programs
diff --git a/devel/cdk/pkg-descr b/devel/cdk/pkg-descr
new file mode 100644
index 000000000000..8fff3350a94e
--- /dev/null
+++ b/devel/cdk/pkg-descr
@@ -0,0 +1,7 @@
+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.
+
+Each widget has the ability to display color, or other character attributes.
+Cdk comes with a attribute/color format command set which allows a programmer
+to add colors and characters attributes simply.
diff --git a/devel/cdk/pkg-plist b/devel/cdk/pkg-plist
new file mode 100644
index 000000000000..9f9bfe3ed34a
--- /dev/null
+++ b/devel/cdk/pkg-plist
@@ -0,0 +1,120 @@
+include/cdk.h
+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/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/viewer.h
+lib/libcdk.so
+lib/libcdk.so.1
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
+share/doc/cdk/BUGS
+share/doc/cdk/COPYING
+share/doc/cdk/EXPANDING
+share/doc/cdk/NOTES
+share/doc/cdk/README
+share/doc/cdk/TODO
+share/examples/cdk/Makefile
+share/examples/cdk/alphalist_ex.c
+share/examples/cdk/bind_ex.c
+share/examples/cdk/buttonbox_ex.c
+share/examples/cdk/calendar_ex.c
+share/examples/cdk/cdkscreen_ex.c
+share/examples/cdk/dialog_ex.c
+share/examples/cdk/entry_ex.c
+share/examples/cdk/fselect_ex.c
+share/examples/cdk/graph_ex.c
+share/examples/cdk/hello_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/position_ex.c
+share/examples/cdk/preprocess_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/subwindow_ex.c
+share/examples/cdk/swindow_ex.c
+share/examples/cdk/template_ex.c
+share/examples/cdk/viewer_ex.c
+share/examples/cdk/cli/Makefile
+share/examples/cdk/cli/cdkalphalist.c
+share/examples/cdk/cli/cdkcalendar.c
+share/examples/cdk/cli/cdkdialog.c
+share/examples/cdk/cli/cdkentry.c
+share/examples/cdk/cli/cdkfselect.c
+share/examples/cdk/cli/cdkitemlist.c
+share/examples/cdk/cli/cdklabel.c
+share/examples/cdk/cli/cdkmatrix.c
+share/examples/cdk/cli/cdkmentry.c
+share/examples/cdk/cli/cdkradio.c
+share/examples/cdk/cli/cdkscale.c
+share/examples/cdk/cli/cdkscroll.c
+share/examples/cdk/cli/cdkselection.c
+share/examples/cdk/cli/cdkslider.c
+share/examples/cdk/cli/cdktemplate.c
+share/examples/cdk/cli/cdkviewer.c
+share/examples/cdk/cli/samples/alphalist.sh
+share/examples/cdk/cli/samples/calendar.sh
+share/examples/cdk/cli/samples/dialog.sh
+share/examples/cdk/cli/samples/entry.sh
+share/examples/cdk/cli/samples/fselect.sh
+share/examples/cdk/cli/samples/itemlist.sh
+share/examples/cdk/cli/samples/label.sh
+share/examples/cdk/cli/samples/matrix.sh
+share/examples/cdk/cli/samples/mentry.sh
+share/examples/cdk/cli/samples/radio.sh
+share/examples/cdk/cli/samples/scale.sh
+share/examples/cdk/cli/samples/scroll.sh
+share/examples/cdk/cli/samples/selection.sh
+share/examples/cdk/cli/samples/slider.sh
+share/examples/cdk/cli/samples/template.sh
+share/examples/cdk/cli/samples/viewer.sh
+share/examples/cdk/cli/utils/adduser
+share/examples/cdk/cli/utils/netconfig
+share/examples/cdk/demo/Makefile
+share/examples/cdk/demo/appointment.c
+share/examples/cdk/demo/clock.c
+share/examples/cdk/demo/command.c
+share/examples/cdk/demo/fileview.c
+share/examples/cdk/demo/rolodex.c
+share/examples/cdk/demo/rolodex.h
+share/examples/cdk/demo/serial.c
+share/examples/cdk/demo/stopSign.c
+share/examples/cdk/demo/syb.c
+share/examples/cdk/demo/vinstall.c
+@dirrm include/cdk
+@dirrm share/doc/cdk
+@dirrm share/examples/cdk/cli/samples
+@dirrm share/examples/cdk/cli/utils
+@dirrm share/examples/cdk/cli
+@dirrm share/examples/cdk/demo
+@dirrm share/examples/cdk