diff --git a/mbone/wbd/Makefile b/mbone/wbd/Makefile new file mode 100644 index 00000000000..f474f39556c --- /dev/null +++ b/mbone/wbd/Makefile @@ -0,0 +1,26 @@ +# OpenBSD makefile for: vic +# Version required: 2.6 +# Date created: July 14 1999 +# Whom: Angelos D. Keromytis +# +# $OpenBSD: Makefile,v 1.1.1.1 1999/07/15 14:35:39 angelos Exp $ +# + +DISTNAME= wbd +CATEGORIES= mbone +MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/wbd/1.0ucl3/ +DISTFILES= wbd-1.0ucl3.tar.gz +ONLY_FOR_ARCHS= i386 + +MAINTAINER= angelos@openbsd.org + +# XXX ghostscript, ghostscript3, ghostscript4 or ghostscript5 will all do. +RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript5 + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/wbd ${PREFIX}/bin + +post-patch: + /bin/mv ${WRKSRC}/makefile ${WRKSRC}/Makefile + +.include diff --git a/mbone/wbd/files/md5 b/mbone/wbd/files/md5 new file mode 100644 index 00000000000..f670a35f430 --- /dev/null +++ b/mbone/wbd/files/md5 @@ -0,0 +1,3 @@ +MD5 (wbd-1.0ucl3.tar.gz) = 019d97da5d36013386dcd008a43d886f +RMD160 (wbd-1.0ucl3.tar.gz) = af74ad0d82bad39b6b066684c84243defced1175 +SHA1 (wbd-1.0ucl3.tar.gz) = 4c31e0e40c237b3732ab389b4c1335ef8133e0c7 diff --git a/mbone/wbd/patches/patch-aa b/mbone/wbd/patches/patch-aa new file mode 100644 index 00000000000..04e8b02c808 --- /dev/null +++ b/mbone/wbd/patches/patch-aa @@ -0,0 +1,75 @@ +*** makefile.orig Thu Jan 29 06:46:41 1998 +--- makefile Thu Jul 15 10:29:16 1999 +*************** +*** 3,14 **** + + YFLAGS = -dv + CFLAGS = -g $(LIBFLAGS) $(IFLAGS) -DSTAND_ALONE +! LIBDIR = /cs/research/mice/starship/common/solaris/lib +! INCDIR = /cs/research/mice/starship/common/solaris/include + + # The files needed from the tcl/tk library directories... +! LIBRARY_TK = $(LIBDIR)/tk4.2 +! LIBRARY_TCL = $(LIBDIR)/tcl7.6 + + + # Uncomment these lines for SGI (IRIX 5.3). +--- 3,14 ---- + + YFLAGS = -dv + CFLAGS = -g $(LIBFLAGS) $(IFLAGS) -DSTAND_ALONE +! LIBDIR = /usr/local/lib +! INCDIR = /usr/local/include/tcl8.0 + + # The files needed from the tcl/tk library directories... +! LIBRARY_TK = $(LIBDIR)/tk8.0 +! LIBRARY_TCL = $(LIBDIR)/tcl8.0 + + + # Uncomment these lines for SGI (IRIX 5.3). +*************** +*** 32,47 **** + #LIBS = -ll -ltk4.2 -ltcl7.6 -lm -lX11 + + # Uncomment these lines for Sun (SunOS 5.5.1). +! CC = gcc -DFNDELAY=O_NDELAY -DBYTE_ORDER=4321 -ansi +! LIBFLAGS = -L$(LIBDIR) -L/usr/openwin/lib +! IFLAGS = -I$(INCDIR) -I/usr/openwin/include +! LIBS = -ll -ltk4.2 -ltcl7.6 -lm -lX11 -lsocket -lnsl -ldl + + # Uncomment these lines for NetBSD 1.2. +! #CC = cc -ansi +! #LIBFLAGS = -L$(LIBDIR) +! #IFLAGS = -I$(INCDIR) +! #LIBS = -ll -ltk4.2 -ltcl7.6 -lm -lX11 + + # Tcl initialisation files to be compiled into a C string. + TCL_FILES = \ +--- 32,47 ---- + #LIBS = -ll -ltk4.2 -ltcl7.6 -lm -lX11 + + # Uncomment these lines for Sun (SunOS 5.5.1). +! #CC = gcc -DFNDELAY=O_NDELAY -DBYTE_ORDER=4321 -ansi +! #LIBFLAGS = -L$(LIBDIR) -L/usr/openwin/lib +! #IFLAGS = -I$(INCDIR) -I/usr/openwin/include +! #LIBS = -ll -ltk4.2 -ltcl7.6 -lm -lX11 -lsocket -lnsl -ldl + + # Uncomment these lines for NetBSD 1.2. +! CC = cc -ansi +! LIBFLAGS = -L$(LIBDIR) -L/usr/X11R6/lib +! IFLAGS = -I$(INCDIR) -I/usr/local/include/tk8.0 -I/usr/X11R6/include +! LIBS = -ll -ltk80 -ltcl80 -lm -lX11 + + # Tcl initialisation files to be compiled into a C string. + TCL_FILES = \ +*************** +*** 73,78 **** +--- 73,80 ---- + INC = wb.h db.h + SRC = main.c comms.c db.c wbd.tcl + OBJ = main.o comms.o db.o tcllibs.o ++ ++ all: wbd + + wbd : $(OBJ) $(INC) + $(CC) $(CFLAGS) $(OBJ) $(LIBS) -o wbd diff --git a/mbone/wbd/pkg/COMMENT b/mbone/wbd/pkg/COMMENT new file mode 100644 index 00000000000..60bc1f3056e --- /dev/null +++ b/mbone/wbd/pkg/COMMENT @@ -0,0 +1 @@ +shared drawing (whiteboard) tool using multicast diff --git a/mbone/wbd/pkg/DESCR b/mbone/wbd/pkg/DESCR new file mode 100644 index 00000000000..0c1be300ae6 --- /dev/null +++ b/mbone/wbd/pkg/DESCR @@ -0,0 +1,12 @@ + WBD is a shared whiteboard + compatible with the LBL + whiteboard, WB. Binaries are + available for MS Windows + 95/98/NT4, as well as Solaris2.5 + and Irix6.2. It was originally + written by Julian Highfield at + Loughborough University and has + since been modified by Kristian + Hasler at UCL. This version has + also been designed to work with + the ReLaTe integrated interface. diff --git a/mbone/wbd/pkg/PLIST b/mbone/wbd/pkg/PLIST new file mode 100644 index 00000000000..69f16d4f50e --- /dev/null +++ b/mbone/wbd/pkg/PLIST @@ -0,0 +1 @@ +bin/wbd