Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 May 1999 13:13:21 +0400 (MSD)
From:      Andrey Zakhvatov <andy@icc.surw.chel.su>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/11534: New port: cdk-4.9.1
Message-ID:  <199905060913.NAA50322@icc.surw.chel.su>

next in thread | raw e-mail | index | archive | help

>Number:         11534
>Category:       ports
>Synopsis:       New port: cdk-4.9.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May  6 02:20:02 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Andrey Zakhvatov
>Release:        FreeBSD 3.1-RELEASE i386
>Organization:
South Ural Railway ICC
>Environment:

>Description:

   This is a port of cdk-4.9.1, Curses Development Kit for speedy
development full screen programs

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.


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	cdk-4.9.1
#	cdk-4.9.1/Makefile
#	cdk-4.9.1/files
#	cdk-4.9.1/files/md5
#	cdk-4.9.1/patches
#	cdk-4.9.1/patches/patch-aa
#	cdk-4.9.1/patches/patch-ab
#	cdk-4.9.1/patches/patch-ad
#	cdk-4.9.1/patches/patch-ac
#	cdk-4.9.1/patches/patch-ae
#	cdk-4.9.1/patches/patch-af
#	cdk-4.9.1/pkg
#	cdk-4.9.1/pkg/PLIST
#	cdk-4.9.1/pkg/COMMENT
#	cdk-4.9.1/pkg/DESCR
#
echo c - cdk-4.9.1
mkdir -p cdk-4.9.1 > /dev/null 2>&1
echo x - cdk-4.9.1/Makefile
sed 's/^X//' >cdk-4.9.1/Makefile << 'END-of-cdk-4.9.1/Makefile'
X# New ports collection makefile for:	cdk
X# Version required:			4.9.1
X# Date created:				6 May 1999
X# Whom:					Andrey Zakhvatov
X#
X# $Id$
X#
X
XDISTNAME=		cdk-4.9.1
XCATEGORIES=		devel
XMASTER_SITES=		${MASTER_SITE_SUNSITE}
XMASTER_SITE_SUBDIR=	libs/ui
X
XMAINTAINER=		andy@icc.surw.chel.su
X
XALL_TARGET=		SRCDIR=${WRKSRC} libcdk.so.1
X
XMAN3=	alphalist.3 binding.3 buttonbox.3 calendar.3 cdk.3 dialog.3 \
X	display.3 entry.3 fselect.3 graph.3 histogram.3 itemlist.3 label.3 \
X	marquee.3 matrix.3 mentry.3 menu.3 misc.3 radio.3 scale.3 screen.3 \
X	scroll.3 selection.3 slider.3 swindow.3 template.3 viewer.3
X
Xdo-install:
X	@ ${INSTALL_DATA} ${WRKSRC}/libcdk.so.1 ${PREFIX}/lib
X	@ ${LN} -fs ${PREFIX}/lib/libcdk.so.1 ${PREFIX}/lib/libcdk.so
X	@ ${INSTALL_DATA} ${WRKSRC}/cdk.h ${PREFIX}/include
X	@ ${MKDIR} ${PREFIX}/include/cdk
X	@ ${INSTALL_DATA} ${WRKSRC}/cdk/* ${PREFIX}/include/cdk
X.for file in ${MAN3}
X	@ ${INSTALL_MAN} ${WRKSRC}/man/${file} ${PREFIX}/man/man3
X.endfor
X	@ ${MKDIR} ${PREFIX}/share/examples/cdk
X	@ ${INSTALL_DATA} ${WRKSRC}/exam/*.c ${PREFIX}/share/examples/cdk
X	@ ${INSTALL_DATA} ${WRKSRC}/exam/examples.make ${PREFIX}/share/examples/cdk/Makefile
X	@ ${MKDIR} ${PREFIX}/share/examples/cdk/demo
X	@ ${INSTALL_DATA} ${WRKSRC}/demo/rolodex.h ${PREFIX}/share/examples/cdk/demo
X	@ ${INSTALL_DATA} ${WRKSRC}/demo/*.c ${PREFIX}/share/examples/cdk/demo
X	@ ${INSTALL_DATA} ${WRKSRC}/demo/demos.make ${PREFIX}/share/examples/cdk/demo/Makefile
X	@ ${MKDIR} ${PREFIX}/share/examples/cdk/cli
X	@ ${INSTALL_DATA} ${WRKSRC}/cli/*.c ${PREFIX}/share/examples/cdk/cli
X	@ ${INSTALL_DATA} ${WRKSRC}/cli/cli.make ${PREFIX}/share/examples/cdk/cli/Makefile
X	@ ${MKDIR} ${PREFIX}/share/examples/cdk/cli/samples
X	@ ${INSTALL_DATA} ${WRKSRC}/cli/samples/* ${PREFIX}/share/examples/cdk/cli/samples
X	@ ${MKDIR} ${PREFIX}/share/examples/cdk/cli/utils
X	@ ${INSTALL_DATA} ${WRKSRC}/cli/utils/* ${PREFIX}/share/examples/cdk/cli/utils
X	@ ${LDCONFIG} -m ${PREFIX}/lib
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@ ${MKDIR} ${PREFIX}/share/doc/cdk
X.for file in BUGS COPYING EXPANDING NOTES README TODO
X	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/cdk
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-cdk-4.9.1/Makefile
echo c - cdk-4.9.1/files
mkdir -p cdk-4.9.1/files > /dev/null 2>&1
echo x - cdk-4.9.1/files/md5
sed 's/^X//' >cdk-4.9.1/files/md5 << 'END-of-cdk-4.9.1/files/md5'
XMD5 (cdk-4.9.1.tar.gz) = dfacdacc2834154659ddedbe66502bb2
END-of-cdk-4.9.1/files/md5
echo c - cdk-4.9.1/patches
mkdir -p cdk-4.9.1/patches > /dev/null 2>&1
echo x - cdk-4.9.1/patches/patch-aa
sed 's/^X//' >cdk-4.9.1/patches/patch-aa << 'END-of-cdk-4.9.1/patches/patch-aa'
X--- Makefile	Fri May 23 19:44:35 1997
X+++ /home/andy/tmp/wrk/Makefile	Wed May  5 18:17:13 1999
X@@ -9,14 +9,14 @@
X #	AIX, Alpha, FreeBSD, HPUX, Linux, Linux-xcurses, 
X #	Solaris, Sun, and Irix (SGI)
X #
X-OS		= Dev
X+OS		= FreeBSD
X 
X #
X # These reflect where CDK will be installed from and to
X # on your system.
X #
X-SRCDIR		= /home/glovem/cdk-$(VERSION)
X-INST_ROOTDIR	= /export/local
X+SRCDIR		= $(WRKSRC)
X+INST_ROOTDIR	= $(PREFIX)
X 
X #
X # Set some informational variables.
X@@ -80,7 +80,7 @@
X # NOSTRERR	Your library does not have		Sun
X #		the library function strerr.
X # 
X-EXTRA_CFLAGS = -g -Wall
X+CFLAGS+= -I${SRCDIR} -DCOLOR -DNCURSES
X 
X ###############################################################
X #         Do Not Change Anything Below This Line
X@@ -135,7 +135,7 @@
X include $(MAKEDIR)/Makefile.$(OS)
X 
X #CC = purify cc
X-CC = gcc
X+CC = cc
X 
X #
X # Standard library directive.
X@@ -148,8 +148,9 @@
X # Shared library directive.
X #
X cdkslib $(CDKSLIB):
X-	$(CC) $(CFLAGS) $(SFLAGS) -c $(CDKSRC) $(LIBPATH) $(LINKLIB)
X-	$(CC) $(SLINK) -o $(CDKSLIB).0 $(CDKOBJS) $(LIBPATH) $(LINKLIB)
X+#	$(CC) $(CFLAGS) $(SFLAGS) -c $(CDKSRC) $(LIBPATH) $(LINKLIB)
X+#	$(CC) $(SLINK) -o $(CDKSLIB).0 $(CDKOBJS) $(LIBPATH) $(LINKLIB)
X+	
X 
X #
X # This builds the examples in the examples directory.
X@@ -377,4 +378,8 @@
X 
X ############################################################
X .c.o:
X-	$(CC) $(CFLAGS) -c $<
X+	$(CC) $(CFLAGS) -fPIC -c $<
X+
X+libcdk.so.1: $(CDKOBJS)
X+	$(CC) $(CFLAGS) -shared -Wl,-soname,libcdk.so.1 -o libcdk.so.1 $(CDKOBJS)
X+
END-of-cdk-4.9.1/patches/patch-aa
echo x - cdk-4.9.1/patches/patch-ab
sed 's/^X//' >cdk-4.9.1/patches/patch-ab << 'END-of-cdk-4.9.1/patches/patch-ab'
X--- cdk.h	Fri May 23 19:44:28 1997
X+++ /home/andy/tmp/wrk/cdk.h	Wed May  5 18:22:39 1999
X@@ -34,7 +34,7 @@
X  * SUCH DAMAGE.
X  */
X 
X-#include <curses.h>
X+#include <ncurses.h>
X 
X #include <stdlib.h>
X #include <string.h>
END-of-cdk-4.9.1/patches/patch-ab
echo x - cdk-4.9.1/patches/patch-ad
sed 's/^X//' >cdk-4.9.1/patches/patch-ad << 'END-of-cdk-4.9.1/patches/patch-ad'
X--- exam/examples.make	Fri May 23 19:44:35 1997
X+++ /home/andy/tmp/wrk/exam/examples.make	Thu May  6 09:11:04 1999
X@@ -5,18 +5,18 @@
X #
X # Change these as needed.
X #
X-ROOTDIR	= /export/local
X-INCDIR	= -I/usr/include/ncurses -I$(ROOTDIR)/include
X+ROOTDIR	= /usr/local
X+INCDIR	= -I$(ROOTDIR)/include
X LIBDIR	= -L$(ROOTDIR)/lib
X-LIBS	= -lcdk -lcurses -lm
X+LIBS	= -lcdk -lncurses -lm
X BINS	= alphalist_ex bind_ex calendar_ex cdkscreen_ex dialog_ex\
X 		entry_ex fselect_ex graph_ex hello_ex histogram_ex\
X 		itemlist_ex label_ex marquee_ex matrix_ex mentry_ex\
X 		menu_ex position_ex preprocess_ex radio_ex scale_ex\
X 		scroll_ex selection_ex slider_ex subwindow_ex\
X-		swindow_ex template_ex viewer_ex vinstall
X-CFLAGS	= -g -Wall
X-CC	= gcc
X+		swindow_ex template_ex viewer_ex
X+CFLAGS += -Wall
X+CC	= cc
X default: all
X all: $(BINS)
X 
X@@ -103,9 +103,6 @@
X 	$(CC) $(CFLAGS) $(INCDIR) $? -o $@ $(LIBDIR) $(LIBS)
X 
X viewer_ex: viewer_ex.c
X-	$(CC) $(CFLAGS) $(INCDIR) $? -o $@ $(LIBDIR) $(LIBS)
X-
X-vinstall: vinstall.c
X 	$(CC) $(CFLAGS) $(INCDIR) $? -o $@ $(LIBDIR) $(LIBS)
X 
X clean:
END-of-cdk-4.9.1/patches/patch-ad
echo x - cdk-4.9.1/patches/patch-ac
sed 's/^X//' >cdk-4.9.1/patches/patch-ac << 'END-of-cdk-4.9.1/patches/patch-ac'
X--- makefiles/Makefile.FreeBSD	Fri May 23 19:44:32 1997
X+++ /home/andy/tmp/wrk/makefiles/Makefile.FreeBSD	Wed May  5 17:57:29 1999
X@@ -15,4 +15,4 @@
X #
X # Include the global FreeBSD makefile def's
X #
X-.include <bsd.lib.mk>
X+#.include <bsd.lib.mk>
END-of-cdk-4.9.1/patches/patch-ac
echo x - cdk-4.9.1/patches/patch-ae
sed 's/^X//' >cdk-4.9.1/patches/patch-ae << 'END-of-cdk-4.9.1/patches/patch-ae'
X--- demo/demos.make	Fri May 23 19:44:35 1997
X+++ /home/andy/tmp/wrk/demo/demos.make	Thu May  6 09:47:44 1999
X@@ -5,14 +5,14 @@
X #
X # Change these as needed.
X #
X-ROOTDIR	= /export/local
X-INCDIR	= -I/usr/include/ncurses -I$(ROOTDIR)/include
X+ROOTDIR	= /usr/local
X+INCDIR	= -I$(ROOTDIR)/include
X LIBDIR	= -L$(ROOTDIR)/lib
X-LIBS	= -lcdk -lcurses -lm
X+LIBS	= -lcdk -lncurses -lm
X BINS	= fileview rolodex command clock stopSign \
X-		appointment vinstall serial keycheck
X-CFLAGS	= -g -Wall -DNCURSES
X-CC	= gcc
X+		appointment vinstall serial
X+CFLAGS += -Wall
X+CC	= cc
X 
X #
X # If you have Sybase installed on your system, try making
X@@ -87,4 +87,4 @@
X 	$(CC) $(CFLAGS) -o $@ $? $(INCDIR) $(SYBINCDIR) $(LIBDIR) $(SYBLIBDIR) $(LIBS) $(SYBLIBS)
X 
X clean::
X-	$(RM) core *.o $(BINS) syb
X+	$(RM) core *.o $(BINS)
END-of-cdk-4.9.1/patches/patch-ae
echo x - cdk-4.9.1/patches/patch-af
sed 's/^X//' >cdk-4.9.1/patches/patch-af << 'END-of-cdk-4.9.1/patches/patch-af'
X--- cli/cli.make	Fri May 23 19:44:35 1997
X+++ /home/andy/tmp/wrk/cli/cli.make	Thu May  6 11:19:07 1999
X@@ -9,15 +9,13 @@
X # Other than that, this should compile cleanly and nicely.
X #
X 
X-ROOTDIR	= /export/local
X+ROOTDIR	= /usr/local
X INSTDIR	= $(ROOTDIR)/bin
X-INCDIR	= -I/usr/include/ncurses -I$(ROOTDIR)/include
X+INCDIR	= -I$(ROOTDIR)/include
X LIBDIR	= -L$(ROOTDIR)/lib -L/usr/lib
X-#LIBS	= -lcdk -lncurses -lm
X-LIBS	= -lcdk -lcurses -lm
X-CFLAGS	= -g -Wall -DCAN_SET_WINDOW_COLOR
X-#CFLAGS	= -g -Wall
X-CC	= gcc
X+LIBS	= -lcdk -lncurses -lm
X+CFLAGS	+= -Wall -DCAN_SET_WINDOW_COLOR
X+CC	= cc
X 
X #
X # No need to edit anything below this line.
END-of-cdk-4.9.1/patches/patch-af
echo c - cdk-4.9.1/pkg
mkdir -p cdk-4.9.1/pkg > /dev/null 2>&1
echo x - cdk-4.9.1/pkg/PLIST
sed 's/^X//' >cdk-4.9.1/pkg/PLIST << 'END-of-cdk-4.9.1/pkg/PLIST'
Xinclude/cdk.h
Xinclude/cdk/alphalist.h
Xinclude/cdk/binding.h
Xinclude/cdk/buttonbox.h
Xinclude/cdk/calendar.h
Xinclude/cdk/cdk_util.h
Xinclude/cdk/cdkscreen.h
Xinclude/cdk/curdefs.h
Xinclude/cdk/dialog.h
Xinclude/cdk/draw.h
Xinclude/cdk/entry.h
Xinclude/cdk/fselect.h
Xinclude/cdk/graph.h
Xinclude/cdk/histogram.h
Xinclude/cdk/itemlist.h
Xinclude/cdk/label.h
Xinclude/cdk/marquee.h
Xinclude/cdk/matrix.h
Xinclude/cdk/mentry.h
Xinclude/cdk/menu.h
Xinclude/cdk/radio.h
Xinclude/cdk/scale.h
Xinclude/cdk/scroll.h
Xinclude/cdk/selection.h
Xinclude/cdk/slider.h
Xinclude/cdk/swindow.h
Xinclude/cdk/template.h
Xinclude/cdk/viewer.h
Xlib/libcdk.so
Xlib/libcdk.so.1
X@exec /sbin/ldconfig -m %B
X@unexec /sbin/ldconfig -R
Xshare/doc/cdk/BUGS
Xshare/doc/cdk/COPYING
Xshare/doc/cdk/EXPANDING
Xshare/doc/cdk/NOTES
Xshare/doc/cdk/README
Xshare/doc/cdk/TODO
Xshare/examples/cdk/Makefile
Xshare/examples/cdk/alphalist_ex.c
Xshare/examples/cdk/bind_ex.c
Xshare/examples/cdk/buttonbox_ex.c
Xshare/examples/cdk/calendar_ex.c
Xshare/examples/cdk/cdkscreen_ex.c
Xshare/examples/cdk/dialog_ex.c
Xshare/examples/cdk/entry_ex.c
Xshare/examples/cdk/fselect_ex.c
Xshare/examples/cdk/graph_ex.c
Xshare/examples/cdk/hello_ex.c
Xshare/examples/cdk/histogram_ex.c
Xshare/examples/cdk/itemlist_ex.c
Xshare/examples/cdk/label_ex.c
Xshare/examples/cdk/marquee_ex.c
Xshare/examples/cdk/matrix_ex.c
Xshare/examples/cdk/mentry_ex.c
Xshare/examples/cdk/menu_ex.c
Xshare/examples/cdk/position_ex.c
Xshare/examples/cdk/preprocess_ex.c
Xshare/examples/cdk/radio_ex.c
Xshare/examples/cdk/scale_ex.c
Xshare/examples/cdk/scroll_ex.c
Xshare/examples/cdk/selection_ex.c
Xshare/examples/cdk/slider_ex.c
Xshare/examples/cdk/subwindow_ex.c
Xshare/examples/cdk/swindow_ex.c
Xshare/examples/cdk/template_ex.c
Xshare/examples/cdk/viewer_ex.c
Xshare/examples/cdk/cli/Makefile
Xshare/examples/cdk/cli/cdkalphalist.c
Xshare/examples/cdk/cli/cdkcalendar.c
Xshare/examples/cdk/cli/cdkdialog.c
Xshare/examples/cdk/cli/cdkentry.c
Xshare/examples/cdk/cli/cdkfselect.c
Xshare/examples/cdk/cli/cdkitemlist.c
Xshare/examples/cdk/cli/cdklabel.c
Xshare/examples/cdk/cli/cdkmatrix.c
Xshare/examples/cdk/cli/cdkmentry.c
Xshare/examples/cdk/cli/cdkradio.c
Xshare/examples/cdk/cli/cdkscale.c
Xshare/examples/cdk/cli/cdkscroll.c
Xshare/examples/cdk/cli/cdkselection.c
Xshare/examples/cdk/cli/cdkslider.c
Xshare/examples/cdk/cli/cdktemplate.c
Xshare/examples/cdk/cli/cdkviewer.c
Xshare/examples/cdk/cli/samples/alphalist.sh
Xshare/examples/cdk/cli/samples/calendar.sh
Xshare/examples/cdk/cli/samples/dialog.sh
Xshare/examples/cdk/cli/samples/entry.sh
Xshare/examples/cdk/cli/samples/fselect.sh
Xshare/examples/cdk/cli/samples/itemlist.sh
Xshare/examples/cdk/cli/samples/label.sh
Xshare/examples/cdk/cli/samples/matrix.sh
Xshare/examples/cdk/cli/samples/mentry.sh
Xshare/examples/cdk/cli/samples/radio.sh
Xshare/examples/cdk/cli/samples/scale.sh
Xshare/examples/cdk/cli/samples/scroll.sh
Xshare/examples/cdk/cli/samples/selection.sh
Xshare/examples/cdk/cli/samples/slider.sh
Xshare/examples/cdk/cli/samples/template.sh
Xshare/examples/cdk/cli/samples/viewer.sh
Xshare/examples/cdk/cli/utils/adduser
Xshare/examples/cdk/cli/utils/netconfig
Xshare/examples/cdk/demo/Makefile
Xshare/examples/cdk/demo/appointment.c
Xshare/examples/cdk/demo/clock.c
Xshare/examples/cdk/demo/command.c
Xshare/examples/cdk/demo/fileview.c
Xshare/examples/cdk/demo/rolodex.c
Xshare/examples/cdk/demo/rolodex.h
Xshare/examples/cdk/demo/serial.c
Xshare/examples/cdk/demo/stopSign.c
Xshare/examples/cdk/demo/syb.c
Xshare/examples/cdk/demo/vinstall.c
X@dirrm include/cdk
X@dirrm share/doc/cdk
X@dirrm share/examples/cdk/cli/samples
X@dirrm share/examples/cdk/cli/utils
X@dirrm share/examples/cdk/cli
X@dirrm share/examples/cdk/demo
X@dirrm share/examples/cdk
END-of-cdk-4.9.1/pkg/PLIST
echo x - cdk-4.9.1/pkg/COMMENT
sed 's/^X//' >cdk-4.9.1/pkg/COMMENT << 'END-of-cdk-4.9.1/pkg/COMMENT'
XCurses Development Kit for speedy development full screen programs
END-of-cdk-4.9.1/pkg/COMMENT
echo x - cdk-4.9.1/pkg/DESCR
sed 's/^X//' >cdk-4.9.1/pkg/DESCR << 'END-of-cdk-4.9.1/pkg/DESCR'
XCdk stands for 'Curses Development Kit' and it currently contains 21 ready
Xto use widgets which facilitate the speedy development of full screen
Xcurses programs.
X
XEach widget has the ability to display color, or other character attributes.
XCdk comes with a attribute/color format command set which allows a programmer
Xto add colors and characters attributes simply.
END-of-cdk-4.9.1/pkg/DESCR
exit


>How-To-Repeat:

>Fix:

   Please, check and commit this port.


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905060913.NAA50322>